Hi,

I'm trying to switch from digitemp to owfs 2.7p29 on my server where I've
been using digitemp.
I have owfs working, it works fine with my USB adapter:

gargamel:/dev# /opt/bin/owfs -c /etc/owfs/owfs.conf
CONNECT: owfs.c:main(123) fuse mount point: /owfs
CONNECT: ow_ds9490.c:USB_next(623) Bus master found: 003/009
DEFAULT: ow_ds9490.c:DS9490_sub_open(555) Opened USB DS9490 bus master at 
003/009.
DEFAULT: ow_ds9490.c:DS9490_detect_found(415) Set DS9490 003/009 unique id to 
81 2C 28 29 00 00 00 44
CONNECT: ow_ds9490.c:DS9490_detect_low(336) USB DS9490 1/1 successful bound
CONNECT: ow_ds9490.c:DS9490_close(773) Closed USB DS9490 bus master at 003/009. 
ret=0

My serial adapter works fine too since I'm using it with digitemp:
gargamel:~# digitemp -w
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
...............
Devices on the Main LAN
10A8D1ED0108009C : DS1820/DS18S20/DS1920 Temperature Sensor
1094A2ED0108002F : DS1820/DS18S20/DS1920 Temperature Sensor
102223EF0108009B : DS1820/DS18S20/DS1920 Temperature Sensor
1052D1ED01080021 : DS1820/DS18S20/DS1920 Temperature Sensor
10D1D0ED0108005F : DS1820/DS18S20/DS1920 Temperature Sensor
10F9F3EE01080076 : DS1820/DS18S20/DS1920 Temperature Sensor
1045D2ED010800B1 : DS1820/DS18S20/DS1920 Temperature Sensor
10E5E7ED010800BB : DS1820/DS18S20/DS1920 Temperature Sensor
105DE1ED01080081 : DS1820/DS18S20/DS1920 Temperature Sensor
285CFC0502000004 : DS18B20 Temperature Sensor
2836A35902000038 : DS18B20 Temperature Sensor
28DD71C701000024 : DS18B20 Temperature Sensor
283359C7010000D8 : DS18B20 Temperature Sensor
2857B65902000062 : DS18B20 Temperature Sensor
09C7BE600500009E : DS2502/DS1982 1Kbit Add only memory

owfs won't talk to it though, or it will but it won't show me any of my devices.
My config file:
device=/dev/ttyS1
foreground
Fahrenheit 
error_print = 0
error_level = 9 
mountpoint = /owfs

All I see in /owfs is 10.A8D1ED010800, but none of my devices.
Any ideas?

Thanks,
Marc

Output:
> gargamel:/dev# /opt/bin/owfs -c /etc/owfs/owfs.conf 
>   DEBUG: ow_opt.c:ParseInterp(263) Configuration file 
> (/etc/owfs/owfs.conf:10) Program=, Option=, Value=
>   DEBUG: ow_opt.c:ParseInterp(263) Configuration file 
> (/etc/owfs/owfs.conf:11) Program=, Option=mountpoint, Value=/owfs
>   DEBUG: ow_opt.c:ParseInterp(307) Configuration file 
> (/etc/owfs/owfs.conf:11) Option mountpoint recognized as mountpoint. 
> Value=/owfs
>   DEBUG: ow_opt.c:ParseInterp(263) Configuration file 
> (/etc/owfs/owfs.conf:12) Program=, Option=, Value=
> CONNECT: owfs.c:main(123) fuse mount point: /owfs
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[]
>   DEBUG: owlib.c:SetupTemperatureLimits(83) Globals temp limits 0C 100C (for 
> simulated adapters)
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[]
> Byte buffer Attempt serial write:, length=1
> --000: C1
>    <.>
>   DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(310) Send the initial reset to 
> the bus master.
>   DEBUG: owfs.c:main(151) fuse_mnt_opt=[(null)]
>   DEBUG: owfs.c:main(153) fuse_open_opt=[(null)]
> FUSE library version: 2.8.1
> nullpath_ok: 0
> unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
> INIT: 7.12
> flags=0x0000007b
> max_readahead=0x00020000
>    INIT: 7.12
>    flags=0x00000011
>    max_readahead=0x00020000
>    max_write=0x00020000
>    unique: 1, success, outsize: 40
> 
> 
> 
> unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56
> getattr /
>    CALL: ow_fstat.c:FS_fstat(22) path=/
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/]
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /
> 
>    unique: 2, success, outsize: 120
> unique: 3, opcode: GETXATTR (22), nodeid: 1, insize: 72
>    unique: 3, error: -38 (Function not implemented), outsize: 16
> unique: 4, opcode: OPENDIR (27), nodeid: 1, insize: 48
>    unique: 4, success, outsize: 32
> unique: 5, opcode: READDIR (28), nodeid: 1, insize: 80
> getdir[0]
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/]
>    CALL: owfs_callback.c:FS_getdir(175) GETDIR path=/
>   DEBUG: ow_dir.c:FS_dir(63) path=/
>    CALL: ow_dir.c:FS_dir_both(103) path=/
>   DEBUG: ow_cache.c:Cache_Get_Dir(804) 00 00 00 00 00 00 00 00
>   DEBUG: ow_cache.c:Cache_Get_Common_Dir(820) Get from cache sn 00 00 00 00 
> 00 00 00 00 pointer=0xb770ac74 extension=0
>   DEBUG: ow_cache.c:Cache_Get_Common_Dir(844) dir not found in cache
>   DEBUG: ow_search.c:BUS_first(32) Start of directory path=/ device=00 00 00 
> 00 00 00 00 00
>   DEBUG: ow_select.c:BUS_select(74) Selecting a path (and device) path=/ 
> SN=00 00 00 00 00 00 00 00 last path=FF 00 00 00 00 00 00 00
>   DEBUG: ow_select.c:BUS_select(79) Clearing root branch
> Byte buffer Attempt serial write:, length=1
> --000: C5
>    <.>
> Byte buffer Serial read:, length=1
> --000: CD
>    <.>
> Byte buffer Attempt serial write:, length=3
> --000: E1 CC 66
>    <..f>
> Byte buffer Serial read:, length=2
> --000: CC 66
>    <.f>
>   DEBUG: ow_transaction.c:BUS_transaction_single(98) send = 0
>   DEBUG: ow_transaction.c:BUS_transaction_single(167) end = 0
> Byte buffer Attempt serial write:, length=2
> --000: E3 C5
>    <..>
> Byte buffer Serial read:, length=1
> --000: CD
>    <.>
> Byte buffer Attempt serial write:, length=2
> --000: E1 F0
>    <..>
> Byte buffer Serial read:, length=1
> --000: F0
>    <.>
> Byte buffer Attempt serial write:, length=2
> --000: E3 B5
>    <..>
> Byte buffer Attempt serial write:, length=17
> --000: E1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> --016: 00
>    <.................>
> Byte buffer Serial read:, length=12
> --000: 41 02 95 88 02 A2 A2 A8 02 00 80 00
>    <A...........>
> Byte buffer Serial read:, length=4
> --000: 00 00 A0 82
>    <....>
> Byte buffer Attempt serial write:, length=2
> --000: E3 A5
>    <..>
>   DEBUG: ow_ds9097U.c:DS2480_next_both(740) SN found: 10 A8 D1 ED 01 08 00 9C
>   DEBUG: ow_search.c:BUS_next(80) return = 0 | 10 A8 D1 ED 01 08 00 9C
>   DEBUG: ow_cache.c:Cache_Add_Device(478) 10 A8 D1 ED 01 08 00 9C bus=0
>   DEBUG: ow_cache.c:Cache_Add_Common(597) Add to cache sn 10 A8 D1 ED 01 08 
> 00 9C pointer=0xb770ac54 index=0 size=4
>   DEBUG: ow_cache.c:Cache_Add_Device(478) 10 A8 D1 ED 01 08 00 9C bus=0
>   DEBUG: ow_cache.c:Cache_Add_Common(597) Add to cache sn 10 A8 D1 ED 01 08 
> 00 9C pointer=0xb770ac54 index=0 size=4
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/10.A8D1ED010800]
>   DEBUG: ow_cache.c:Cache_Get_Device(862) 10 A8 D1 ED 01 08 00 9C
>   DEBUG: ow_cache.c:Cache_Get_Common(1092) Get from cache sn 10 A8 D1 ED 01 
> 08 00 9C pointer=0xb770ac54 index=0 size=4
>   DEBUG: ow_cache.c:Cache_Get_Common(1105) value found in cache. Remaining 
> life: 120 seconds.
>   DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /10.A8D1ED010800
> 
>   DEBUG: ow_select.c:BUS_select(74) Selecting a path (and device) path=/ 
> SN=00 00 00 00 00 00 00 00 last path=00 00 00 00 00 00 00 00
>   DEBUG: ow_select.c:BUS_select(82) Continuing root branch
> Byte buffer Attempt serial write:, length=1
> --000: C5
>    <.>
> Byte buffer Serial read:, length=1
> --000: CD
>    <.>
> Byte buffer Attempt serial write:, length=2
> --000: E1 F0
>    <..>
> Byte buffer Serial read:, length=1
> --000: F0
>    <.>
> Byte buffer Attempt serial write:, length=2
> --000: E3 B5
>    <..>
> Byte buffer Attempt serial write:, length=17
> --000: E1 00 02 20 00 00 00 00 00 00 00 00 00 00 00 00
> --016: 00
>    <... .............>
> Byte buffer Serial read:, length=12
> --000: 41 02 F5 FF FF FF FF FF FF FF FF FF
>    <A...........>
> Byte buffer Serial read:, length=4
> --000: FF FF FF FF
>    <....>
> Byte buffer Attempt serial write:, length=2
> --000: E3 A5
>    <..>
>   DEBUG: ow_search.c:BUS_next(80) return = -5 | 10 A8 D1 ED 01 08 00 9C
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/bus.0]
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /bus.0
> 
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/uncached]
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /uncached
> 
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/settings]
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /settings
> 
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/system]
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /system
> 
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/statistics]
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /statistics
> 
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/structure]
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /structure
> 
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/simultaneous]
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /simultaneous
> 
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/alarm]
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /alarm
> 
>   DEBUG: ow_dir.c:FS_dir_both(187) ret=-5
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /
> 
>    unique: 5, success, outsize: 400
> unique: 6, opcode: LOOKUP (1), nodeid: 1, insize: 56
> LOOKUP /10.A8D1ED010800
> getattr /10.A8D1ED010800
>    CALL: ow_fstat.c:FS_fstat(22) path=/10.A8D1ED010800
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/10.A8D1ED010800]
>   DEBUG: ow_cache.c:Cache_Get_Device(862) 10 A8 D1 ED 01 08 00 9C
>   DEBUG: ow_cache.c:Cache_Get_Common(1092) Get from cache sn 10 A8 D1 ED 01 
> 08 00 9C pointer=0xb770ac54 index=0 size=4
>   DEBUG: ow_cache.c:Cache_Get_Common(1105) value found in cache. Remaining 
> life: 120 seconds.
>   DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/10.A8D1ED010800
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /10.A8D1ED010800
> 
>    NODEID: 2
>    unique: 6, success, outsize: 144
> unique: 7, opcode: LOOKUP (1), nodeid: 1, insize: 46
> LOOKUP /bus.0
> getattr /bus.0
>    CALL: ow_fstat.c:FS_fstat(22) path=/bus.0
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/bus.0]
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/bus.0
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /bus.0
> 
>    NODEID: 3
>    unique: 7, success, outsize: 144
> unique: 8, opcode: LOOKUP (1), nodeid: 1, insize: 49
> LOOKUP /uncached
> getattr /uncached
>    CALL: ow_fstat.c:FS_fstat(22) path=/uncached
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/uncached]
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/uncached
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /uncached
> 
>    NODEID: 4
>    unique: 8, success, outsize: 144
> unique: 9, opcode: LOOKUP (1), nodeid: 1, insize: 49
> LOOKUP /settings
> getattr /settings
>    CALL: ow_fstat.c:FS_fstat(22) path=/settings
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/settings]
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/settings
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /settings
> 
>    NODEID: 5
>    unique: 9, success, outsize: 144
> unique: 10, opcode: LOOKUP (1), nodeid: 1, insize: 47
> LOOKUP /system
> getattr /system
>    CALL: ow_fstat.c:FS_fstat(22) path=/system
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/system]
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/system
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /system
> 
>    NODEID: 6
>    unique: 10, success, outsize: 144
> unique: 11, opcode: LOOKUP (1), nodeid: 1, insize: 51
> LOOKUP /statistics
> getattr /statistics
>    CALL: ow_fstat.c:FS_fstat(22) path=/statistics
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/statistics]
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/statistics
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /statistics
> 
>    NODEID: 7
>    unique: 11, success, outsize: 144
> unique: 12, opcode: LOOKUP (1), nodeid: 1, insize: 50
> LOOKUP /structure
> getattr /structure
>    CALL: ow_fstat.c:FS_fstat(22) path=/structure
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/structure]
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/structure
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /structure
> 
>    NODEID: 8
>    unique: 12, success, outsize: 144
> unique: 13, opcode: LOOKUP (1), nodeid: 1, insize: 53
> LOOKUP /simultaneous
> getattr /simultaneous
>    CALL: ow_fstat.c:FS_fstat(22) path=/simultaneous
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/simultaneous]
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/simultaneous
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /simultaneous
> 
>    NODEID: 9
>    unique: 13, success, outsize: 144
> unique: 14, opcode: LOOKUP (1), nodeid: 1, insize: 46
> LOOKUP /alarm
> getattr /alarm
>    CALL: ow_fstat.c:FS_fstat(22) path=/alarm
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/alarm]
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/alarm
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /alarm
> 
>    NODEID: 10
>    unique: 14, success, outsize: 144
> unique: 15, opcode: GETATTR (3), nodeid: 1, insize: 56
> getattr /
>    CALL: ow_fstat.c:FS_fstat(22) path=/
>    CALL: ow_parsename.c:FS_ParsedName_anywhere(102) path=[/]
>    CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/
>   DEBUG: ow_parsename.c:FS_ParsedName_destroy(51) /
> 
>    unique: 15, success, outsize: 120
> unique: 16, opcode: READDIR (28), nodeid: 1, insize: 80
>    unique: 16, success, outsize: 16
> unique: 17, opcode: RELEASEDIR (29), nodeid: 1, insize: 64
>    unique: 17, success, outsize: 16
> unique: 18, opcode: FORGET (2), nodeid: 2, insize: 48
> FORGET 2/1
> DELETE: 2
> unique: 19, opcode: FORGET (2), nodeid: 3, insize: 48
> FORGET 3/1
> DELETE: 3
> unique: 20, opcode: FORGET (2), nodeid: 4, insize: 48
> FORGET 4/1
> DELETE: 4
> unique: 21, opcode: FORGET (2), nodeid: 5, insize: 48
> FORGET 5/1
> DELETE: 5
> unique: 22, opcode: FORGET (2), nodeid: 6, insize: 48
> FORGET 6/1
> DELETE: 6
> unique: 23, opcode: FORGET (2), nodeid: 7, insize: 48
> FORGET 7/1
> DELETE: 7
> unique: 24, opcode: FORGET (2), nodeid: 8, insize: 48
> FORGET 8/1
> unique: 25, opcode: FORGET (2), nodeid: 9, insize: 48
> DELETE: 8
> FORGET 9/1
> DELETE: 9
> unique: 26, opcode: FORGET (2), nodeid: 10, insize: 48
> FORGET 10/1
> DELETE: 10
> ^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(59) Finished Library cleanup
> gargamel:/dev# 
 

-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to