Hello
I think there is as bug in 2.8p4 version of owfs. When I read
temperature 
cat /mnt/owfs/patryk/temperature9
cat: can't open '/mnt/owfs/pokoj/temperature9': No such file or
directory
I get an error, but if I previously list the directory
ls /mnt/owfs
and then do the same read 
cat /mnt/owfs/patryk/temperature9
Everything works fine when I access the sensor by it's address
also owread however does not seem to suffer form this bug.
I only run owserver with -a option but it works for directory listing so
I assume it's not needed to pass alias list to owfs.

First I was using version 2.7 and it was working fine.

I've attached output from owfs. I don't know what it exactly means but
there is a suspicious line 
path=/285EDBB7020000rature9


About my hardware:
I've recently built myself 1-wire interface for WRT54g router(2.4
kernel). It's based on ds2480b and connected to serial port. I have
about 10 thermometers. I'm running owserver and they are mounted using
owfs. I have an alias file with sensors names.


P4trykx
Jan 10 21:30:50 zbb123 daemon.notice OWFS[2271]:    CALL: 
ow_fstat.c:FS_fstat(22) path=/pokoj
Jan 10 21:30:50 zbb123 daemon.notice OWFS[2271]:    CALL: 
ow_parsename.c:FS_ParsedName_anywhere(90) path=[/pokoj]
Jan 10 21:30:50 zbb123 daemon.notice OWFS[2271]:  DETAIL: 
ow_presence.c:CheckPresence(80) Checking presence of /pokoj
Jan 10 21:30:50 zbb123 daemon.notice OWFS[2271]:    CALL: 
ow_server_message.c:ServerPresence(113) SERVER(0) path=/285EDBB7020000rature9
Jan 10 21:37:22 zbb123 daemon.notice OWFS[2272]:    CALL: 
ow_fstat.c:FS_fstat(22) path=/pokoj
Jan 10 21:37:22 zbb123 daemon.notice OWFS[2272]:    CALL: 
ow_parsename.c:FS_ParsedName_anywhere(90) path=[/pokoj]
Jan 10 21:37:22 zbb123 daemon.notice OWFS[2272]:  DETAIL: 
ow_presence.c:CheckPresence(80) Checking presence of /pokoj
Jan 10 21:37:22 zbb123 daemon.notice OWFS[2272]:    CALL: 
ow_server_message.c:ServerPresence(113) SERVER(0) path=/285EDBB7020000rature9

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to