Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
@Middleware & OS @everyone
How can I scan for available I2C devices on the bus? Am getting the error `Could not open file /dev/i2c-1: No such file or directory`, I have ensured the I2C device tree overlay is loaded using `echo BB-I2C1 > /sys/devices/bone_capemgr.*/slots`, what could be wrong
Here’s my prompt
i2cdetect -y -r 1
This implies you are using an old (kernel 4.14) version of the BBB image – the `sys/devices/bone_capemgr*` doesn’t exist on the latest version (kernel 5.10).
You may find it easier to update your BBB to the latest image.
Download it from here
Use something like Balana Etcher to write that to a micro SD card and boot the BBB to update your eMMC.
Alternatively, you could use the image from here to just run off the micro SD card:
That would allow you to try it and see if it provides the i2c configuration.
It seems like you are encountering an error while trying to scan for available I2C devices on the bus. The error message you mentioned,“`Could not open file /dev/i2c-1: No such file or directory“`, indicates that the I2C device file is not being recognized, what type of i2c model are you using
CONTRIBUTE TO THIS THREAD