I just updated an application yesterday, but after the update, I2C stopped working on one of the devices. Every time a service tries to access I2C, the following error message is produced:
No such file or directory: ‘/dev/i2c-1’
This error message is produced whether my Python service is trying to access the I2C interface, or it is manually used from the command line by
i2cdetect -y 1
It runs on a Raspberry Pi 3, and was working fine before the update.
However, I have another device running the same release on the exact same hardware, where everything is working fine, also after the update.
I tried rebooting, and running:
but still no luck.
lsmod|grep i2c produces the following:
i2c_bcm2835 16384 0
i2c_bcm2708 16384 0
i2c_dev 16384 0
I’m stuck here, so what would be the next step to fix the problem?
I really hope you can help!
Hardware: : Raspberry Pi 3 Model B
OS-version : balenaOS 2.38.0+rev1