One solution that came to my mind and seems promising in a first quick test:
I added dtoverlay=i2c0,pins_0_1 to config.txt and removed all entries corresponding to i2c0-setup in the DTOverlay for the camera (see below). Now I only get /dev/i2c-0 and muxing should be disabled:DTOverlay for camera:Do you see any problem with this solution?
Thank you,
Marc
I added dtoverlay=i2c0,pins_0_1 to config.txt and removed all entries corresponding to i2c0-setup in the DTOverlay for the camera (see below). Now I only get /dev/i2c-0 and muxing should be disabled:
Code:
i2cdetect -l i2c-3 i2c bcm2835 (i2c@7e205600) I2C adapter i2c-1 i2c bcm2835 (i2c@7e804000) I2C adapter i2c-4 i2c bcm2835 (i2c@7e205800) I2C adapter i2c-0 i2c bcm2835 (i2c@7e205000) I2C adapter
Code:
/dts-v1/;/plugin/;/{compatible = "brcm,bcm2835";fragment@0 {target = <&i2c0>;__overlay__ {[...]};};fragment@1 {target = <&csi0>;__overlay__ {[...]};};fragment@3 {target-path="/";__overlay__ {[...]};};};
Thank you,
Marc
Statistics: Posted by marcp — Fri Nov 22, 2024 1:17 pm