Hi everyone, I’ve got an Arducam camera connected to my Raspberry Pi and the system just can’t detect it. I tested it with libcamera-still -t 5000 and it fails to find the camera at all. Has anyone run into this before?
Can you share a bit more info? It would help to see the bug report and how the camera is wired up. If you can upload the bug report and a few photos of the connection, that’ll help us spot something obvious.
Sure, here’s the bug report: arducam-bug-report.txt
And here are the connection pictures:
Let me know if you need anything else.
Thanks. Looking at this, the most likely cause is that the Arducam custom libcamera isn’t installed. The default Raspberry Pi libcamera won’t recognize the Arducam camera, which is why libcamera-still -t 5000 fails to detect it. Please follow the getting-started guide here to install the Arducam custom libcamera:
https://docs.arducam.com/Raspberry-Pi-Camera/Native-camera/Libcamera-User-Guide/#getting-started
After that, try accessing the camera again with the same libcamera command, e.g. libcamera-still -t 5000.
Okay, I ran the installation commands from the getting-started guide you linked. I’m not sure it changed anything though.
Can you run the following command and paste the output? It will show which libcamera packages are installed and whether the Arducam custom libcamera actually took, or if the default Raspberry Pi one is still there:
dpkg -l | grep libcamera
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)
Also, just so you know, I actually managed to get it working on my own in the meantime. I’ll come back if anything else comes up.
Good to hear it’s working now. Looking at that dpkg output, all the packages are the Raspberry Pi OS stock libcamera packages at version 0.2.0+rpt20240418-1 (arm64), plus pipewire-libcamera 0.3.65-3+rpt7+deb12u1. So it looks like the Arducam custom libcamera wasn’t actually installed. Out of curiosity, what ended up fixing it for you?
I ended up using a different SD card and installed the Bullseye legacy 64-bit OS on it. After that the camera was detected without any issues.
Thanks for the update - that makes sense. The dpkg output showed only the stock Raspberry Pi OS libcamera packages (0.2.0+rpt20240418-1 arm64, plus pipewire-libcamera), not the Arducam custom libcamera, so detection was failing on the original setup. The workaround that resolved it here was switching to a fresh SD card with Bullseye legacy 64-bit OS, where the camera is detected normally. If you run into anything else, just post back.