I have simple lab with RP + DS18B20 Linux raspberrypi 3.18.10+ #774 owfs-3.1p0
configure:20916: result: Current configuration: configure:20918: result: configure:20921: result: Deployment location: /opt/owfs configure:20924: result: configure:20926: result: Compile-time options: configure:20933: result: USB is DISABLED configure:20940: result: AVAHI is DISABLED configure:20944: result: I2C is enabled configure:20951: result: W1 is enabled configure:20958: result: Parallel port DS1410E is enabled configure:20965: result: Zeroconf/Bonjour is enabled configure:20972: result: Debug-output is enabled configure:20979: result: Mutexdebug is enabled configure:20989: result: Profiling is DISABLED configure:20996: result: Tracing memory allocation is DISABLED configure:21000: result: configure:21002: result: Module configuration: configure:21006: result: owlib is enabled configure:21013: result: owshell is enabled configure:21020: result: owfs is enabled configure:21027: result: owhttpd is enabled configure:21034: result: owftpd is enabled configure:21041: result: owserver is enabled configure:21048: result: owexternal is enabled configure:21055: result: ownet is enabled configure:21062: result: ownetlib is enabled configure:21069: result: owtap is enabled configure:21076: result: owmon is enabled configure:21083: result: owcapi is enabled configure:21093: result: swig is DISABLED configure:21100: result: owperl is DISABLED configure:21107: result: owphp is DISABLED configure:21114: result: owpython is DISABLED configure:21121: result: owtcl is DISABLED owfs.conf ! server: server = localhost:4304 server: w1 server: port = 0.0.0.0:4304 mountpoint = /mnt/1wire allow_other I start owserver --debug -c /etc/owfs.conf If I read value from sensor - I get the right answer root@raspberrypi:/opt/owfs/bin# ./owdir -s localhost:4304 /28.DC7FDE050000 /28.DC7FDE050000/address /28.DC7FDE050000/alias /28.DC7FDE050000/crc8 /28.DC7FDE050000/errata /28.DC7FDE050000/family /28.DC7FDE050000/fasttemp /28.DC7FDE050000/id /28.DC7FDE050000/locator /28.DC7FDE050000/power /28.DC7FDE050000/r_address /28.DC7FDE050000/r_id /28.DC7FDE050000/r_locator /28.DC7FDE050000/scratchpad /28.DC7FDE050000/temperature /28.DC7FDE050000/temperature10 /28.DC7FDE050000/temperature11 /28.DC7FDE050000/temperature12 /28.DC7FDE050000/temperature9 /28.DC7FDE050000/temphigh /28.DC7FDE050000/templow /28.DC7FDE050000/type But, if i want to send: owdir -s localhost:4304 / server starts to lag 05/04/15 - 02:54:26:482] DEBUG: ow_tcp_read.c:(63) attempt 24 bytes Time: 10.000000 seconds 05/04/15 - 02:54:26:484] DEBUG: ow_tcp_read.c:(113) read: 24 - 0 = 24 05/04/15 - 02:54:26:484] DEBUG: from_client.c:(66) FromClient payload=2 size=0 type=7 sg=0x10A offset=0 05/04/15 - 02:54:26:484] DEBUG: from_client.c:(74) FromClient (no servermessage) payload=2 size=0 type=7 controlflag 05/04/15 - 02:54:26:484] s=0x10A offset=0 05/04/15 - 02:54:26:484] DEBUG: ow_tcp_read.c:(63) attempt 2 bytes Time: 10.000000 seconds 05/04/15 - 02:54:26:484] DEBUG: ow_tcp_read.c:(113) read: 2 - 0 = 2 05/04/15 - 02:54:26:484] DEBUG: handler.c:(153) START handler / 05/04/15 - 02:54:26:484] CALL: data.c:(103) DataHandler: parse path=/ 05/04/15 - 02:54:26:487] DEBUG: ow_parseobject.c:(163) / 05/04/15 - 02:54:26:487] CALL: ow_parsename.c:(102) path=[/] 05/04/15 - 02:54:26:487] CALL: data.c:(163) Directory message (all at once) 05/04/15 - 02:54:26:487] DEBUG: dirall.c:(66) OWSERVER Dir-All SpecifiedBus=0 path = / 05/04/15 - 02:54:26:487] DEBUG: ow_dir.c:(78) path=/ 05/04/15 - 02:54:26:487] CALL: ow_dir.c:(102) path=/ 05/04/15 - 02:54:26:488] DEBUG: ow_cache.c:(853) Looking for directory 00 00 00 00 00 00 00 00 05/04/15 - 02:54:26:489] DEBUG: ow_cache.c:(866) Get from cache sn 00 00 00 00 00 00 00 00 pointer=0xb6fbe9dc extens 05/04/15 - 02:54:26:489] ion=1 05/04/15 - 02:54:26:489] DEBUG: ow_cache.c:(895) Dir not found in cache 05/04/15 - 02:54:26:490] DEBUG: ow_search.c:(32) Start of directory path=/ device=00 00 00 00 00 00 00 00 05/04/15 - 02:54:26:490] DEBUG: ow_w1.c:(125) Sending w1 search (list devices) message 05/04/15 - 02:54:26:492] DEBUG: ow_w1_send.c:(132) Netlink send ----------------- 05/04/15 - 02:54:26:492] LMSGHDR: len=52 type=3 (NLMSG_DONE) flags=5 seq=1|85 pid=2512 [05/04/15 - 02:54:26:492] CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=1|85 ack=65621 len=16 flags=0 [05/04/15 - 02:54:26:492] W1_NETLINK_MSG: type=4 (W1_MASTER_CMD) len=4 id=1 [05/04/15 - 02:54:26:493] W1_NETLINK_CMD: cmd=2 (W1_CMD_SEARCH) len=0 [05/04/15 - 02:54:26:493] NULL data [05/04/15 - 02:54:26:495] DEBUG: ow_w1_send.c:(143) NETLINK sent seq=85 [05/04/15 - 02:54:26:495] DEBUG: ow_cache.c:(853) Looking for directory 00 00 00 00 00 00 00 00 [05/04/15 - 02:54:26:495] DEBUG: ow_cache.c:(866) Get from cache sn 00 00 00 00 00 00 00 00 pointer=0xb6fbe9dc extens [05/04/15 - 02:54:26:495] ion=0 [05/04/15 - 02:54:26:496] DEBUG: ow_cache.c:(895) Dir not found in cache [05/04/15 - 02:54:26:530] DEBUG: ow_w1_parse.c:(120) Pre-parse header: 16 bytes len=60 type=3 seq=1|85 pid=0 [05/04/15 - 02:54:26:530] DEBUG: ow_w1_parse.c:(141) Netlink read ----------------- [05/04/15 - 02:54:26:530] NLMSGHDR: len=60 type=3 (NLMSG_DONE) flags=0 seq=1|85 pid=0 [05/04/15 - 02:54:26:530] CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=1|85 ack=65622 len=24 flags=0 [05/04/15 - 02:54:26:530] W1_NETLINK_MSG: type=4 (W1_MASTER_CMD) len=12 id=1 [05/04/15 - 02:54:26:530] W1_NETLINK_CMD: cmd=2 (W1_CMD_SEARCH) len=8 [05/04/15 - 02:54:26:530] Byte buffer Data, length=8 [05/04/15 - 02:54:26:530] --000: 28 DC 7F DE 05 00 00 84 [05/04/15 - 02:54:26:530] <(.......> [05/04/15 - 02:54:26:530] DEBUG: ow_w1_dispatch.c:(91) Netlink message directed to W1 bus master 1 [05/04/15 - 02:54:26:530] DEBUG: ow_w1_dispatch.c:(148) Sending this packet to w1_bus_master1 [05/04/15 - 02:54:26:530] DEBUG: ow_w1_dispatch.c:(172) Dispatch loop [05/04/15 - 02:54:26:531] DEBUG: ow_w1_parse.c:(112) Wait to peek at message [05/04/15 - 02:54:26:532] DEBUG: ow_w1_parse.c:(229) Loop waiting for netlink piped message [05/04/15 - 02:54:26:533] DEBUG: ow_w1_parse.c:(162) Pipe header: len=60 type=3 seq=1|85 pid=0 [05/04/15 - 02:54:26:533] DEBUG: ow_w1_parse.c:(195) Pipe read -------------------- [05/04/15 - 02:54:26:533] NLMSGHDR: len=60 type=3 (NLMSG_DONE) flags=0 seq=1|85 pid=0 [05/04/15 - 02:54:26:535] CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=1|85 ack=65622 len=24 flags=0 [05/04/15 - 02:54:26:535] W1_NETLINK_MSG: type=4 (W1_MASTER_CMD) len=12 id=1 [05/04/15 - 02:54:26:535] W1_NETLINK_CMD: cmd=2 (W1_CMD_SEARCH) len=8 [05/04/15 - 02:54:26:535] Byte buffer Data, length=8 [05/04/15 - 02:54:26:535] --000: 28 DC 7F DE 05 00 00 84 [05/04/15 - 02:54:26:537] <(..... DEBUG: ow_w1_parse.c:(120) Pre-parse header: 16 bytes len=52 type=3 seq=1|85 pid= [05/04/15 - 02:54:26:537] 0 [05/04/15 - 02:54:26:538] DEBUG: ow_w1_parse.c:(141) Netlink read ----------------- [05/04/15 - 02:54:26:538] NLMSGHDR: len=52 type=3 (NLMSG_DONE) flags=0 seq=1|85 pid=0 [05/04/15 - 02:54:26:538] CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=1|85 ack=65621 len=16 flags=0 [05/04/15 - 02:54:26:538] W1_NETLINK_MSG: type=4 (W1_MASTER_CMD) len=4 id=1 [05/04/15 - 02:54:26:539] W1_NETLINK_CMD: cmd=2 (W1_CMD_SEARCH) len=0 [05/04/15 - 02:54:26:539] NULL data [05/04/15 - 02:54:26:539] DEBUG: ow_w1_dispatch.c:(91) Netlink message directed to W1 bus master 1 [05/04/15 - 02:54:26:539] DEBUG: ow_w1_dispatch.c:(148) Sending this packet to w1_bus_master1 [05/04/15 - 02:54:26:540] DEBUG: ow_w1_dispatch.c:(172) Dispatch loop [05/04/15 - 02:54:26:540] DEBUG: ow_w1_parse.c:(112) Wait to peek at message [05/04/15 - 02:54:26:540] ..> [05/04/15 - 02:54:26:542] DEBUG: ow_w1_parse.c:(249) About to call nrs_callback [05/04/15 - 02:54:26:542] DEBUG: ow_w1_parse.c:(251) Called nrs_callback [05/04/15 - 02:54:26:543] DEBUG: ow_w1_parse.c:(229) Loop waiting for netlink piped message [05/04/15 - 02:54:26:543] DEBUG: ow_w1_parse.c:(162) Pipe header: len=52 type=3 seq=1|85 pid=0 [05/04/15 - 02:54:26:543] DEBUG: ow_w1_parse.c:(195) Pipe read -------------------- [05/04/15 - 02:54:26:543] NLMSGHDR: len=52 type=3 (NLMSG_DONE) flags=0 seq=1|85 pid=0 [05/04/15 - 02:54:26:543] CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=1|85 ack=65621 len=16 flags=0 [05/04/15 - 02:54:26:545] W1_NETLINK_MSG: type=4 (W1_MASTER_CMD) len=4 id=1 [05/04/15 - 02:54:26:545] W1_NETLINK_CMD: cmd=2 (W1_CMD_SEARCH) len=0 [05/04/15 - 02:54:26:545] NULL data [05/04/15 - 02:54:26:545] DEBUG: ow_w1_parse.c:(249) About to call nrs_callback [05/04/15 - 02:54:26:545] DEBUG: ow_w1_parse.c:(251) Called nrs_callback [05/04/15 - 02:54:27:485] DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse [05/04/15 - 02:54:27:485] DEBUG: to_client.c:(76) payload=-1 size=0, ret=0, sg=0x0 offset=0 [05/04/15 - 02:54:27:485] DEBUG: to_client.c:(83) Send delay message (ping) [05/04/15 - 02:54:28:486] DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse [05/04/15 - 02:54:28:486] DEBUG: to_client.c:(76) payload=-1 size=0, ret=0, sg=0x0 offset=0 [05/04/15 - 02:54:28:486] DEBUG: to_client.c:(83) Send delay message (ping) [05/04/15 - 02:54:34:501] DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(76) payload=-1 size=0, ret=0, sg=0x0 offset=0 [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(83) Send delay message (ping) [05/04/15 - 02:54:34:501] DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(76) payload=-1 size=0, ret=0, sg=0x0 offset=0 [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(83) Send delay message (ping) [05/04/15 - 02:54:34:501] DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(76) payload=-1 size=0, ret=0, sg=0x0 offset=0 [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(83) Send delay message (ping) [05/04/15 - 02:54:34:501] DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(76) payload=-1 size=0, ret=0, sg=0x0 offset=0 [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(83) Send delay message (ping) [05/04/15 - 02:54:34:501] DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(76) payload=-1 size=0, ret=0, sg=0x0 offset=0 [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(83) Send delay message (ping) [05/04/15 - 02:54:34:501] DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(76) payload=-1 size=0, ret=0, sg=0x0 offset=0 [05/04/15 - 02:54:34:501] DEBUG: to_client.c:(83) Send delay message (ping) [05/04/15 - 02:54:35:499] DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse and at this moment I can't read read value from sensor. also - i can't find anything at /mnt/1wire - it's empty. can you help me? -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/some-problem-with-owserver-tp11288.html Sent from the OWFS Developers mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers