i tried using that command but it returned this :
i also tried using "sudo dmesg | grep -i i2c" and i got this on the IO board that the camera work on :
And this on my PCB where the camera is not working:
I noticed that this "deferred probe pending: i2c: supplier clocks:clk-aicam-gated1 not ready" is returned on both I2C 0 and I2C 10 on my PCB but only returned on I2C 0 on the io board, i don't know if it can help figure out the problem.
Code:
a@raspberrypi:~ $ gpioset --mode=wait $(gpiofind CAM_GPIO)=1 &[1] 1586 gpioset: error setting the GPIO line values: Device or resource busyCode:
@raspberrypi:~ $ sudo dmesg | grep -i i2c[ 0.057996] /soc/csi@7e800000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@0/imx500@1a[ 0.058025] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx500@1a[ 0.058122] /soc/i2c0mux/i2c@0/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e800000[ 0.058149] /soc/i2c0mux/i2c@1/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e801000[ 0.059258] /soc/csi@7e800000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@0/imx500@1a[ 0.059376] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx500@1a[ 0.076839] /soc/i2c0mux/i2c@0/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e800000[ 0.076889] /soc/i2c0mux/i2c@1/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e801000[ 1.917976] i2c_dev: i2c /dev entries driver[ 2.850211] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode[ 2.850780] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode[ 2.896127] /soc/csi@7e800000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@0/imx500@1a[ 2.896200] /soc/i2c0mux/i2c@0/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e800000[ 2.896428] i2c i2c-22: Added multiplexed i2c bus 0[ 2.898720] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx500@1a[ 2.898789] /soc/i2c0mux/i2c@1/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e801000[ 2.899047] i2c i2c-22: Added multiplexed i2c bus 10[ 14.812815] i2c 0-001a: deferred probe pending: i2c: supplier clocks:clk-aicam-gated0 not ready $Code:
@raspberrypi:~ $ sudo dmesg | grep -i i2c[ 0.058155] /soc/csi@7e800000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@0/imx500@1a[ 0.058185] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx500@1a[ 0.058281] /soc/i2c0mux/i2c@0/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e800000[ 0.058308] /soc/i2c0mux/i2c@1/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e801000[ 0.059412] /soc/csi@7e800000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@0/imx500@1a[ 0.059529] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx500@1a[ 0.076832] /soc/i2c0mux/i2c@0/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e800000[ 0.076882] /soc/i2c0mux/i2c@1/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e801000[ 2.173865] i2c_dev: i2c /dev entries driver[ 2.973521] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode[ 2.979180] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode[ 3.093206] /soc/csi@7e800000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@0/imx500@1a[ 3.093287] /soc/i2c0mux/i2c@0/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e800000[ 3.093526] i2c i2c-22: Added multiplexed i2c bus 0[ 3.101543] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx500@1a[ 3.101617] /soc/i2c0mux/i2c@1/imx500@1a: Fixed dependency cycle(s) with /soc/csi@7e801000[ 3.101857] i2c i2c-22: Added multiplexed i2c bus 10[ 14.812804] i2c 0-001a: deferred probe pending: i2c: supplier clocks:clk-aicam-gated0 not ready[ 14.812808] i2c 10-001a: deferred probe pending: i2c: supplier clocks:clk-aicam-gated1 not readyStatistics: Posted by aa006 — Tue May 27, 2025 7:17 am