TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ADRIAN
from: ANSSI SAARI
date: 2019-01-29 12:09:00
subject: Re: i2c problem

Adrian  writes:

> I'm having problems with i2c, and after a couple of hours trying all
> the options that Google throws up, I'm stumped.
>
> Pi 3 4.14.79-v7+
>
> sudo i2cdetect -y 1
> Error: could not open file '/dev/i2c/1': No such file or directory

It's interesting, I've never user i2c on my RPi (3+) but after enabling
it via raspi-config (didn't reboot) I have /dev/i2c-1 but not
/dev/i2c/1. So why the difference?

> cat /etc/modules
> i2c-bcm2708
> i2c-dev

Why i2c-bcm2708? I have only i2c-dev in /etc/modules. i2c-bcm2708 isn't
loaded but i2c-bcm2835 is.

> tail /boot/config.txt
>
> dtparam=i2c=on
> dtparam=i2c_arm=on
> dtparam=i2c_vc
> device_tree_param=i2c=on1=on
> dtparam=spi=on
> dtparam=i2s=on

Of these I have only dtparam=i2c_arm=on.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.