Rooney
Posts: 2
Joined: Sun Nov 26, 2017 9:48 am

Loading i2c-gpio dynamically fails

Mon Jun 03, 2019 3:40 am

Hello,

I try to load the device tree overlay i2c-gpio from /boot/overlays dynamically while the kernel is already running using the following command in a terminal:
sudo dtoverlay i2c-gpio i2c_gpio_sda=2 i2c_gpio_scl=3 bus=5

I also modprobe the i2c-gpio driver. However, the device /dev/i2c-5 will not be created.

Does anybody knows why it does not work?

Kernel is 4.19.42-v7

Regards,
Rooney

Return to “Troubleshooting”