Arducam 16MP IMX519 AF Camera not working on Raspberry Pi 5 with Bookworm OS

Hi everyone. I’m trying to get an Arducam 16MP IMX519 AF camera working on a Raspberry Pi 5 running the latest Raspberry Pi OS, which is based on Bookworm. It’s for an automated attendance monitoring system I’m building. The camera has never worked properly. I followed the instructions Arducam provides, but those steps only seem to work on Bullseye, and the Pi 5 doesn’t support Bullseye. I tried running them on Bookworm anyway, but nothing ever worked.

Which set of instructions were you following? The Arducam docs for the IMX519 autofocus camera have been updated for Bookworm on the Pi 5, so if you were using the older Bullseye guide, that would explain a lot of it. Could you also paste the exact error you’re hitting during setup?

Here’s what I keep seeing in the log during setup: couldn’t be accessed by user ‘_apt’. - pkgacquire::run (13: permission denied). Not sure if that’s related.

That particular line is benign, you can ignore it. It doesn’t affect the installation of libcamera. The bigger issue is likely the guide version. Use the updated software guide for the IMX519 autofocus camera here: Quick Start Guide - Arducam Wiki. After you’ve set it up, run libcamera-hello to check whether the camera is detected.

Okay, I’ll go through the Bookworm guide from scratch. Just to confirm, that _apt permission denied won’t stop anything? And once libcamera is installed, libcamera-hello should show a preview if the camera works?

Correct. The _apt note is just a permissions notice during the package fetch and won’t block the libcamera install. To sum up: drop the old Bullseye steps, follow the updated Bookworm guide for IMX519, then verify with libcamera-hello. If the camera still isn’t detected after that, post the full output here and we can dig in.