Hello. I'm new to OWFS but have compiled it and it's working (I believe) on a Raspberry Pi. I can query log data but what I simply want to do is update the clock.
My hardware is a DS1921 connected to a DS9097U. This connects to the Raspberry Pi USB port via a Tripp-Lite U209-000-R serial port adapter (device 2478:2008). Nothing else is connected. The latest code, 2.9p5, is being used. I start the server (as root) like this so I can see everything: owserver -d /dev/ttyUSB0 -p 3333 --error_level=9 --foreground --write Then I issue the following and get an error on read back: root@pi:/home/pi# owwrite -s 18417 21.732801004025/clock/running 0 root@pi:/home/pi# owwrite -s 3333 21.732801004025/clock/date "08/11/14 12:16:00" root@pi:/home/pi# owread -s 3333 21.732801004025/clock/date ServerRead: Data error on 21.732801004025/clock/date I can read the mission data (21.732801004025/log/date.ALL and 21.732801004025/log/temperature.ALL) just fine. I've attached the console log info for owserver and, to me, it looks like it's written data but I'm new at this... :-) My apologies if a text attachment is against etiquette. Thanks, Brad
root@pi:~# owserver -d /dev/ttyUSB0 -p 3333 --error_level=9 --foreground --write DEBUG: ow_daemon.c:(166) main thread id = 3070079504 CONNECT: ow_avahi_link.c:(68) No Avahi support. Library libavahi-client couldn't be loaded CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library isn't found CALL: ow_parsename.c:(102) path=[] DEBUG: owlib.c:(81) Globals temp limits 0C 100C (for simulated adapters) DEBUG: ow_ds9097U.c:(287) Attempt 0 of 3 to initialize the DS9097U DEBUG: ow_ds9097U.c:(381) Send the initial reset to the bus master. DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds CONNECT: ow_tcp_read.c:(110) TIMEOUT after 0 bytes DEBUG: ow_ds9097U.c:(476) Failed first attempt at resetting baud rate of bus master /dev/ttyUSB0 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 24 bytes Time: 10.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 24 - 0 = 24 DEBUG: from_client.c:(66) FromClient payload=44 size=17 type=3 sg=0x10A offset=0 DEBUG: from_client.c:(74) FromClient (no servermessage) payload=44 size=17 type=3 controlflags=0x10A offset=0 DEBUG: ow_tcp_read.c:(64) attempt 44 bytes Time: 10.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 44 - 0 = 44 DEBUG: handler.c:(153) START handler 21.732801004025/clock/date CALL: data.c:(104) DataHandler: parse path=21.732801004025/clock/date DEBUG: ow_parseobject.c:(164) 21.732801004025/clock/date CALL: ow_parsename.c:(102) path=[21.732801004025/clock/date] DEBUG: ow_cache.c:(913) Looking for device 21 73 28 01 00 40 25 DD DEBUG: ow_cache.c:(1069) Search in cache sn 21 73 28 01 00 40 25 DD pointer=0xb6fb02dc index=0 size=4 DEBUG: ow_cache.c:(1105) Value not found in cache DETAIL: ow_presence.c:(81) Checking presence of /21.732801004025/clock/date DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(82) Clearing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 2 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 2 - 0 = 2 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_transaction.c:(131) readin = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_select.c:(248) No DS2409 microlan hub found at this level DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 25 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 25 - 0 = 25 DEBUG: ow_transaction.c:(222) verify = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_presence.c:(269) Presence of 21 73 28 01 00 40 25 DD FOUND on bus /dev/ttyUSB0 DEBUG: ow_cache.c:(547) Adding device location 21 73 28 01 00 40 25 DD bus=0 DEBUG: ow_cache.c:(636) Add to cache sn 21 73 28 01 00 40 25 DD pointer=0xb6fb02dc index=0 size=4 DEBUG: ow_cache.c:(547) Adding device location 21 73 28 01 00 40 25 DD bus=0 DEBUG: ow_cache.c:(636) Add to cache sn 21 73 28 01 00 40 25 DD pointer=0xb6fb02dc index=0 size=4 CALL: data.c:(150) Write message DEBUG: write.c:(51) WriteHandler: hd->sm.payload=44 hd->sm.size=17 hd->sm.offset=0 OWQ_size=17 OWQ_offset=0 OWQ OneWireQuery structure of /21.732801004025/clock/date OneWireQuery size=17 offset=0, extension=0 Byte buffer OneWireQuery buffer, length=17 --000: 30 38 2F 31 31 2F 31 34 20 31 32 3A 31 36 3A 30 --016: 30 <08/11/14 12:16:00> Cleanup = 0002 OneWireQuery I=1407777360 U=1407777360 F=6.95534E-315 Y=1407777360 D=Mon Aug 11 13:16:00 2014 --- OneWireQuery done DEBUG: ow_write.c:(438) Write a non-array element /21.732801004025/clock/date DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 3 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 3 - 0 = 3 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_tcp_read.c:(64) attempt 14 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 14 - 0 = 14 DEBUG: ow_transaction.c:(131) readin = 0 DEBUG: ow_transaction.c:(185) CRC16 = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 10 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 10 - 0 = 10 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 3 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 3 - 0 = 3 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_tcp_read.c:(64) attempt 35 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 35 - 0 = 35 DEBUG: ow_transaction.c:(131) readin = 0 DEBUG: ow_transaction.c:(185) CRC16 = 0 DEBUG: ow_transaction.c:(98) compare = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 4 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 4 - 0 = 4 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(195) Delay 1 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 3 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 3 - 0 = 3 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_tcp_read.c:(64) attempt 20 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 20 - 0 = 20 DEBUG: ow_transaction.c:(131) readin = 0 DEBUG: ow_transaction.c:(185) CRC16 = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 4 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 4 - 0 = 4 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 3 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 3 - 0 = 3 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_tcp_read.c:(64) attempt 21 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 21 - 0 = 21 DEBUG: ow_transaction.c:(131) readin = 0 DEBUG: ow_transaction.c:(185) CRC16 = 0 DEBUG: ow_transaction.c:(98) compare = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 4 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 4 - 0 = 4 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(195) Delay 1 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_cache.c:(1361) Delete from cache sn 21 73 28 01 00 40 25 DD in=0xb6f979a0 index=0 DEBUG: ow_write.c:(496) Write /21.732801004025/clock/date Extension 0 Gives result 0 DEBUG: ow_write.c:(111) Successful write to /21.732801004025/clock/date DEBUG: ow_parsename.c:(61) /21.732801004025/clock/date DEBUG: data.c:(194) DataHandler: FS_ParsedName_destroy done DEBUG: data.c:(208) DataHandler: cm.ret=0 DEBUG: to_client.c:(76) payload=0 size=17, ret=0, sg=0x10A offset=0 DEBUG: to_client.c:(85) No data DEBUG: data.c:(227) Finished with client request DEBUG: handler.c:(135) OWSERVER handler done DEBUG: ow_net_server.c:(238) Normal exit. DEBUG: ow_tcp_read.c:(64) attempt 24 bytes Time: 10.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 24 - 0 = 24 DEBUG: from_client.c:(66) FromClient payload=27 size=65536 type=2 sg=0x10A offset=0 DEBUG: from_client.c:(74) FromClient (no servermessage) payload=27 size=65536 type=2 controlflags=0x10A offset=0 DEBUG: ow_tcp_read.c:(64) attempt 27 bytes Time: 10.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 27 - 0 = 27 DEBUG: handler.c:(153) START handler 21.732801004025/clock/date CALL: data.c:(104) DataHandler: parse path=21.732801004025/clock/date DEBUG: ow_parseobject.c:(164) 21.732801004025/clock/date CALL: ow_parsename.c:(102) path=[21.732801004025/clock/date] DEBUG: ow_cache.c:(913) Looking for device 21 73 28 01 00 40 25 DD DEBUG: ow_cache.c:(1069) Search in cache sn 21 73 28 01 00 40 25 DD pointer=0xb6fb02dc index=0 size=4 DEBUG: ow_cache.c:(1085) Value found in cache. Remaining life: 109 seconds. DEBUG: ow_presence.c:(76) Found device on bus 0 CALL: data.c:(145) Read message DEBUG: read.c:(55) ReadHandler start DEBUG: read.c:(61) ReadHandler: From Client sm->payload=27 sm->size=65536 sm->offset=0 DEBUG: read.c:(79) ReadHandler: call FS_read_postparse on /21.732801004025/clock/date DEBUG: ow_read.c:(79) /21.732801004025/clock/date DEBUG: ow_read.c:(199) /21.732801004025/clock/date DEBUG: ow_read.c:(233) About to read </21.732801004025/clock/date> extension=0 size=24 offset=0 DEBUG: ow_read.c:(328) file_length=24 offset=0 size=24 DEBUG: ow_cache.c:(836) 21 73 28 01 00 40 25 DD size=8 IsUncachedDir=0 DEBUG: ow_cache.c:(1069) Search in cache sn 21 73 28 01 00 40 25 DD pointer=0xb6f979a0 index=0 size=8 DEBUG: ow_cache.c:(1105) Value not found in cache DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 3 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 3 - 0 = 3 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_tcp_read.c:(64) attempt 34 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 34 - 0 = 34 DEBUG: ow_transaction.c:(131) readin = 0 DEBUG: ow_transaction.c:(185) CRC16 = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_read.c:(613) Read /21.732801004025/clock/date Extension 0 Gives result -22 DEBUG: ow_read.c:(248) return=-22 DEBUG: ow_read.c:(258) After read is performed (bytes or error -22) OWQ OneWireQuery structure of /21.732801004025/clock/date OneWireQuery size=24 offset=0, extension=0 Byte buffer OneWireQuery buffer, length=24 --000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 --016: 00 00 00 00 00 00 00 00 <........................> Cleanup = 0006 OneWireQuery I=-1 U=4294967295 F=2.122E-314 Y=-1 D=Wed Dec 31 18:59:59 1969 --- OneWireQuery done DEBUG: ow_read.c:(221) /21.732801004025/clock/date returns -22 DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:(64) attempt 25 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 25 - 0 = 25 DEBUG: ow_transaction.c:(222) verify = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_presence.c:(269) Presence of 21 73 28 01 00 40 25 DD FOUND on bus /dev/ttyUSB0 DEBUG: ow_cache.c:(547) Adding device location 21 73 28 01 00 40 25 DD bus=0 DEBUG: ow_cache.c:(636) Add to cache sn 21 73 28 01 00 40 25 DD pointer=0xb6fb02dc index=0 size=4 DEBUG: ow_read.c:(199) /21.732801004025/clock/date DEBUG: ow_read.c:(233) About to read </21.732801004025/clock/date> extension=0 size=24 offset=0 DEBUG: ow_read.c:(328) file_length=24 offset=0 size=24 DEBUG: ow_cache.c:(836) 21 73 28 01 00 40 25 DD size=8 IsUncachedDir=0 DEBUG: ow_cache.c:(1069) Search in cache sn 21 73 28 01 00 40 25 DD pointer=0xb6f979a0 index=0 size=8 DEBUG: ow_cache.c:(1105) Value not found in cache DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 3 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 3 - 0 = 3 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_tcp_read.c:(64) attempt 34 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 34 - 0 = 34 DEBUG: ow_transaction.c:(131) readin = 0 DEBUG: ow_transaction.c:(185) CRC16 = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_read.c:(613) Read /21.732801004025/clock/date Extension 0 Gives result -22 DEBUG: ow_read.c:(248) return=-22 DEBUG: ow_read.c:(258) After read is performed (bytes or error -22) OWQ OneWireQuery structure of /21.732801004025/clock/date OneWireQuery size=24 offset=0, extension=0 Byte buffer OneWireQuery buffer, length=24 --000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 --016: 00 00 00 00 00 00 00 00 <........................> Cleanup = 0006 OneWireQuery I=-1 U=4294967295 F=2.122E-314 Y=-1 D=Wed Dec 31 18:59:59 1969 --- OneWireQuery done DEBUG: ow_read.c:(221) /21.732801004025/clock/date returns -22 DEBUG: ow_read.c:(199) /21.732801004025/clock/date DEBUG: ow_read.c:(233) About to read </21.732801004025/clock/date> extension=0 size=24 offset=0 DEBUG: ow_read.c:(328) file_length=24 offset=0 size=24 DEBUG: ow_cache.c:(836) 21 73 28 01 00 40 25 DD size=8 IsUncachedDir=0 DEBUG: ow_cache.c:(1069) Search in cache sn 21 73 28 01 00 40 25 DD pointer=0xb6f979a0 index=0 size=8 DEBUG: ow_cache.c:(1105) Value not found in cache DEBUG: ow_select.c:(71) Selecting a path (and device) path=/21.732801004025/clock/date SN=21 73 28 01 00 40 25 DD last path=00 00 00 00 00 00 00 00 DEBUG: ow_select.c:(85) Continuing root branch DEBUG: ow_tcp_read.c:(64) attempt 1 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 1 - 0 = 1 DEBUG: ow_select.c:(227) Selecting device 21 73 28 01 00 40 25 DD DEBUG: ow_tcp_read.c:(64) attempt 9 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 9 - 0 = 9 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_transaction.c:(91) select = 0 DEBUG: ow_tcp_read.c:(64) attempt 3 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 3 - 0 = 3 DEBUG: ow_transaction.c:(113) send = 0 DEBUG: ow_tcp_read.c:(64) attempt 34 bytes Time: 5.000000 seconds DEBUG: ow_tcp_read.c:(114) read: 34 - 0 = 34 DEBUG: ow_transaction.c:(131) readin = 0 DEBUG: ow_transaction.c:(185) CRC16 = 0 DEBUG: ow_transaction.c:(208) end = 0 DEBUG: ow_read.c:(613) Read /21.732801004025/clock/date Extension 0 Gives result -22 DEBUG: ow_read.c:(248) return=-22 DEBUG: ow_read.c:(258) After read is performed (bytes or error -22) OWQ OneWireQuery structure of /21.732801004025/clock/date OneWireQuery size=24 offset=0, extension=0 Byte buffer OneWireQuery buffer, length=24 --000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 --016: 00 00 00 00 00 00 00 00 <........................> Cleanup = 0006 OneWireQuery I=-1 U=4294967295 F=2.122E-314 Y=-1 D=Wed Dec 31 18:59:59 1969 --- OneWireQuery done DEBUG: ow_read.c:(221) /21.732801004025/clock/date returns -22 DEBUG: ow_read.c:(98) /21.732801004025/clock/date return -22 DEBUG: read.c:(81) ReadHandler: FS_read_postparse read on /21.732801004025/clock/date return = -22 OWQ OneWireQuery structure of /21.732801004025/clock/date OneWireQuery size=24 offset=0, extension=0 Byte buffer OneWireQuery buffer, length=24 --000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 --016: 00 00 00 00 00 00 00 00 <........................> Cleanup = 0006 OneWireQuery I=-1 U=4294967295 F=2.122E-314 Y=-1 D=Wed Dec 31 18:59:59 1969 --- OneWireQuery done DEBUG: read.c:(86) ReadHandler: FS_read_postparse error -22 DEBUG: read.c:(100) ReadHandler: To Client cm->payload=0 cm->size=0 cm->offset=0 DEBUG: data.c:(147) Read message done value=(nil) DEBUG: ow_parsename.c:(61) /21.732801004025/clock/date DEBUG: data.c:(194) DataHandler: FS_ParsedName_destroy done DEBUG: data.c:(208) DataHandler: cm.ret=-22 DEBUG: to_client.c:(76) payload=0 size=0, ret=-22, sg=0x10A offset=0 DEBUG: to_client.c:(85) No data DEBUG: data.c:(227) Finished with client request DEBUG: handler.c:(135) OWSERVER handler done DEBUG: ow_net_server.c:(238) Normal exit.
------------------------------------------------------------------------------
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers