Debug log from owserver is provided below:

Both owserver and owfs are 2.8p14 versions. owserver run on arm linux
machine and owfs on x86 linux machine. I don't have a fuse module on
arm, so can't test it on the same machine right now.

Any help with this is highly appreciated.

cat 211111111 > set_alarm

====owserver log====

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:(67) FromClient payload=46 size=10 type=3
sg=0x104 offset=0
  DEBUG: from_client.c:(75) FromClient (no servermessage) payload=46
size=10 type=3 controlflags=0x104 offset=0
  DEBUG: ow_tcp_read.c:(64) attempt 46 bytes Time: 10.000000 seconds
  DEBUG: ow_tcp_read.c:(114) read: 46 - 0 = 46
  DEBUG: handler.c:(75) Persistence requested
  DEBUG: handler.c:(155) START handler /uncached/29.794008000000/set_alarm
   CALL: data.c:(104) DataHandler: parse
path=/uncached/29.794008000000/set_alarm
  DEBUG: ow_parseobject.c:(164) /uncached/29.794008000000/set_alarm
   CALL: ow_parsename.c:(95) path=[/uncached/29.794008000000/set_alarm]
  DEBUG: ow_cache.c:(927) Looking for device 29 79 40 08 00 00 00 D8
  DEBUG: ow_cache.c:(1083) Search in cache sn 29 79 40 08 00 00 00 D8
pointer=0x2ac35694 index=0 size=4
  DEBUG: ow_cache.c:(1099) Value found in cache. Remaining life: 4 seconds.
  DEBUG: ow_presence.c:(76) Found device on bus 0
   CALL: data.c:(150) Write message
  DEBUG: write.c:(51) WriteHandler: hd->sm.payload=46 hd->sm.size=10
hd->sm.offset=0 OWQ_size=10 OWQ_offset=0
OWQ OneWireQuery structure of /uncached/29.794008000000/set_alarm
    OneWireQuery size=10 offset=0, extension=0
Byte buffer OneWireQuery buffer, length=10
--000: 32 31 31 31 31 31 31 31 31 0A
   <211111111.>
    Cleanup = 0002    OneWireQuery I=211111111 U=211111111
F=1.04303E-315 Y=211111111 D=Thu Sep  9 09:58:31 1976

--- OneWireQuery done
  DEBUG: ow_write.c:(424) Write a non-array element
/uncached/29.794008000000/set_alarm
  DEBUG: ow_select.c:(66) Selecting a path (and device)
path=/uncached/29.794008000000/set_alarm SN=29 79 40 08 00 00 00 D8
last path=00 00 00 00 00 00 00 00
  DEBUG: ow_select.c:(79) Continuing root branch
  DEBUG: ow_transaction.c:(84) select = 0
  DEBUG: ow_transaction.c:(106) send = 0
  DEBUG: ow_transaction.c:(124) readin = 0
  DEBUG: ow_transaction.c:(178) CRC16 = 0
  DEBUG: ow_transaction.c:(201) end = 0
  DEBUG: ow_select.c:(66) Selecting a path (and device)
path=/uncached/29.794008000000/set_alarm SN=29 79 40 08 00 00 00 D8
last path=00 00 00 00 00 00 00 00
  DEBUG: ow_select.c:(79) Continuing root branch
  DEBUG: ow_transaction.c:(84) select = 0
  DEBUG: ow_transaction.c:(106) send = 0
  DEBUG: ow_transaction.c:(106) send = 0
  DEBUG: ow_transaction.c:(106) send = 0
  DEBUG: ow_transaction.c:(201) end = 0
  DEBUG: ow_select.c:(66) Selecting a path (and device)
path=/uncached/29.794008000000/set_alarm SN=29 79 40 08 00 00 00 D8
last path=00 00 00 00 00 00 00 00
  DEBUG: ow_select.c:(79) Continuing root branch
  DEBUG: ow_transaction.c:(84) select = 0
  DEBUG: ow_transaction.c:(106) send = 0
  DEBUG: ow_transaction.c:(124) readin = 0
  DEBUG: ow_transaction.c:(178) CRC16 = 0
  DEBUG: ow_transaction.c:(201) end = 0
  DEBUG: ow_cache.c:(1375) Delete from cache sn 29 79 40 08 00 00 00
D8 in=0x2ac23db8 index=0
  DEBUG: ow_write.c:(482) Write /uncached/29.794008000000/set_alarm
Extension 0 Gives result 0
  DEBUG: ow_write.c:(111) Successful write to
/uncached/29.794008000000/set_alarm
  DEBUG: ow_parsename.c:(59) /uncached/29.794008000000/set_alarm
  DEBUG: data.c:(194) DataHandler: FS_ParsedName_destroy done
  DEBUG: data.c:(208) DataHandler: cm.ret=0
  DEBUG: to_client.c:(56) payload=0 size=10, ret=0, sg=0x104 offset=0
  DEBUG: data.c:(228) Finished with client request
  DEBUG: handler.c:(134) OWSERVER tcp connection persistence --
reusing connection now.
  DEBUG: ow_tcp_read.c:(64) attempt 24 bytes Time: 10.000000 seconds
  DEBUG: ow_tcp_read.c:(114) read: 24 - 24 = 0
  DEBUG: handler.c:(137) OWSERVER handler done
  DEBUG: ow_net_server.c:(236) Normal exit.

====owserver log====

$ cat set_alarm
222222222

====owserver log====

 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:(67) FromClient payload=36 size=32768 type=2
sg=0x104 offset=0
  DEBUG: from_client.c:(75) FromClient (no servermessage) payload=36
size=32768 type=2 controlflags=0x104 offset=0
  DEBUG: ow_tcp_read.c:(64) attempt 36 bytes Time: 10.000000 seconds
  DEBUG: ow_tcp_read.c:(114) read: 36 - 0 = 36
  DEBUG: handler.c:(75) Persistence requested
  DEBUG: handler.c:(155) START handler /uncached/29.794008000000/set_alarm
   CALL: data.c:(104) DataHandler: parse
path=/uncached/29.794008000000/set_alarm
  DEBUG: ow_parseobject.c:(164) /uncached/29.794008000000/set_alarm
   CALL: ow_parsename.c:(95) path=[/uncached/29.794008000000/set_alarm]
  DEBUG: ow_cache.c:(927) Looking for device 29 79 40 08 00 00 00 D8
  DEBUG: ow_cache.c:(1083) Search in cache sn 29 79 40 08 00 00 00 D8
pointer=0x2ac35694 index=0 size=4
  DEBUG: ow_cache.c:(1099) Value found in cache. Remaining life: 75 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=36
sm->size=32768 sm->offset=0
  DEBUG: read.c:(79) ReadHandler: call FS_read_postparse on
/uncached/29.794008000000/set_alarm
  DEBUG: ow_read.c:(79) /uncached/29.794008000000/set_alarm
  DEBUG: ow_read.c:(199) /uncached/29.794008000000/set_alarm
  DEBUG: ow_read.c:(233) About to read
</uncached/29.794008000000/set_alarm> extension=0 size=12 offset=0
  DEBUG: ow_read.c:(329) file_length=12 offset=0 size=12
  DEBUG: ow_select.c:(66) Selecting a path (and device)
path=/uncached/29.794008000000/set_alarm SN=29 79 40 08 00 00 00 D8
last path=00 00 00 00 00 00 00 00
  DEBUG: ow_select.c:(79) Continuing root branch
  DEBUG: ow_transaction.c:(84) select = 0
  DEBUG: ow_transaction.c:(106) send = 0
  DEBUG: ow_transaction.c:(124) readin = 0
  DEBUG: ow_transaction.c:(178) CRC16 = 0
  DEBUG: ow_transaction.c:(201) end = 0
  DEBUG: ow_read.c:(592) Read /uncached/29.794008000000/set_alarm
Extension 0 Gives result 0
  DEBUG: ow_cache.c:(390) Adding data for /uncached/29.794008000000/set_alarm
  DEBUG: ow_cache.c:(427) 29 79 40 08 00 00 00 D8 size=8
  DEBUG: ow_cache.c:(650) Add to cache sn 29 79 40 08 00 00 00 D8
pointer=0x2ac23db8 index=0 size=8
  DEBUG: ow_read.c:(249) return=0
Byte buffer OWQ_parse_output_offset_and_size, length=12
--000: 20 20 20 32 32 32 32 32 32 32 32 32
   <   222222222>
  DEBUG: ow_read.c:(259) After read is performed (bytes or error 12)
OWQ OneWireQuery structure of /uncached/29.794008000000/set_alarm
    OneWireQuery size=12 offset=0, extension=0
Byte buffer OneWireQuery buffer, length=12
--000: 20 20 20 32 32 32 32 32 32 32 32 32
   <   222222222>
    Cleanup = 0006    OneWireQuery I=12 U=12 F=5.92879E-323 Y=12 D=Thu
Jan  1 00:00:12 1970

--- OneWireQuery done
  DEBUG: ow_read.c:(221) /uncached/29.794008000000/set_alarm returns 12
  DEBUG: ow_read.c:(98) /uncached/29.794008000000/set_alarm return 12
  DEBUG: read.c:(81) ReadHandler: FS_read_postparse read on
/uncached/29.794008000000/set_alarm return = 12
OWQ OneWireQuery structure of /uncached/29.794008000000/set_alarm
    OneWireQuery size=12 offset=0, extension=0
Byte buffer OneWireQuery buffer, length=12
--000: 20 20 20 32 32 32 32 32 32 32 32 32
   <   222222222>
    Cleanup = 0006    OneWireQuery I=12 U=12 F=5.92879E-323 Y=12 D=Thu
Jan  1 00:00:12 1970

--- OneWireQuery done
  DEBUG: read.c:(89) ReadHandler: FS_read_postparse ok size=12
  DEBUG: read.c:(100) ReadHandler: To Client cm->payload=12
cm->size=12 cm->offset=0
Byte buffer Data returned to client, length=12
-- NULL buffer
  DEBUG: data.c:(147) Read message done value=0xc733b0
  DEBUG: ow_parsename.c:(59) /uncached/29.794008000000/set_alarm
  DEBUG: data.c:(194) DataHandler: FS_ParsedName_destroy done
  DEBUG: data.c:(208) DataHandler: cm.ret=12
  DEBUG: to_client.c:(56) payload=12 size=12, ret=12, sg=0x104 offset=0
  DEBUG: data.c:(228) Finished with client request
  DEBUG: handler.c:(134) OWSERVER tcp connection persistence --
reusing connection now.
  DEBUG: ow_tcp_read.c:(64) attempt 24 bytes Time: 10.000000 seconds
  DEBUG: ow_tcp_read.c:(114) read: 24 - 24 = 0
  DEBUG: handler.c:(137) OWSERVER handler done
  DEBUG: ow_net_server.c:(236) Normal exit.

====owserver log====

Best Regards,

Ivan, PhD




On Mon, Apr 2, 2012 at 1:01 AM, Ivan Lisenkov <[email protected]> wrote:
>
> Hello,
>
> Setting alarms for DS2408 seems to be broken again:
>
> wget -qO - 
> http://owhttpd.host/json/alarm/29.794008000000/set_alarm/?set_alarm=311111111
> set_alarm    322222222
>
> wget -qO - 
> http://owhttpd.host/json/alarm/29.794008000000/set_alarm/?set_alarm=322222222
> set_alarm    300000008
>
> There ware some complains on such behaviour for 2.8p13, but I though it was 
> fixed in 2.8p14.
>
>
>
> Best Regards,
>
> Ivan, PhD
>
>

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to