Andrew, let me ask a few more questions to see if I truly understand
the problem.

My test of owfs --fake=10 --foreground --error_level=9 -m ../1wire
gives pretty much what you describe:

>    Using --foreground and --error_level=9 I get:
> ........
> 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)]
>  unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
> INIT: 7.10
> flags=0x0000003b
> max_readahead=0x00020000
>   INIT: 7.8
>   flags=0x00000001
>   max_readahead=0x00020000
>   max_write=0x00020000
>   unique: 1, error: 0 (Success), outsize: 40
>
Until I ask (in another xterm) for directory contents.

If I try the serial port I get:

> sudo /opt/owfs/bin/owfs -d /dev/ttyS0 -m ../1wire --foreground --error_level=9
CONNECT: owfs.c:main(123) fuse mount point: ../1wire
   CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[]
  DEBUG: owlib.c:SetupTemperatureLimits(83) Globals temp limits 0C
100C (for simulated adapters)
   CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[]
Byte buffer Attempt serial write:, length=1
--000: C1
   <.>
Byte buffer Attempt serial write:, length=1
--000: 71
   <q>
Byte buffer Attempt serial write:, length=1
--000: 0F
   <.>
Byte buffer Serial read:, length=1
--000: 00
   <.>
Byte buffer Attempt serial write:, length=1
--000: C5
   <.>
Byte buffer Serial read:, length=1
--000: CD
   <.>
Byte buffer Attempt serial write:, length=1
--000: 71
   <q>
Byte buffer Attempt serial write:, length=1
--000: 0F
   <.>
Byte buffer Serial read:, length=1
--000: 00
   <.>
Byte buffer Attempt serial write:, length=1
--000: C5
   <.>
Byte buffer Serial read:, length=1
--000: CD
   <.>
Byte buffer Attempt serial write:, length=1
--000: 45
   <E>
Byte buffer Serial read:, length=1
--000: 44
   <D>
Byte buffer Attempt serial write:, length=1
--000: 5B
   <[>
Byte buffer Serial read:, length=1
--000: 5A
   <Z>
Byte buffer Attempt serial write:, length=1
--000: 3F
   <?>
Byte buffer Serial read:, length=1
--000: 3E
   <>>
Byte buffer Attempt serial write:, length=1
--000: 29
   <)>
Byte buffer Serial read:, length=1
--000: 28
   <(>
Byte buffer Attempt serial write:, length=1
--000: 95
   <.>
Byte buffer Serial read:, length=1
--000: 97
   <.>
Byte buffer Attempt serial write:, length=1
--000: C5
   <.>
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)]
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.9
flags=0x0000000b
max_readahead=0x00020000
   INIT: 7.8
   flags=0x00000001
   max_readahead=0x00020000
   max_write=0x00020000
   unique: 1, error: 0 (Success), outsize: 40

Then exiting gives:

^C  DEBUG: owfs.c:ow_exit(31) owfs: ow_exit(0)
   CALL: ow_lib_close.c:LibClose(21) Starting Library cleanup
   CALL: ow_lib_stop.c:LibStop(23) Clear Cache
   CALL: ow_lib_stop.c:LibStop(25) Closing input devices
  DEBUG: ow_com.c:COM_close(80) COM_close: flush
  DEBUG: ow_com.c:COM_close(82) COM_close: restore
  DEBUG: ow_com.c:COM_close(86) COM_close: close
   CALL: ow_lib_stop.c:LibStop(27) Closing outout devices
   CALL: ow_lib_close.c:LibClose(56) Finished Library cleanup

So at the very least, we should see the attempted serial dialog. Are
you invoking owfs with the same parameters that I list?

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