Hi, hoping someone can help me out because I’m stuck. I’m trying to get an Arducam IMX519 16MP Autofocus camera working on a Raspberry Pi running Debian GNU/Linux 11 (bullseye). I’ve been following the directions on the Arducam website but I can’t get through the install process at all — it just never completes for me. Honestly the camera has never worked, not once since I got it.
What I actually want in the end is to use this camera with OctoPrint. I’ve looked all over the internet for a solution and had zero luck. Can anyone tell me how to get past these steps?
Model is IMX519 16MP Autofocus. I get stuck around the part where it wants me to verify the camera is detected — that’s where “No cameras available” shows up and I can’t go any further.
Good — that’s actually useful. -5 is an I/O error, which almost always means the driver loaded but it can’t talk to the sensor over I2C. So this is either a ribbon cable / port problem or the sensor isn’t reachable on the bus.
Let’s check a couple of things:
Enable I2C if it isn’t already: sudo raspi-config → Interface Options → I2C → enable (or check dtparam=i2c_arm=on in config.txt).
OK so I reseated the ribbon cable on both the camera end and the Pi end, made sure it’s the correct CSI port, and tried the shorter cable that came in the box too. Still nothing:
and dmesg still gives the same imx519 10-001a: probe failed, -5. The cable orientation looks right to me (metal contacts facing the board) but I’m not 100% sure on the camera connector. Anything else I can try on the cabling side?
If you’ve reseated both ends and tried a second cable, the physical connection is likely fine. At this point I want to rule out a mismatch between the overlay/driver and the libcamera build, which is a very common cause on bullseye.
Also — did you install the Pivariety/libcamera packages from Arducam’s installer, or is this the stock libcamera that shipped with the OS? If stock packages are still present they can conflict with the IMX519 overlay.
I honestly don’t remember which installer I used — probably the one from the guide, but it might be the default that came with the OS. Does that matter?
It matters a lot, yes. The stock libcamera won’t talk to the IMX519 overlay — you need the Arducam build that’s matched to the driver. Let’s clean it up and reinstall from the official script:
Then reboot and re-check libcamera-hello --list-cameras. Also, for the OctoPrint side, here’s the guide we point people to: Redirecting... — it walks through how the camera is set up and what OctoPrint needs. We’ll get to that once the camera is detected.
Nice, that confirms the root of the detection problem: the stock libcamera conflicting with the IMX519 overlay. Now the remaining piece is that OctoPrint doesn’t speak libcamera directly — it expects an MJPEG stream over HTTP, so you have to bridge the camera with something like libcamera-vid piped into mjpg-streamer (or a libcamera-aware OctoPrint plugin).
or point an MJPEG-capable viewer at the camera first before wiring it into OctoPrint. If that stream comes up, the OctoPrint webcam URL just needs to match it.
So, to summarize where we are: camera detection is solved (overlay + matched libcamera build). The outstanding item is getting OctoPrint to consume the stream, since its built-in webcam support doesn’t talk to libcamera natively. Follow the OctoPrint guide at Redirecting... and post back the exact command/URL you’re feeding OctoPrint if the feed is still blank — we can tune it from there.