System cannot detect Arducam camera using libcamera-still

Hi, my camera isn’t being detected at all. I ran libcamera-still -t 5000 and it just fails to find a camera. I’ve attached the arducam bug report and a few photos of the connection/wiring so you can see how everything is hooked up. Not sure if it’s a wiring thing or something on the software side.

Thanks for the bug report and the photos. Before we go too deep — have you run the Arducam custom libcamera installation commands from the getting started guide? If you’re still on the stock Raspberry Pi libcamera build, the Arducam camera typically won’t get picked up by libcamera. Try running through the install steps here and then retry libcamera-still -t 5000: libcamera and rpicam-apps - Arducam Wiki

Okay, I went through that guide and ran the installation commands. Attached a screenshot of what the terminal showed. But the camera still isn’t showing up when I run libcamera-still.

Got it. Can you run dpkg -l | grep libcamera and paste the output here? I want to confirm which libcamera packages actually ended up installed — the Arducam custom ones versus the standard Raspberry Pi packages.

Here’s the output:

ii  libcamera-dev:arm64                  0.2.0+rpt20240418-1                 arm64        complex camera support library (development files)
ii  libcamera-ipa:arm64                  0.2.0+rpt20240418-1                 arm64        complex camera support library (IPA modules)
ii  libcamera-tools                      0.2.0+rpt20240418-1                 arm64        complex camera support library (tools)
ii  libcamera0.2:arm64                   0.2.0+rpt20240418-1                 arm64        complex camera support library
ii  pipewire-libcamera:arm64             0.3.65-3+rpt7+deb12u1               arm64        PipeWire libcamera plugin
ii  python3-libcamera:arm64              0.2.0+rpt20240418-1                 arm64        complex camera support library (Python bindings)

Actually, I think it’s sorted now. I’ll post back if I run into anything else.

Good to hear. One thing I noticed in that package list though — all of the libcamera packages are version 0.2.0+rpt20240418-1. The rpt in the version string means these are the official Raspberry Pi libcamera packages, not the Arducam custom build. So it looks like the Arducam libcamera may not have actually replaced the stock one. Worth keeping in mind if the detection problem shows up again.

To wrap this up properly — what actually ended up fixing it was using a different SD card and installing Bullseye legacy 64-bit. Once I did that, the camera was detected right away. So I’m sticking with Bullseye for now.

That lines up with what I’d expect. Most of the detection issues with this camera and libcamera are specific to Bookworm, and Bullseye legacy uses the older camera stack that’s much more reliable here. So the conclusion for this thread: your installed packages were the stock rpt Bookworm builds rather than the Arducam custom libcamera, and the working workaround was a fresh SD card with Bullseye legacy 64-bit, where the camera is detected normally.