Jag har precis fått hem mina 1-wire-prylar och försöker läsa av en temp-sensor. Jag kör Ubuntu 10.10 och har en DS9490R som jag tror fungerar. I den har jag en DS18B20+ med ca 30cm sladd. Jag tänkte att jag skulle börja enkelt för att se att allt funkar men jag ser inte sensorn....
Jag kan inte riktigt tyda vad som blir fel när jag startar OWFS med debug, men jag hoppas att någon här kan se vad som är tokigt
Kod: Markera allt
anders@Hemma:~$ sudo /opt/owfs/bin/owfs -u --foreground --error_level=9 --error_print=2 /mnt/1wire
CONNECT: owfs.c:main(123) fuse mount point: /mnt/1wire
CONNECT: ow_avahi_link.c:OW_Load_avahi_library(74) No Avahi support. Library libavahi-client couldn't be loaded
CONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled since dnssd library isn't found
CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[]
DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for simulated adapters)
CONNECT: ow_usb_cycle.c:USB_next(68) Bus master found: 3:3
DEFAULT: ow_usb_msg.c:DS9490_open(263) Opened USB DS9490 bus master at 3:3.
CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[]
CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[/uncached/bus.0]
DEBUG: ow_dir.c:FS_dir(63) path=/uncached/bus.0
CALL: ow_dir.c:FS_dir_both(98) path=/uncached/bus.0
CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[/uncached/bus.0/interface]
DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on /uncached/bus.0/interface
DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /uncached/bus.0/interface
DEBUG: ow_search.c:BUS_first(33) Start of directory path=/uncached/bus.0 device=00 00 00 00 00 00 00 00
DEBUG: ow_ds9490.c:DS9490_next_both(592) Index 0
DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) path=/uncached/bus.0 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(77) Clearing root branch
DATA: ow_ds9490.c:DS9490_SetSpeed(940) set flexible speed
DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
DEBUG: ow_ds9490.c:DS9490_directory(684) Got 8 bytes from USB search
DEBUG: ow_ds9490.c:DS9490_directory(712) gulp. Adding element 0:81 B1 49 2F 00 00 00 6A
DEBUG: ow_ds9490.c:DS9490_next_both(610) SN found: 81 B1 49 2F 00 00 00 6A
DEBUG: ow_cache.c:Cache_Add_Device(479) 81 B1 49 2F 00 00 00 6A bus=0
DEBUG: ow_cache.c:Cache_Add_Common(590) Add to cache sn 81 B1 49 2F 00 00 00 6A pointer=0x9b3780 index=0 size=4
DEBUG: ow_cache.c:Cache_Add_Device(479) 81 B1 49 2F 00 00 00 6A bus=0
DEBUG: ow_cache.c:Cache_Add_Common(590) Add to cache sn 81 B1 49 2F 00 00 00 6A pointer=0x9b3780 index=0 size=4
CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[/uncached/bus.0/81.B1492F000000]
DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on /uncached/bus.0/81.B1492F000000
DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /uncached/bus.0/81.B1492F000000
DEBUG: ow_ds9490.c:DS9490_next_both(592) Index 1
DEBUG: ow_cache.c:Cache_Add_Dir(402) 00 00 00 00 00 00 00 00 elements=1
DEBUG: ow_cache.c:Cache_Add_Common(590) Add to cache sn 00 00 00 00 00 00 00 00 pointer=0x9b37a0 index=0 size=8
DEBUG: ow_dir.c:FS_dir_both(186) ret=0
DEBUG: ow_usb_cycle.c:DS9490_root_dir(156) Finished FS_dir
DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /uncached/bus.0
DEFAULT: ow_usb_cycle.c:DS9490_ID_this_master(191) Set DS9490 3:3 unique id to 81 B1 49 2F 00 00 00 6A
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 0 OWFS
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 1 /mnt/1wire
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 2 -o
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 3 direct_io
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 4 -f
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 5 -d
DEBUG: owfs.c:main(152) fuse_mnt_opt=[(null)]
DEBUG: owfs.c:main(154) fuse_open_opt=[(null)]
fuse: bad mount point `/mnt/1wire': Transport endpoint is not connected
DEBUG: owfs.c:ow_exit(31) owfs: ow_exit(0)
CALL: ow_lib_close.c:LibClose(22) Starting Library cleanup
CALL: ow_lib_stop.c:LibStop(23) Clear Cache
CALL: ow_lib_stop.c:LibStop(25) Closing input devices
CONNECT: ow_usb_msg.c:DS9490_close(301) Closed USB DS9490 bus master at 3:3. ret=0
CALL: ow_lib_stop.c:LibStop(27) Closing outout devices
CALL: ow_lib_close.c:LibClose(38) Finished Library cleanup