Hi,

I'm playing with owfs, a DS9490 USB to 1wire adapter and a 18B20 temperature sensor for the first time (owfs-2.8p3 and tried 2.7p38 also under Ubuntu 10.04 and a different machine with Ubuntu 9.10).

I grabbed a 1 meter long, 4 wire phone cable and operate the sensor in parasite power mode (Vdd connected to GND)

Everything works fine with owfs, but suddenly the connection breaks and reconnect attempts of owfs fails with the message above.

Logfile from 2.8p3 Ubuntu 10.04 attached.

What is driving me nuts is the fact that the disconnect may happen between a test if the sensor file exist and the query to the file itself.

if [ -e $root/$sensor/temperature ]; then  // fine
    temp=$(cat $root/$sensor/temperature)  // disconnected
    return 1
fi

If I kill the owfs process and restart it, everything is fine for some polls (sometimes only 1 sensor reread, sometimes 5-6 times).

To exclude a hardware problem, I just moved the setup to a Windows XP machine and tested it with the Dallas demonstration application - everything works fine.

Any help is very appreciated!

Bernd

--
Bernd Hohmann
Dipl. Organisationsprogrammierer
DV Sachverständiger & Gutachter
Höhenstrasse 2 * 61130 Nidderau
Telefon: 06187/900495 * Telefax: 06187/900493
Blog: http://blog.harddiskcafe.de
CONNECT: owfs.c:main(123) fuse mount point: /media/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(265) 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(32) Start of directory path=/uncached/bus.0 
device=00 00 00 00 00 00 00 00
  DEBUG: ow_ds9490.c:DS9490_next_both(593) 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(934) 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(672) Got 16 bytes from USB search
  DEBUG: ow_ds9490.c:DS9490_directory(700) gulp. Adding element 0:28 40 01 8E 
02 00 00 25
  DEBUG: ow_ds9490.c:DS9490_next_both(611) SN found: 28 40 01 8E 02 00 00 25
  DEBUG: ow_search.c:BUS_next(71) Device found: 28 40 01 8E 02 00 00 25
  DEBUG: ow_cache.c:Cache_Add_Device(479) 28 40 01 8E 02 00 00 25 bus=0
  DEBUG: ow_cache.c:Cache_Add_Common(590) Add to cache sn 28 40 01 8E 02 00 00 
25 pointer=0x5f9a74 index=0 size=4
  DEBUG: ow_cache.c:Cache_Add_Device(479) 28 40 01 8E 02 00 00 25 bus=0
  DEBUG: ow_cache.c:Cache_Add_Common(590) Add to cache sn 28 40 01 8E 02 00 00 
25 pointer=0x5f9a74 index=0 size=4
   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) 
path=[/uncached/bus.0/28.40018E020000]
  DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on 
/uncached/bus.0/28.40018E020000
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) 
/uncached/bus.0/28.40018E020000
  DEBUG: ow_ds9490.c:DS9490_next_both(593) Index 1
  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=00 00 00 00 00 00 00 
00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
  DEBUG: ow_ds9490.c:DS9490_directory(672) Got 8 bytes from USB search
  DEBUG: ow_ds9490.c:DS9490_directory(700) gulp. Adding element 0:81 AC 17 2E 
00 00 00 C3
  DEBUG: ow_ds9490.c:DS9490_next_both(611) SN found: 81 AC 17 2E 00 00 00 C3
  DEBUG: ow_search.c:BUS_next(71) Device found: 81 AC 17 2E 00 00 00 C3
  DEBUG: ow_cache.c:Cache_Add_Device(479) 81 AC 17 2E 00 00 00 C3 bus=0
  DEBUG: ow_cache.c:Cache_Add_Common(590) Add to cache sn 81 AC 17 2E 00 00 00 
C3 pointer=0x5f9a74 index=0 size=4
  DEBUG: ow_cache.c:Cache_Add_Device(479) 81 AC 17 2E 00 00 00 C3 bus=0
  DEBUG: ow_cache.c:Cache_Add_Common(590) Add to cache sn 81 AC 17 2E 00 00 00 
C3 pointer=0x5f9a74 index=0 size=4
   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) 
path=[/uncached/bus.0/81.AC172E000000]
  DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on 
/uncached/bus.0/81.AC172E000000
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) 
/uncached/bus.0/81.AC172E000000
  DEBUG: ow_ds9490.c:DS9490_next_both(593) Index 2
  DEBUG: ow_cache.c:Cache_Add_Dir(402) 00 00 00 00 00 00 00 00 elements=2
  DEBUG: ow_cache.c:Cache_Add_Common(590) Add to cache sn 00 00 00 00 00 00 00 
00 pointer=0x5f9a94 index=0 size=16
   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) 
path=[/uncached/bus.0/simultaneous]
  DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on 
/uncached/bus.0/simultaneous
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /uncached/bus.0/simultaneous
   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[/uncached/bus.0/alarm]
  DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on 
/uncached/bus.0/alarm
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /uncached/bus.0/alarm
  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 AC 17 2E 00 00 00 C3
  DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 0 OWFS
  DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 1 /media/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: warning: library too old, some operations may not not work
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.12
flags=0x0000007b
max_readahead=0x00020000
   INIT: 7.8
   flags=0x00000001
   max_readahead=0x00020000
   max_write=0x00020000
   unique: 1, error: 0 (Success), outsize: 40
unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 56
LOOKUP /28.40018E020000
   CALL: ow_fstat.c:FS_fstat(22) path=/28.40018E020000
   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[/28.40018E020000]
  DEBUG: ow_cache.c:Cache_Get_Device(855) 28 40 01 8E 02 00 00 25
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5f9a74 index=0 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1076) value found in cache. Remaining 
life: 104 seconds.
  DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
   CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES path=/28.40018E020000
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /28.40018E020000
   NODEID: 2
   unique: 2, error: 0 (Success), outsize: 136
unique: 3, opcode: LOOKUP (1), nodeid: 2, insize: 52
LOOKUP /28.40018E020000/temperature
   CALL: ow_fstat.c:FS_fstat(22) path=/28.40018E020000/temperature
   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) 
path=[/28.40018E020000/temperature]
  DEBUG: ow_cache.c:Cache_Get_Device(855) 28 40 01 8E 02 00 00 25
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5f9a74 index=0 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1076) value found in cache. Remaining 
life: 104 seconds.
  DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
   CALL: ow_fstat.c:FS_fstat_postparse(39) ATTRIBUTES 
path=/28.40018E020000/temperature
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /28.40018E020000/temperature
   NODEID: 3
   unique: 3, error: 0 (Success), outsize: 136
unique: 4, opcode: OPEN (14), nodeid: 3, insize: 48
   CALL: owfs_callback.c:FS_open(128) OPEN path=/28.40018E020000/temperature
   unique: 4, error: 0 (Success), outsize: 32
OPEN[0] flags: 0x8000 /28.40018E020000/temperature
unique: 5, opcode: READ (15), nodeid: 3, insize: 80
READ[0] 32768 bytes from 0
  DEBUG: ow_parseobject.c:OWQ_create(159) /28.40018E020000/temperature
   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) 
path=[/28.40018E020000/temperature]
  DEBUG: ow_cache.c:Cache_Get_Device(855) 28 40 01 8E 02 00 00 25
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5f9a74 index=0 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1076) value found in cache. Remaining 
life: 104 seconds.
  DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
  DEBUG: ow_read.c:FS_read_postparse(79) /28.40018E020000/temperature
  DEBUG: ow_read.c:FS_read_distribute(199) /28.40018E020000/temperature
  DEBUG: ow_read.c:FS_r_given_bus(233) About to read 
</28.40018E020000/temperature> extension=0 size=32768 offset=0
  DEBUG: ow_read.c:adjust_file_size(329) file_length=12 offset=0 size=12
  DEBUG: ow_parseobject.c:OWQ_create_sibling(94) Create sibling temperature12 
from /28.40018E020000/temperature as /28.40018E020000/temperature12
  DEBUG: ow_parseobject.c:OWQ_create_from_path(30) 
/28.40018E020000/temperature12
   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) 
path=[/28.40018E020000/temperature12]
  DEBUG: ow_cache.c:Cache_Get_Device(855) 28 40 01 8E 02 00 00 25
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5f9a74 index=0 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1076) value found in cache. Remaining 
life: 104 seconds.
  DEBUG: ow_presence.c:CheckPresence(75) Found device on bus 0
  DEBUG: ow_read.c:adjust_file_size(329) file_length=12 offset=0 size=1
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5e6fc0 index=0 size=8
  DEBUG: ow_cache.c:Cache_Get_Common(1095) value not found in cache
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 00 00 00 00 00 00 
00 00 pointer=0x5f9a88 index=0 size=0
  DEBUG: ow_cache.c:Cache_Get_Common(1095) value not found in cache
  DEBUG: ow_cache.c:Cache_Get_Internal(884) 28 40 01 8E 02 00 00 25 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5e6944 index=-2 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1095) value not found in cache
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature12 SN=28 40 01 8E 02 00 00 25 last path=00 00 
00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
  DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(137) CRC8 = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_cache.c:Cache_Get_Internal(884) 28 40 01 8E 02 00 00 25 size=1
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5e6948 index=-2 size=1
  DEBUG: ow_cache.c:Cache_Get_Common(1095) value not found in cache
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature12 SN=28 40 01 8E 02 00 00 25 last path=00 00 
00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
  DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_cache.c:Cache_Add_Internal(517) 28 40 01 8E 02 00 00 25 size=1
  DEBUG: ow_cache.c:Cache_Add_Common(590) Add to cache sn 28 40 01 8E 02 00 00 
25 pointer=0x5e6948 index=-2 size=1
  DEBUG: ow_1820.c:OW_22temp(616) Powered temperature conversion
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature12 SN=28 40 01 8E 02 00 00 25 last path=00 00 
00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
  DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(155) Delay 10
  DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_1820.c:FS_poll_convert(798) BUS_transaction done after 10ms
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature12 SN=28 40 01 8E 02 00 00 25 last path=00 00 
00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
  DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(137) CRC8 = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_cache.c:Cache_Get_Internal(884) 28 40 01 8E 02 00 00 25 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5e6944 index=-2 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1095) value not found in cache
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature12 SN=28 40 01 8E 02 00 00 25 last path=00 00 
00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
  DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(137) CRC8 = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_cache.c:Cache_Get_Internal(884) 28 40 01 8E 02 00 00 25 size=1
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5e6948 index=-2 size=1
  DEBUG: ow_cache.c:Cache_Get_Common(1076) value found in cache. Remaining 
life: 300 seconds.
  DEBUG: ow_1820.c:OW_22temp(616) Powered temperature conversion
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature12 SN=28 40 01 8E 02 00 00 25 last path=00 00 
00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
  DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(155) Delay 10
  DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_1820.c:FS_poll_convert(798) BUS_transaction done after 10ms
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature12 SN=28 40 01 8E 02 00 00 25 last path=00 00 
00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
  DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(137) CRC8 = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_cache.c:Cache_Get_Internal(884) 28 40 01 8E 02 00 00 25 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5e6944 index=-2 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1095) value not found in cache
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature12 SN=28 40 01 8E 02 00 00 25 last path=00 00 
00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
  DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(99) send = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(108) readin = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(137) CRC8 = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_cache.c:Cache_Get_Internal(884) 28 40 01 8E 02 00 00 25 size=1
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5e6948 index=-2 size=1
  DEBUG: ow_cache.c:Cache_Get_Common(1076) value found in cache. Remaining 
life: 300 seconds.
  DEBUG: ow_1820.c:OW_22temp(605) Unpowered temperature conversion -- 1500 msec
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature12 SN=28 40 01 8E 02 00 00 25 last path=00 00 
00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
  DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
   DATA: ow_ds9490.c:DS9490_PowerByte(832) start
   DATA: ow_ds9490.c:DS9490_HaltPulse(904) timeout
  DEBUG: ow_transaction.c:BUS_transaction_single(129) power (1500 usec) = 0
  DEBUG: ow_transaction.c:BUS_transaction_single(168) end = 0
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature12 SN=28 40 01 8E 02 00 00 25 last path=00 00 
00 00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(80) Continuing root branch
   DATA: ow_usb_msg.c:DS9490_getstatus(209) never got idle  StatusFlags=1 read=0
  DEBUG: ow_reset.c:BUS_reset(48) Reset error. Reconnection 1/2
  DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 1
  DEBUG: ow_read.c:FS_read_owq(507) Read /28.40018E020000/temperature12 
Extension 0 Gives result -22
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /28.40018E020000/temperature12
  DEBUG: ow_read.c:FS_read_owq(507) Read /28.40018E020000/temperature Extension 
0 Gives result -22
  DEBUG: ow_read.c:FS_r_given_bus(249) return=-22
  DEBUG: ow_read.c:FS_r_given_bus(259) After read is performed (bytes or error 
-22)
OWQ OneWireQuery structure of /28.40018E020000/temperature
    OneWireQuery size=12 offset=0, extension=0
Byte buffer OneWireQuery buffer, length=12
--000: 00 00 00 00 00 00 00 00 00 00 00 00
   <............>
    Cleanup = 0002    OneWireQuery I=0 U=0 F=85 Y=0 D=Thu Jan  1 01:00:00 1970

--- OneWireQuery done
  DEBUG: ow_read.c:FS_read_distribute(221) /28.40018E020000/temperature return 
-22
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature SN=28 40 01 8E 02 00 00 25 last path=FF 00 00 
00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(77) Clearing root branch
   DATA: ow_usb_msg.c:DS9490_getstatus(209) never got idle  StatusFlags=1 read=0
  DEBUG: ow_reset.c:BUS_reset(48) Reset error. Reconnection 2/2
   DATA: ow_usb_msg.c:DS9490_getstatus(209) never got idle  StatusFlags=1 read=0
  DEBUG: ow_reset.c:BUS_reset(48) Reset error. Reconnection 3/2
  DEBUG: ow_transaction.c:BUS_transaction_single(176) verify = 1
  DEBUG: ow_presence.c:CheckThisConnection(244) Presence of 28 40 01 8E 02 00 
00 25 NOT found on bus 3:3
  DEBUG: ow_cache.c:Cache_Get_Device(855) 28 40 01 8E 02 00 00 25
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5f9a74 index=0 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1076) value found in cache. Remaining 
life: 102 seconds.
  DEBUG: ow_presence.c:ReCheckPresence(112) Found device on bus 0
CONNECT: ow_usb_msg.c:DS9490_close(303) Closed USB DS9490 bus master at 3:3. 
ret=0
DEFAULT: ow_reconnect.c:TestConnection(61) Failed to reconnect DS9490 bus 
master!
  DEBUG: ow_cache.c:Cache_Del_Common(1318) Delete from cache sn 28 40 01 8E 02 
00 00 25 in=0x5f9a74 index=0
  DEBUG: ow_cache.c:Cache_Get_Device(855) 28 40 01 8E 02 00 00 25
  DEBUG: ow_cache.c:Cache_Get_Common(1067) Get from cache sn 28 40 01 8E 02 00 
00 25 pointer=0x5f9a74 index=0 size=4
  DEBUG: ow_cache.c:Cache_Get_Common(1076) value found in cache. Remaining 
life: -1 seconds.
 DETAIL: ow_presence.c:CheckPresence(80) Checking presence of 
/28.40018E020000/temperature
  DEBUG: ow_select.c:BUS_select(72) Selecting a path (and device) 
path=/28.40018E020000/temperature SN=28 40 01 8E 02 00 00 25 last path=FF 00 00 
00 00 00 00 00
  DEBUG: ow_select.c:BUS_select(77) Clearing root branch
  DEBUG: ow_ds9490.c:DS9490_reset(524) Attempting RESET on null bus
  DEBUG: ow_reset.c:BUS_reset(48) Reset error. Reconnection 2/2
  DEBUG: ow_ds9490.c:DS9490_reset(524) Attempting RESET on null bus
  DEBUG: ow_reset.c:BUS_reset(48) Reset error. Reconnection 3/2
  DEBUG: ow_transaction.c:BUS_transaction_single(176) verify = 1
  DEBUG: ow_presence.c:CheckThisConnection(244) Presence of 28 40 01 8E 02 00 
00 25 NOT found on bus -1:-1
  DEBUG: ow_read.c:FS_read_postparse(98) /28.40018E020000/temperature return -2
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) /28.40018E020000/temperature
   unique: 5, error: -2 (No such file or directory), outsize: 16
unique: 6, opcode: FLUSH (25), nodeid: 3, insize: 64
FLUSH[0]
   unique: 6, error: -38 (Function not implemented), outsize: 16
unique: 7, opcode: RELEASE (18), nodeid: 3, insize: 64
RELEASE[0] flags: 0x8000
   CALL: owfs_callback.c:FS_release(136) RELEASE 
path=/28.40018E020000/temperature
   unique: 7, error: 0 (Success), outsize: 16

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to