Thanks for the report (and you extensive testing). Your scenario
_should_ work. :}

Just tested my DS9097U. Note that the serial port has to be accessed
as root. I don't know how your permissions are set up.

p...@amd64:~> sudo /opt/owfs/bin/owfs -d /dev/ttyS0 -m 1wire
root's password:
p...@amd64:~> sudo ls -l 1wire
total 0
drwxrwxrwx 1 root root  8 2009-06-08 12:21 01.5F50CA090000
drwxrwxrwx 1 root root  8 2009-06-08 12:21 09.BCCA79030000
drwxrwxrwx 1 root root  8 2009-06-08 12:21 10.101454000800
drwxrwxrwx 1 root root  8 2009-06-08 12:21 12.C4DF1F000000
drwxrwxrwx 1 root root  8 2009-06-08 12:21 22.367A03000000
drwxrwxrwx 1 root root  8 2009-06-08 12:21 2C.1B7900000000
drwxrwxrwx 1 root root  8 2009-06-08 12:21 2C.66FE04000000
drwxrwxrwx 1 root root  8 2009-06-08 12:21 89.BD29C300705E
drwxr-xr-x 1 root root  8 2009-06-08 12:21 alarm
drwxr-xr-x 1 root root  8 2009-06-08 12:21 bus.0
drwxr-xr-x 1 root root  8 2009-06-08 12:21 settings
drwxrwxrwx 1 root root  8 2009-06-08 12:21 simultaneous
drwxr-xr-x 1 root root  8 2009-06-08 12:21 statistics
drwxr-xr-x 1 root root 30 2009-06-08 12:21 structure
drwxr-xr-x 1 root root  8 2009-06-08 12:21 system
drwxr-xr-x 1 root root  8 2009-06-08 12:21 uncached

Then I tried your configuration:
> ./configure --disable-usb --disable-parport --disable-w1 --disable-ha7 
> --disable-i2c
and it still works well.

So the first test would be to try:
# ./owfs --fake=10 /var/1-wire/
To see if the problem is the serial port/adapter or the FUSE setup.

>
>    I have run owfs with error_level=9, and the last debug output is:
> .....
> Byte buffer Serial read:, length=1
> --000: CD
>   <.>
>  DEBUG: owfs.c:main(151) fuse_mnt_opt=[(null)]
>   DEBUG: owfs.c:main(153) fuse_open_opt=[(null)]

Add --foreground so the output comes to the console.

Paul Alfille

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to