Page 1 of 1

Loading i2c-gpio dynamically fails

Posted: Mon Jun 03, 2019 3:40 am
by Rooney

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