cubieplayer / Cubian

Debian for Cubieboard
http://cubian.org
271 stars 49 forks source link

Cubian and One wire #419

Open GithBM opened 9 years ago

GithBM commented 9 years ago

Is it possible to have 1-wire on Cubian distro ? I have search many time but i dont want to modify the kernel and his options !! Regards

danfos commented 9 years ago

If I read http://docs.cubieboard.org/tutorials/cb1/customization/ds18b20_via_1-wire, you can indeed compile support in the kernel but you can also "compile these as modules as you like, and the generated modules are gpio_sunxi, w1_sunxi, w1_gpio, w1_slave_therm. "

Did not try it but I think Cubian has support for it already.

See http://linux-sunxi.org/1-Wire for more information.

GithBM commented 9 years ago

OK thanks you , I have just to find them now .If you have a clue , it will be useful for me.

danfos commented 9 years ago

Some clues on how to compile modules can be found on the bottom of issue https://github.com/cubieplayer/Cubian/issues/18

$ apt-cache search linux*-sun
libvdpau-sunxi - experimental VDPAU implementation for sunxi SoCs.
linux-image-3.4.79-headless-sun4i - Linux 3.4.79 for allwinner A10 devices
linux-image-3.4.79-headless-sun7i - Linux 3.4.79 for allwinner A20 devices
linux-image-3.4.79-sun4i - Linux 3.4.79 for allwinner A10 devices
linux-image-3.4.79-sun7i - Linux 3.4.79 for allwinner A20 devices