PINE64
Dallas 1-Wire Support - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32)
+---- Forum: POT modules (https://forum.pine64.org/forumdisplay.php?fid=8)
+---- Thread: Dallas 1-Wire Support (/showthread.php?tid=1004)

Pages: 1 2 3 4


RE: Dallas 1-Wire Support - Wom the Bat - 12-26-2016

(11-30-2016, 02:23 PM)martinayotte Wrote: You don't need to do modprobe, it should comes automatically.
Check you DTS again, use "gpios = <0x30 0x2 0x8 0x0 0x0 0x0 0x0>;", recompile the DTB, reboot, and recheck.
Otherwise, it must be a wiring problem.

I believe that gpio PC8 as in the DTS is pin 12 on the PI bus.  Try connecting the data line there instead of to pin 7.


RE: Dallas 1-Wire Support - ed_mann - 12-27-2016

(12-26-2016, 10:44 PM)Wom the Bat Wrote:
(11-30-2016, 02:23 PM)martinayotte Wrote: You don't need to do modprobe, it should comes automatically.
Check you DTS again, use "gpios = <0x30 0x2 0x8 0x0 0x0 0x0 0x0>;", recompile the DTB, reboot, and recheck.
Otherwise, it must be a wiring problem.

I believe that gpio PC8 as in the DTS is pin 12 on the PI bus.  Try connecting the data line there instead of to pin 7.

Thanks Wom the Bat, that was it. It's working now.