How can I scan for available I2C devices on the bus?

@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
Solution
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
Was this page helpful?