Hi guys,
the Raspberry Pi community is again having a hard time using owdir 
command. The problem is only with the w1 kernel module when the DS18B20
thermometer is connected directly to the GPIO pins of Raspberry Pi.

It is possible to read temperature with e.g.
owread /28.1228EF040000/temperature12
but the owdir command "freezes" for about 30 seconds and it detects only 
some (or even none) of the 1-Wire devices.

On 2015/06/28 marcin1j provided this explanation in the Raspberry Pi forum:
After recent kernel w1 subsystem rewrite there's inconsistency between 
kernel and libow code. The official documentation still states that the 
last message from kernel should have ack=0. However, commit 8a0427d
https://github.com/torvalds/linux/commit/8a0427d192e6043834414210dd14cc1289daff18
changed the documented behavior and the last message is no longer marked 
in such a way.

He also suggested this patch
https://github.com/marcin1j/openwrt-packages/blob/2163437b1afd7eeec486721fcf9503362c19b77c/utils/owfs/patches/101-fix-no-reset-routine-segfault.patch
which worked fine at that time but it does not work anymore. I tested it 
with the latest revision of OWFS and the owdir command still does not 
work. And so did others in the forum.

Here is the link to the Raspberry Pi forum for reference:
https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=98772

Does anybody have an idea what might be the root cause of this problem?

With kind regards,
Jaroslav

---
Tato zpráva byla zkontrolována na viry programem Avast Antivirus.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to