Gregg C Levine | 3 Nov 2008 00:57
Picon

OWFS and NetBSD

Hello!
Just for fun has anyone managed to get the basic OWFS tools running on any
flavor of NetBSD?

It happens that FUSE has been brought over to that descendant of BSD.

--
Gregg C Levine hansolofalcon <at> worldnet.att.net
"The Force will be with you always." Obi-Wan Kenobi
  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Donald J. Organ IV | 4 Nov 2008 04:03
Gravatar

Virtual Device

I posted this on the forums but I will post it here as well.

Is there a way to create a virtual device.  I am starting work on a new project but dont have any of the 1-wire devices yet but would like to start work on this project, is there a way to do this??

thanks,

Donald Organ
http://www.open-tank.org
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Andreas Seidler | 4 Nov 2008 10:50

Re: Virtual Device

Donald J. Organ IV schrieb:
> I posted this on the forums but I will post it here as well.
> 
> Is there a way to create a virtual device.  I am starting work on a new
> project but dont have any of the 1-wire devices yet but would like to
> start work on this project, is there a way to do this??

read http://owfs.org/index.php?page=fake-adapter

for example:
# owserver --fake=01,10,22,29 -p 9999

# owdir -s 9999
/01.67C6697351FF
/10.4AEC29CDBAAB
/22.F2FBE3467CC2
/29.54F81BE8E78D
/bus.0
/settings
/system
/statistics
/structure
/simultaneous
/alarm

# owread -s 9999 10.4AEC29CDBAAB/temperature
     15.6679

regards
Andreas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Andreas Seider | 4 Nov 2008 10:53

Re: Virtual Device

Donald J. Organ IV schrieb:
> I posted this on the forums but I will post it here as well.
> 
> Is there a way to create a virtual device.  I am starting work on a new
> project but dont have any of the 1-wire devices yet but would like to
> start work on this project, is there a way to do this??

please read
http://owfs.org/index.php?page=fake-adapter

for example
# owserver --fake=01,10,22,29 -p 9999

# owdir -s 9999
/01.67C6697351FF
/10.4AEC29CDBAAB
/22.F2FBE3467CC2
/29.54F81BE8E78D
/bus.0
/settings
/system
/statistics
/structure
/simultaneous
/alarm

# owread -s 9999 10.4AEC29CDBAAB/temperature
     15.6679

regards
Andreas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Tim Sailer | 4 Nov 2008 15:11

Re: Virtual Device


On Tue, November 4, 2008 04:53, Andreas Seider wrote:
> Donald J. Organ IV schrieb:
>> I posted this on the forums but I will post it here as well.
>>
>> Is there a way to create a virtual device.  I am starting work on a new
>> project but dont have any of the 1-wire devices yet but would like to
>> start work on this project, is there a way to do this??

Donald,
  Since you are local to me, I can lend you an adapter and a few temp
sensors, and my spare weather station, if this is something you could
use (runnin blind here  as I don't have a clue what your project is).

Tim

--
Tim Sailer
Coastal Internet, Inc.
www.buoy.com
631-399-2910

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Donald J. Organ IV | 4 Nov 2008 15:20
Gravatar

Re: Virtual Device

A friend of mine and I are building a reef monitoring system.  I can use the fake device method for now.  Thank
you for the offer though.

What we are really looking for is a 1-wire reseller/distributor that is willing to donate to an opensource project.

http://www.sourceforge.net/projects/opentank

----- Original Message -----
From: "Tim Sailer" <tps <at> mail.buoy.com>
To: owfs-developers <at> lists.sourceforge.net
Sent: Tuesday, November 4, 2008 9:11:57 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Owfs-developers] Virtual Device

On Tue, November 4, 2008 04:53, Andreas Seider wrote:
> Donald J. Organ IV schrieb:
>> I posted this on the forums but I will post it here as well.
>>
>> Is there a way to create a virtual device.  I am starting work on a new
>> project but dont have any of the 1-wire devices yet but would like to
>> start work on this project, is there a way to do this??

Donald,
  Since you are local to me, I can lend you an adapter and a few temp
sensors, and my spare weather station, if this is something you could
use (runnin blind here  as I don't have a clue what your project is).

Tim

--
Tim Sailer
Coastal Internet, Inc.
www.buoy.com
631-399-2910

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Donald J. Organ IV | 4 Nov 2008 17:14
Gravatar

Re: Virtual Device

Perfect this is what I was looking for however I believe I am going to go with the  tester interface as it has
more predictable data.

How would I use the tester devices with owfs??

----- Original Message -----
From: "Andreas Seider" <tetzlav <at> leipzig.freifunk.net>
To: owfs-developers <at> lists.sourceforge.net
Sent: Tuesday, November 4, 2008 4:53:22 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Owfs-developers] Virtual Device

Donald J. Organ IV schrieb:
> I posted this on the forums but I will post it here as well.
> 
> Is there a way to create a virtual device.  I am starting work on a new
> project but dont have any of the 1-wire devices yet but would like to
> start work on this project, is there a way to do this??

please read
http://owfs.org/index.php?page=fake-adapter

for example
# owserver --fake=01,10,22,29 -p 9999

# owdir -s 9999
/01.67C6697351FF
/10.4AEC29CDBAAB
/22.F2FBE3467CC2
/29.54F81BE8E78D
/bus.0
/settings
/system
/statistics
/structure
/simultaneous
/alarm

# owread -s 9999 10.4AEC29CDBAAB/temperature
     15.6679

regards
Andreas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Andreas Seidler | 4 Nov 2008 17:36

Re: Virtual Device

Hi Donald,

Donald J. Organ IV schrieb:
> Perfect this is what I was looking for however I believe I am going to go with the  tester interface as it has
more predictable data.
> 
> How would I use the tester devices with owfs??

the same way (owfs --help):

# mkdir /tmp/owfs

# owfs --tester=01,10,22,29 -m /tmp/owfs

# ls -1 /tmp/owfs/
01.000001FE0000
10.000010EF0100
22.000022DD0200
29.000029D60300
alarm
bus.0
settings
simultaneous
statistics
structure
system
uncached

 # cat /tmp/owfs/10.000010EF0100/temperature
         1.7

regards
Andreas

> ----- Original Message -----
> From: "Andreas Seider" <tetzlav <at> leipzig.freifunk.net>
> To: owfs-developers <at> lists.sourceforge.net
> Sent: Tuesday, November 4, 2008 4:53:22 AM GMT -05:00 US/Canada Eastern
> Subject: Re: [Owfs-developers] Virtual Device
> 
> Donald J. Organ IV schrieb:
>> I posted this on the forums but I will post it here as well.
>>
>> Is there a way to create a virtual device.  I am starting work on a new
>> project but dont have any of the 1-wire devices yet but would like to
>> start work on this project, is there a way to do this??
> 
> 
> please read
> http://owfs.org/index.php?page=fake-adapter
> 
> for example
> # owserver --fake=01,10,22,29 -p 9999
> 
> # owdir -s 9999
> /01.67C6697351FF
> /10.4AEC29CDBAAB
> /22.F2FBE3467CC2
> /29.54F81BE8E78D
> /bus.0
> /settings
> /system
> /statistics
> /structure
> /simultaneous
> /alarm
> 
> # owread -s 9999 10.4AEC29CDBAAB/temperature
>      15.6679
> 
> 
> regards
> Andreas
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Donald J. Organ IV | 4 Nov 2008 17:41
Gravatar

Re: Virtual Device

Yes actually as this email came in.  I even figured out the -F argument. Next is there a way to change the data
that is returned for a specific test device??

Sorry if I am annoying.  I am just trying to get the ball rolling on my project.

----- Original Message -----
From: "Andreas Seidler" <tetzlav <at> leipzig.freifunk.net>
To: owfs-developers <at> lists.sourceforge.net
Sent: Tuesday, November 4, 2008 11:36:34 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Owfs-developers] Virtual Device

Hi Donald,

Donald J. Organ IV schrieb:
> Perfect this is what I was looking for however I believe I am going to go with the  tester interface as it has
more predictable data.
> 
> How would I use the tester devices with owfs??

the same way (owfs --help):

# mkdir /tmp/owfs

# owfs --tester=01,10,22,29 -m /tmp/owfs

# ls -1 /tmp/owfs/
01.000001FE0000
10.000010EF0100
22.000022DD0200
29.000029D60300
alarm
bus.0
settings
simultaneous
statistics
structure
system
uncached

 # cat /tmp/owfs/10.000010EF0100/temperature
         1.7

regards
Andreas

> ----- Original Message -----
> From: "Andreas Seider" <tetzlav <at> leipzig.freifunk.net>
> To: owfs-developers <at> lists.sourceforge.net
> Sent: Tuesday, November 4, 2008 4:53:22 AM GMT -05:00 US/Canada Eastern
> Subject: Re: [Owfs-developers] Virtual Device
> 
> Donald J. Organ IV schrieb:
>> I posted this on the forums but I will post it here as well.
>>
>> Is there a way to create a virtual device.  I am starting work on a new
>> project but dont have any of the 1-wire devices yet but would like to
>> start work on this project, is there a way to do this??
> 
> 
> please read
> http://owfs.org/index.php?page=fake-adapter
> 
> for example
> # owserver --fake=01,10,22,29 -p 9999
> 
> # owdir -s 9999
> /01.67C6697351FF
> /10.4AEC29CDBAAB
> /22.F2FBE3467CC2
> /29.54F81BE8E78D
> /bus.0
> /settings
> /system
> /statistics
> /structure
> /simultaneous
> /alarm
> 
> # owread -s 9999 10.4AEC29CDBAAB/temperature
>      15.6679
> 
> 
> regards
> Andreas
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Paul Alfille | 4 Nov 2008 22:28
Picon

Re: Virtual Device

How about the obvious. Read in the tester value, the set it to what you want.

Paul Alfille



On Tue, Nov 4, 2008 at 12:41 PM, Donald J. Organ IV <dorgan <at> donaldorgan.com> wrote:
Yes actually as this email came in.  I even figured out the -F argument. Next is there a way to change the data that is returned for a specific test device??

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Gmane