viknet <vincent.valdy <at> gmail.com> writes:
>
> Paul Alfille <paul.alfille <at> gmail.com> writes:
>
> >
> > Would it be hard for you to upgrade to the newest OWFS version? It
> > would help my debugging.
> >
> > Paul
>
> OK so first thanks to all of you,
> thanks to Mauricio for providing the patch it did help, of cours I took some
> time to resetup an ubuntu vm and a build env (owfs upgraded to 2.8p4).
> I have not use the patch as a "patch" but given its size I handly include it
> into the trunk
>
> The results seems to be better but I am not here yet, I have yet to find where
> to read the temp and get some funky error in the console.
>
> By the time you respond I might (or not) have found a solution
>
> but here is the error:
>
> NLMSGHDR: len=52 type=3 (NLMSG_DONE) flags=0 seq=1|1 pid=1212
> CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=1|1 ack=65537 len=16 flags=0
> W1_NETLINK_MSG: type=4 (W1_MASTER_CMD) len=4 id=1
> W1_NETLINK_CMD: cmd=2 (W1_CMD_SEARCH) len=0
> Byte buffer Data, length=0
> <>
>
> Thanks again to all of you. I could'nt have find it myself.
>
> regards
>
> Vincent
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
>
Ok I am back and stuck at a latter step so any help is welcome.
I did patch the w1 module with mauricio file, now owfs seems to find a bus
driver but nothing in the directory (precisely there are files and directory but
I cannot see any of my 1 wire sensor)
I paste the full debug info below if anybody has more idea.
root@OpenWrt:/# owfs -V
owfs version:
2.8p4
libow version:
2.8p4
root@OpenWrt:/# uname -a
Linux OpenWrt 2.6.32.27 #1 Wed Dec 15 02:20:48 EST 2010 mips GNU/Linux
root@OpenWrt:/#
root@OpenWrt:~# owfs --w1 --error_level=9 --foreground /root/toto
CONNECT: owfs.c:main(123) fuse mount point: /root/toto
CONNECT: ow_avahi_link.c:OW_Load_avahi_library(72) No Avahi support. Library lib
avahi-client couldn't be loaded
CONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled sinc
e 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 sim
ulated adapters)
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 0 OWFS
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 1 /root/toto
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)]
DEBUG: ow_w1_list.c:w1_list_masters(54) Sending w1 bus master list message
DEBUG: ow_w1_send.c:W1_send_msg(119) Netlink send -----------------
NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=0 seq=0|1 pid=1291
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
Byte buffer Data, length=0
<>
DEBUG: ow_w1_dispatch.c:W1_Dispatch(125) Dispatch loop
DEBUG: ow_w1_parse.c:Netlink_Parse_Get(114) Wait to peek at message
DEBUG: ow_w1_parse.c:Netlink_Parse_Get(122) Pre-parse header: 16 bytes len=52
type=3 seq=0|1 pid=0
DEBUG: ow_w1_parse.c:Netlink_Parse_Get(144) 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=0
W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=4 id=0
Byte buffer Data, length=4
--000: 00 00 00 01
<....>
DEBUG: ow_w1_list.c:w1_parse_master_list(64) W1 List 1 masters
CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[]
DEBUG: ow_w1_addremove.c:CreateIn(48) Created a new bus w1_bus_master1
DEBUG: ow_w1_addremove.c:AddW1Bus(68) Request master be added: w1_master1.
DEBUG: ow_add_inflight.c:Add_InFlight(26) Request master be added: w1_bus_mast
er1
DEBUG: ow_w1_dispatch.c:Dispatch_Packet(92) Sending this packet to root bus
DEBUG: ow_w1_dispatch.c:W1_Dispatch(125) Dispatch loop
DEBUG: ow_w1_parse.c:Netlink_Parse_Get(114) Wait to peek at message
DEBUG: ow_w1_parse.c:Netlink_Parse_Get(122) Pre-parse header: 16 bytes len=48
type=3 seq=0|1 pid=0
DEBUG: ow_w1_parse.c:Netlink_Parse_Get(144) 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
Byte buffer Data, length=0
-- NULL buffer
FUSE library version: 2.8.5
nullpath_ok: 0
DEBUG: ow_w1_dispatch.c:Dispatch_Packet(92) Sending this packet to root bus
DEBUG: ow_w1_list.c:w1_parse_master_list(64) W1 List 0 masters
DEBUG: ow_w1_dispatch.c:W1_Dispatch(125) Dispatch loop
DEBUG: ow_w1_parse.c:Netlink_Parse_Get(114) Wait to peek at message
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.13
flags=0x0000007b
max_readahead=0x00020000
INIT: 7.12
flags=0x00000011
max_readahead=0x00020000
max_write=0x00020000
unique: 1, success, outsize: 40
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers