Hello,
as an alternative to the DS2483 busmaster setup I just tried using
w1-gpio.
Unfortunately this will produce a system freeze :(
I'm uncertain if the problem is with the w1-gpio module, owfs or
both.
Here is what I do (stock version of owfs from raspian wheezy 2.8p15):
~/ # owserver --error_print 2 --error_level 99 --foreground --w1
NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=5 seq=0|1 pid=2004
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
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=65556
W1_NETLINK_CMD: NULL w1c field
Byte buffer Data, length=4
--000: 01 00 00 00
<....>
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
...
Then I type "owdir" which produces the following output on owserver:
NLMSGHDR: len=52 type=3 (NLMSG_DONE) flags=5 seq=1|1 pid=2004
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
NULL data
... and hard freezes the system afterwords.
As tehe kernel reports an oops on the console I consider this to be a
bug in the w1-gpio provided by raspbian wheezy.
Does anybody know who is responsible for the Raspberry Pi adaption of
this module?
The hardware setup is very simple. Just a temperature sensor on the
gpio-pin and an additional pullup resistor on the gpio.
Unfortunately manual w1 access via sysfs works fine.
Regards
Sven
--
TCP/IP: telecommunication protocol for imbibing pilsners
(Man-page uubp(1C) on Debian/GNU Linux)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers