Hi, I just got a batch of ten Mini IMX477 HQ camera modules and none of them seem to work properly. What’s odd is that the modules I bought a few months ago work fine on the exact same setup. The kernel detects the sensor over I2C, but libcamera refuses to start streaming. I’m getting:
ERROR: *** failed to start camera ***
/dev/video14[15:cap]: Failed to start streaming: No such file or directory
Anyone know why an older module works with my current configuration but these new ones don’t? Also, I tried removing camera_auto_detect entirely and that doesn’t work either. Why does it seem to need to be explicitly set to 0? Any help appreciated.
Happy to dig into this with you. A few things would help a lot:
What platform and OS are you running? (Pi 4B, CM4, Bullseye, etc.)
Output of uname -a
Output of cat /etc/os-release
Output of cat /proc/meminfo
Your /boot/config.txt
Full dmesg output
If you can paste those (or attach the files), I can start narrowing it down. The screen output of the sensor being detected but libcamera failing is a common symptom of a config mismatch, so config.txt is probably the key one.
In /boot/config.txt, what does your camera_auto_detect line look like right now (paste it exactly, including any #)?
Run v4l2-ctl --list-devices and confirm whether /dev/video14 actually shows up.
Also, when you say removing camera_auto_detect doesn’t work, do you mean you deleted the line entirely, or commented it out? Those behave differently, so I want to be precise here.
/boot/config.txt has this line (commented out):
#camera_auto_detect=1
The only setting that lets anything work is:
camera_auto_detect=0
And yes, /dev/video14 is definitely present. v4l2-ctl --list-devices shows it.
For the ‘removing’ test, I deleted the line completely, and it still wouldn’t start. Only setting it explicitly to 0 works. That’s the part that’s confusing me — why does it have to be explicitly set to 0?
[0:01:16.636582935] [1064] ERROR V4L2 v4l2_videodevice.cpp:1794 /dev/video14[15:cap]: Failed to start streaming: No such file or directory
ERROR: *** failed to start camera ***
libcamera v0.0.0+3424-e68e0f1e
WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for ‘imx477’
WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
ERROR CameraSensor camera_sensor.cpp:551 ‘imx477 10-001a’: Camera sensor does not support test pattern modes.
INFO RPI raspberrypi.cpp:1317 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media2 and ISP device /dev/media0
DEBUG RPI raspberrypi.cpp:1105 Unable to acquire a Unicam instance
INFO RPI raspberrypi.cpp:747 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected unicam format: 2028x1520-pBCC
ERROR V4L2 v4l2_videodevice.cpp:1794 /dev/video14[15:cap]: Failed to start streaming: No such file or directory
Closing Libcamera application(frames displayed 0, dropped 0)
Camera stopped!
Camera closed
ERROR: *** failed to start camera ***
So the camera does register as /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam /dev/media2 and ISP /dev/media0.
That confirms the sensor is being detected and registered correctly, so this isn’t an I2C/wiring problem. The “Failed to start streaming” from /dev/video14 combined with a successful registration is pointing at the detection path being wrong.
Just to be thorough — have you re-confirmed the older modules still stream fine on this same Pi 4B with the same command?
Yes, confirmed. The modules I bought a few months ago work correctly with the same command on the same Raspberry Pi 4B. Kernel logs show the IMX477 detected fine on the new ones too. /dev/video14 exists, v4l2-ctl --list-devices shows it. And like I said, deleting camera_auto_detect entirely didn’t help — only camera_auto_detect=0 works.
That lines up with what I suspected. The key is your config line:
#camera_auto_detect=1
It’s commented out, so auto-detect isn’t actually being applied the way you expect. For these updated modules on Bullseye, you need to explicitly disable auto-detection. Try this:
Edit the file: sudo nano /boot/config.txt
Find that line and change it to: camera_auto_detect=0
The dtoverlay and camera detection behavior is governed by the upstream protocol. For these modules, the camera_auto_detect parameter needs to be set to 0 because the signal transmission was updated specifically to adapt to the Bullseye system. On Bullseye, the camera no longer needs to be automatically detected the same way, so auto-detect actually gets in the way of the updated module.
That’s also why simply deleting the line doesn’t work — the detection path still gets exercised by default. Setting camera_auto_detect=0 explicitly tells the stack to skip auto-detection entirely and use the configured overlay for the sensor, which is what the updated signal transmission expects on Bullseye.
That makes sense now. So the short version: on Bullseye with these updated modules, camera_auto_detect=0 is required, and removing the line doesn’t cut it because the detection path is still applied by default. Thanks for the help.
The sensor itself is detected fine over I2C and registered (imx477@1a → /dev/media2, /dev/media0, /dev/video14 present).
Streaming failed because camera auto-detection wasn’t correctly configured — the line in /boot/config.txt was commented out as #camera_auto_detect=1.
Fix: edit /boot/config.txt (sudo nano), set camera_auto_detect=0, then reboot.
Reason: on Bullseye the signal transmission was updated specifically to adapt to Bullseye, so the camera no longer needs to be auto-detected — hence auto-detect must be explicitly disabled rather than removed. The dtoverlay and detection behavior follow the upstream protocol.
If anything starts misbehaving again after an OS update, re-check that line first.