1-wire Dallas RTC

Started by azuolas, August 07, 2013, 05:49:00 PM

Previous topic - Next topic


had anybody succeeded to connect Dallas 1-wire RTC to olinuxino? I had recompiled kernel with enabled "Dallas's 1-wire support" option in "Device Drivers". but now I can not see any new device in /dev/ directory. or 1wire device should be accessed in another way?


If you are using a recent (>=3.8 ) kernel, you have to adjust the device tree file (dts) to describe your hardware: which pin is connected to what?

The dts file for olinuxino is arch/arm/boot/dts/imx23-olinuxino.dts

You should just need to look at the devicetree documentation for that dallas 1-wire RTC to see how to had the missing infos... However, I just checked and could not see any info for 1-wire, only for i2c. I guess you will have to look at the sources for that RTC's module.