[Arm-dev] How to enable i2c

Philip Manuel systems at zomojo.com
Sun Jan 6 22:18:40 UTC 2019


Hi all,

thanks for the replies, yes I was putting the entries in cmdline.txt and
not config.txt, once I corrected this everything was good.

Thanks again for your help.

Phil

On Sun, Jan 6, 2019 at 8:41 AM RC <cjvijf at gmail.com> wrote:

> yeah, one needs to enable a thing or 2-3 in a boot config file on an image.
>
> This one here is the guide for an Ubuntu version, but I run centos on
> several raspberry pi boards, and seeems to work.
>
>
> https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c
>
>
>
> oops on the reply instead of reply-list
>
>
>
> On 1/5/19 2:34 PM, Fabian Arrotin wrote:
>
> On 04/01/2019 01:16, Philip Manuel wrote:
>
> Hi,
>
> I've added the following parameters to /boot/cmdline.txt
>
> i2c_arm=on i2c1=on i2c0=on
>
> but I get no /dev/i2c* entries, but dmesg shows
>
> i2c /dev entries driver
>
> What am I missing ?
>
> Thanks
>
> Phil
>
>
> https://wiki.centos.org/SpecialInterestGroup/AltArch/Arm32-old?highlight=%28i2c%29#head-b3f767d98104911e2d3dfc70930e96c7b79b48ae
> ?
>
>
>
> _______________________________________________
> Arm-dev mailing listArm-dev at centos.orghttps://lists.centos.org/mailman/listinfo/arm-dev
>
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> https://lists.centos.org/mailman/listinfo/arm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20190107/bae480b4/attachment.html>


More information about the Arm-dev mailing list