Looking at the output, it seems like owfs is waiting for your directory
command. Did you ask for a listing of /mnt/1wire in another terminal?

I.e. the w1 message to list bus masters was sent, and responded to (one
found I think).

Paul Alfille


On Fri, Feb 28, 2014 at 9:09 AM, Illico <[email protected]> wrote:

> I would like to use OWFS with direct RaspberryPi GPIO interface using
> kernel
> w1 module, to read DS2423 counters values.
>
> I use the following command :
> */sudo owfs -C --w1 -m /mnt/1wire --allow_other/*
>
> But that freeze and I have to make a CTRL+C to quite.
> With debug option :
>
> */
> pi@illicorasp /opt/owfs/bin $ sudo ./owfs -C --w1 -m /mnt/1wire
> --allow_other --debug
> DEBUG MODE
> libow version:
>         2.9p2
> CONNECT: owfs.c:(96) fuse mount point: /mnt/1wire
> 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:(99) path=[]
>   DEBUG: owlib.c:(81) Globals temp limits 0C 100C (for simulated adapters)
>   DEBUG: fuse_line.c:(82) Added FUSE option 0 OWFS
>   DEBUG: fuse_line.c:(82) Added FUSE option 1 /mnt/1wire
>   DEBUG: fuse_line.c:(82) Added FUSE option 2 -o
>   DEBUG: fuse_line.c:(82) Added FUSE option 3 direct_io
>   DEBUG: fuse_line.c:(82) Added FUSE option 4 -f
>   DEBUG: fuse_line.c:(82) Added FUSE option 5 -d
>   DEBUG: owfs.c:(121) fuse_mnt_opt=[(null)]
>   DEBUG: owfs.c:(123) fuse_open_opt=[(null)]
>   DEBUG: fuse_line.c:(82) Added FUSE option 6 -o
>   DEBUG: fuse_line.c:(82) Added FUSE option 7 allow_other
>   DEBUG: ow_w1_list.c:(54) Sending w1 bus master list message
>   DEBUG: ow_w1_send.c:(132) Netlink send -----------------
> NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=5 seq=0|1 pid=3199
> CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=1 len=12 flags=0
> W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=0 id=0
> W1_NETLINK_CMD: NULL w1c field
> NULL data
>   DEBUG: ow_w1_send.c:(143) NETLINK sent seq=1
>   DEBUG: ow_w1_dispatch.c:(173) Dispatch loop
>   DEBUG: ow_w1_parse.c:(113) Wait to peek at message
>   DEBUG: ow_w1_parse.c:(121) Pre-parse header: 16 bytes len=52 type=3
> seq=0|1 pid=0
>   DEBUG: ow_w1_parse.c:(142) Netlink read -----------------
> NLMSGHDR: len=52 type=3 (NLMSG_DONE) flags=0 seq=0|1 pid=0
> CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=0 len=16 flags=30309
> W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=4 id=29033
> W1_NETLINK_CMD: NULL w1c field
> Byte buffer Data, length=4
> --000: 01 00 00 00
>    <....>
>   DEBUG: ow_w1_dispatch.c:(88) Netlink message directed to root W1 master
>   DEBUG: ow_w1_dispatch.c:(126) Sending this packet to root bus
>   DEBUG: ow_w1_dispatch.c:(173) Dispatch loop
>   DEBUG: ow_w1_parse.c:(113) Wait to peek at message
>   DEBUG: ow_w1_parse.c:(121) Pre-parse header: 16 bytes len=48 type=3
> seq=0|1 pid=0
>   DEBUG: ow_w1_parse.c:(142) Netlink read -----------------
> NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=0 seq=0|1 pid=0
> CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=1 len=12 flags=0
> W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=0 id=0
> W1_NETLINK_CMD: NULL w1c field
> NULL data
>   DEBUG: ow_w1_dispatch.c:(88) Netlink message directed to root W1 master
>   DEBUG: ow_w1_dispatch.c:(126) Sending this packet to root bus
>   DEBUG: ow_w1_dispatch.c:(173) Dispatch loop
>   DEBUG: ow_w1_parse.c:(113) Wait to peek at message
>   DEBUG: ow_w1_scan.c:(54) Netlink (w1) list all bus masters
>   DEBUG: ow_w1_list.c:(64) W1 List 0 masters
>   DEBUG: ow_w1_scan.c:(54) Netlink (w1) list all bus masters
>   DEBUG: ow_w1_list.c:(64) W1 List 1 masters
>   DEBUG: ow_w1_addremove.c:(55) Setup structure for w1_bus_master1
>   DEBUG: ow_w1_addremove.c:(80) Request master be added: w1_bus_master1.
>   DEBUG: ow_add_inflight.c:(26) Request master be added: w1_bus_master1
> FUSE library version: 2.9.0
> nullpath_ok: 0
> nopath: 0
> utime_omit_ok: 0
> unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
> INIT: 7.22
> flags=0x0000f7fb
> max_readahead=0x00020000
>    INIT: 7.18
>    flags=0x00000011
>    max_readahead=0x00020000
>    max_write=0x00020000
>    max_background=0
>    congestion_threshold=0
>    unique: 1, success, outsize: 40
> /*
>
> Does anyone have an idea?
>
> using Linux 3.10.30+ with owfs 2.9p2
>
> Thanks
>
>
>
> --
> View this message in context:
> http://owfs-developers.1086194.n5.nabble.com/RaspberryPi-OWFS-with-direct-w1-kernel-to-read-DS2423-counters-values-failed-tp10423.html
> Sent from the OWFS Developers mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to