On Thu, 14 Oct 2010 16:14:31 -0400
Gregg Levine
<[email protected]> wrote:
> On Thu, Oct 14, 2010 at 3:22 PM, Paul Alfille
><[email protected]> wrote:
>> I certainly know the internals.
>>
>> I don't know if it's endian sensitive. I used the kernel headers
>>from
>> the netlink for the netlink information. Can I send you an
>> "instrumented" owfs version that will print out more detail?
>>
>> Paul Alfille
>>
>
> Hello!
> I quite agree Itzok, however Maxim-IC/DS also makes a GPIO/I2C to
> One-Wire chip that could be utilized. It just depends on how the
> system was strapped. Ideally the problem is with the hardware for
>the
> router, not with the OS.
I know there are I2C and serial and USB to 1-wire chips available, but I need to control
just 1-2 sensors on each board and I'm trying to keep the costs down as much as possible.
That's the main reason I'm sticking with the w1-gpio solution. The cost of adding serial or usb ports to the board is not acceptable. On the other side I could actually use an I2C-->1-wire chip (like the 2480-100) but the i2c would be still driven by the i2c-over-gpio kernel driver... so, this would be a "workaround" of some kind...
On the other side - the kernel part is working correctly - as I already mentioned a few times.
If I use the kernel-level thermal-slave driver I can read the temperature reading of the sensor with no problems - so the hardware is working!
There must be some sort of software/configuration problem which I cannot determine/solve.
>
> Actually Mauricio if you want to be adventurous that's your next
>step,
Yeah, adventurous... you can say so.... I'm rather pissed when something that "anybody else is using" wont work for me for some "undefined" reason. I'm not happy until I find a reason for "not working" (or better fix things to make them work)
> besides the OWFS code with more debugging enabled. Paul you're
>asking
> for debugging? What's this?:
> --
> r...@wgt634u:~# owserver --w1 --debug -p 4000
> CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[]
> DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C
>100C
> (for simulated adapters)
> DEBUG: owserver.c:main(152) main_threadid = 715849728
> 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=880
> 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=65544
> Byte buffer Data, length=4
> --000: 01 00 00CONNECT: ow_zero.c:ZeroConf_Announce(144) Zeroconf
>and/or
> Multithreading are not enabled
> 00
>
> 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_list.c:w1_parse_master_list(64) W1 List 1 masters
> DEBUG: ow_w1_parse.c:Netlink_Parse_Get(122) Pre-parse header: 16
> bytes len=48 type=3 seq=0|1 pid=0
> ----
> Or do you want more information, then?
> -----
> Gregg C Levine [email protected]
> "This signature fought the Time Wars, time and again."
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating
>great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> On Thu, Oct 14, 2010 at 3:22 PM, Paul Alfille
><[email protected]> wrote:
>> I certainly know the internals.
>>
>> I don't know if it's endian sensitive. I used the kernel headers
>>from
>> the netlink for the netlink information. Can I send you an
>> "instrumented" owfs version that will print out more detail?
>>
>> Paul Alfille
>>
>
> Hello!
> I quite agree Itzok, however Maxim-IC/DS also makes a GPIO/I2C to
> One-Wire chip that could be utilized. It just depends on how the
> system was strapped. Ideally the problem is with the hardware for
>the
> router, not with the OS.
I know there are I2C and serial and USB to 1-wire chips available, but I need to control
just 1-2 sensors on each board and I'm trying to keep the costs down as much as possible.
That's the main reason I'm sticking with the w1-gpio solution. The cost of adding serial or usb ports to the board is not acceptable. On the other side I could actually use an I2C-->1-wire chip (like the 2480-100) but the i2c would be still driven by the i2c-over-gpio kernel driver... so, this would be a "workaround" of some kind...
On the other side - the kernel part is working correctly - as I already mentioned a few times.
If I use the kernel-level thermal-slave driver I can read the temperature reading of the sensor with no problems - so the hardware is working!
There must be some sort of software/configuration problem which I cannot determine/solve.
>
> Actually Mauricio if you want to be adventurous that's your next
>step,
Yeah, adventurous... you can say so.... I'm rather pissed when something that "anybody else is using" wont work for me for some "undefined" reason. I'm not happy until I find a reason for "not working" (or better fix things to make them work)
> besides the OWFS code with more debugging enabled. Paul you're
>asking
> for debugging? What's this?:
> --
> r...@wgt634u:~# owserver --w1 --debug -p 4000
> CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[]
> DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C
>100C
> (for simulated adapters)
> DEBUG: owserver.c:main(152) main_threadid = 715849728
> 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=880
> 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=65544
> Byte buffer Data, length=4
> --000: 01 00 00CONNECT: ow_zero.c:ZeroConf_Announce(144) Zeroconf
>and/or
> Multithreading are not enabled
> 00
>
> 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_list.c:w1_parse_master_list(64) W1 List 1 masters
> DEBUG: ow_w1_parse.c:Netlink_Parse_Get(122) Pre-parse header: 16
> bytes len=48 type=3 seq=0|1 pid=0
> ----
> Or do you want more information, then?
> -----
> Gregg C Levine [email protected]
> "This signature fought the Time Wars, time and again."
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating
>great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb
_______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
