Hi,
I’m building a project with a beaglebone black for which I need an i2C channel. Since I need address 0x56 I need to use i2c1(i2c-2) because i2c2(i2c-1) blocks certain addresses for the capes. I’ve found this command to activate it:
echo BB-I2C1 > /sys/devices/bone_capemgr.*/slots
and it works till reboot. Is there a way to activate it permanently
Yes, you can write a boot init script, or service to do this for you. You did however forget to mention which distro you’re using, and which init daemon is running on that distro.
pstree should list the init daemon at the first node.
Hi,
I’m building a project with a beaglebone black for which I need an i2C channel. Since I need address 0x56 I need to use i2c1(i2c-2) because i2c2(i2c-1) blocks certain addresses for the capes. I’ve found this command to activate it:
echo BB-I2C1 > /sys/devices/bone_capemgr.*/slots
and it works till reboot. Is there a way to activate it permanently
You do this by editing uEnv.txt
Regards,
John