Hi, hoping someone can help. I have a B0103 camera that I can’t get working on my Raspberry Pi 4B at all. I’m on Buster with the legacy camera stack enabled. What’s weird is that both my Raspberry Pi Camera v2 and my Arducam B0055 work absolutely fine with raspistill and with my own custom MMAL code. As soon as I plug in the B0103, everything blows up with errors. I never once got this camera to work. Any idea what’s going on?
Welcome! Sorry to hear you’re stuck. The fact that two other cameras work in the same setup is a good data point, so it’s likely something specific to how this one gets detected/configured rather than a general Pi problem.
A couple of quick questions so I can narrow it down:
- Which OS release exactly (Buster, and 32-bit or 64-bit)?
- Is the legacy camera stack currently enabled (i.e. camera_auto_detect and the legacy interface setting)?
- Can you paste the exact terminal output you get when you run raspistill -o test.jpg with the B0103 connected?
That error output usually tells us where to look next.
Thanks. It’s Buster, 32-bit. Legacy camera stack is enabled in raspi-config. Here’s what I get when I run raspistill with the B0103 attached:
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn’t be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
So is this a software issue or did I get a bad camera? Should this camera even work with Buster and the legacy (raspistill/MMAL) stack? I’m confused because the v2 and the B0055 both just work.
OK, the ENOSPC on mmal_vc_component_enable is a bit unusual, and the ‘check for firmware updates’ line is generic — it doesn’t necessarily mean the camera is dead. Before we conclude anything about hardware, let’s get a second opinion from the newer stack.
Please do this:
- Run sudo raspi-config and disable the legacy camera interface (and make sure there’s no leftover dtoverlay/start_x forcing the old stack).
- Reboot.
- Then run libcamera-still -o test.jpg and paste the full output, including all the INFO/WARN/ERROR lines, not just the final error.
The libcamera log will tell us whether the sensor is being detected properly, which is the key thing here.
Alright, disabled the legacy camera and rebooted. Running libcamera-still gives me this:
[0:00:41.908523288] [880] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3544-22656360
[0:00:41.968012474] [881] WARN RPI raspberrypi.cpp:1241 Mismatch between Unicam and CamHelper for embedded data usage!
[0:00:41.968641214] [881] INFO RPI raspberrypi.cpp:1356 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media2 and ISP device /dev/media1
[0:00:41.969357159] [880] INFO Camera camera.cpp:1029 configuring streams: (0) 1640x1232-YUV420
[0:00:41.969785548] [881] INFO RPI raspberrypi.cpp:760 Sensor: /base/soc/i2c0mux/i2c@1/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected unicam format: 1640x1232-pBAA
[0:00:42.041940807] [881] ERROR V4L2 v4l2_videodevice.cpp:1852 /dev/video14[14:cap]: Failed to start streaming: No such file or directory
ERROR: *** failed to start camera ***
So legacy gave me the MMAL errors, and libcamera gives me this. Neither works.
Good, that’s actually really informative. Here’s what I’m seeing:
- The sensor IS being detected: ‘Registered camera … imx219@10 to Unicam device /dev/media2 and ISP device /dev/media1’.
- Streams get configured fine (1640x1232-YUV420).
- Then the failure is at the very last step: /dev/video14[14:cap]: Failed to start streaming: No such file or directory.
Because the sensor is detected and configured but streaming won’t start, this looks like a configuration issue rather than a dead sensor. The detection as imx219 is the clue — the driver is being picked automatically, but something about the mapping/overlay isn’t lining up, so the capture node it tries to use doesn’t exist.
Can you edit the boot config and force the overlay instead of relying on auto-detect? On Pi 4:
- sudo nano /boot/config.txt
- Find camera_auto_detect=1 and change it to camera_auto_detect=0
- Add a line: dtoverlay=imx219
- Save and reboot.
Then try libcamera-still -o test.jpg again. On Pi 4 with Bullseye this is the usual fix for exactly this streaming error.
I’ll give it a shot, but I should mention I’ve already been through a lot of this. I’ve run all the firmware updates (error persists no matter what), I’ve tried various overlay commands in /boot/config.txt, I’ve followed the Arducam guidance and a bunch of threads on forums.raspberrypi.org, and I’ve even swapped in the different cables from my working cameras. Nothing has gotten this B0103 to work. I’ve never had it working, not once.
Let me try the camera_auto_detect=0 + dtoverlay=imx219 change anyway and I’ll report back.
Okay, set camera_auto_detect=0 and added dtoverlay=imx219, saved and rebooted. Ran libcamera-still again — unfortunately I still get the same failure:
[0:00:42.041940807] [881] ERROR V4L2 v4l2_videodevice.cpp:1852 /dev/video14[14:cap]: Failed to start streaming: No such file or directory
ERROR: *** failed to start camera ***
Still no image. The MMAL side still gives me the ENOSPC ‘camera component couldn’t be enabled’ errors too. Is there anything else to try, or does this point to a bad camera at this stage?
Thanks for testing all that — the repeated /dev/video14 ‘No such file or directory’ on startup really is the key error, and it consistently points at a boot-config mismatch rather than the capture hardware itself.
A few more things worth confirming before we call it:
- Double-check there’s no duplicate/conflicting overlay line left in /boot/config.txt (some forum sets of instructions leave both camera_auto_detect and a start_x/legacy line in place, which fight each other).
- Confirm the dtparam/i2c and the camera port you’re using — try the other CSI port if your board has one, just to rule out the connector.
- If you move to Bullseye at any point: on a Pi 3 with Bullseye you’d additionally need Glamor graphic acceleration enabled (sudo raspi-config → Advanced Options → Glamor, then reboot) for the display/ISP path to come up. On Pi 4 with Bullseye the config.txt change above is normally enough.
If the error is identical after a clean single-overlay config.txt and a reboot, that’s the point where I’d suspect the module itself.
Just to wrap up where this stands for anyone reading the thread later:
- Two distinct failure modes: legacy stack (raspistill/MMAL) → ‘mmal_vc_component_enable: failed to enable component: ENOSPC’ / ‘camera component couldn’t be enabled’; modern stack (libcamera) → sensor detected as imx219 but ‘/dev/video14[14:cap]: Failed to start streaming: No such file or directory’.
- The sensor being registered and streams being configured, then failing only at streaming start, points to a boot-config problem, not necessarily a fault.
- Known fix for Pi 4 on Bullseye: set camera_auto_detect=0 and add dtoverlay=imx219 in /boot/config.txt, then reboot.
- Pi 3 on Bullseye also needs Glamor graphic acceleration enabled via sudo raspi-config → Advanced Options, then reboot.
- Already tried without success here: full firmware updates, several overlay variations in config.txt, forum troubleshooting, and swapping in known-good cables from the v2/B0055 cameras.
So the config change is the thing to get right first, but since this unit has never worked under any combination tried so far, the issue isn’t confirmed resolved — if the same /dev/video14 error persists on a clean, single-overlay config, it likely needs to be looked at as a hardware problem. Post back with a fresh full log if you get any change and we’ll keep digging.