Hi, I’m having an installation problem with my cameras. I tried to install the driver but I keep hitting this error and I’m not sure what to do. Here’s what I’m seeing:
imx219_board_setup: error during i2c read probe (-121)
board setup failed
probe of 10-0010 failed with error -121
Do I need to downgrade the kernel? I’m kind of stuck here.
grep (GNU grep) 3.4
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
Written by Mike Haertel and others; see <https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.
It’s a Tegra platform - I can see tegra-camrtc-capture-vi, tegra210_adma, and nv_imx219 in the loaded modules list.
Good, that helps. Now the important part - please run and paste the full dmesg | grep -E "imx477|imx219|arducam" output. Also, just to be sure, which camera model is physically connected? IMX219 or IMX477?
Ok this is the key thing. Looking at your dmesg, the IMX219 driver is definitely loaded and running (imx219_v2.0.6), and it’s probing both at 9-0010 and 10-0010. The second one fails:
imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
imx219 10-0010: board setup failed
imx219: probe of 10-0010 failed with error -121
Error -121 is basically “no response on the I2C bus” - the driver can’t talk to the sensor it thinks is there.
Here’s the thing though: you mentioned you’re actually using an IMX477 camera. The dmesg only shows IMX219 activity. So the IMX219 driver is enabled while the IMX477 hardware is connected - that mismatch is exactly what causes the board setup / probe failure. You don’t need to downgrade the kernel; you need the matching IMX477 driver installed.
Ah ok that makes sense. So the IMX219 driver being on is the problem. How do I install the IMX477 driver then? I tried “installing the driver” earlier but clearly I installed the wrong one.
After a reboot, run the dmesg grep again and you should see imx477 probe lines instead of imx219. If you want to test the autofocus on the motorized focus version, there’s an alternative path too:
git clone https://github.com/ArduCAM/MIPI_Camera.git
cd /MIPI_Camera/Jetson/IMX477/AF_LENS
python Autofocus.py -i 7
Sounds good. To summarize for anyone following along:
The issue was a driver/hardware mismatch - the IMX219 driver was enabled and probing while an IMX477 camera was connected, which produced the imx219_board_setup: error during i2c read probe (-121) / board setup failed / probe of 10-0010 failed with error -121 errors. No kernel downgrade is needed. The fix is to install the matching IMX477 driver following the Arducam IMX477 install documentation, then verify with dmesg | grep -E "imx477|imx219|arducam" after a reboot.
If you still see the probe failure after installing the 477 driver, post the fresh dmesg output and we’ll dig further.