Arducam CamArray OV9782 cameras not detected by libcamera-still on Raspberry Pi 5

Hi all,

I’m trying to get my Arducam CamArray HAT with the 4x OV9782 cameras working on a Raspberry Pi 5, but nothing shows up. Running:

libcamera-still -t 5000

gives:

Made X/EGL preview window
ERROR: *** no cameras available ***

Checking dmesg:

dmesg | grep arducam

I get:

[ 4.280809] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/arducam_pivariety@c
[ 4.291649] arducam-pivariety 4-000c: pivariety_read: Reading register 0x103 failed
[ 4.291658] arducam-pivariety 4-000c: probe failed

I’ve already followed the quick-start guide here: Quick Start Guide for Arducam CamArray HAT Kit - Arducam Wiki

Any idea what’s going wrong?

Thanks for the logs. The interesting part is that the kernel does enumerate the subdevice (arducam_pivariety@c), but then the driver probe fails when it tries to read register 0x103. That usually points to a communication/driver/config issue rather than the camera not being seen at all.

To dig further, could you share your full environment details - Pi model, OS version, and kernel? Also, it would help to see a picture of how the HAT is connected.

I’ve also sent you a bug report tool via private message - please check your messages. Once you have it, reboot, then run:

chmod +x ./arducam-camera-bug-report
./arducam-camera-bug-report

It will generate arducam-bug-report.txt in the current directory. Send that back and we can analyze it.

Here are the details:

  • Arducam 1MP*4 Quadrascopic Camera Bundle Kit with OV9782 cameras (Model B0331)
  • Raspberry Pi 5
  • Debian GNU/Linux 12 (bookworm)
  • Kernel: 6.1.0-rpi8-rpi-2712 (#1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25))

I followed the quick-start guide at the link above.

One more thing - the exact same CamArray HAT works fine on my Raspberry Pi 4 Model B running Debian Bullseye. So is the CamArray HAT actually supported on the Pi 5 with Debian Bookworm?

Yes, the CamArray HAT is supported on the Pi 5 and should work as expected there.

Based on what you’ve described, the most likely cause is a missing dtoverlay config and/or the Arducam Libcamera installation on the Pi 5 - it needs the same setup as the Pi 4.

Try this:

  1. Connect the CamArray HAT to the camera 1 port on the Pi 5.
  2. Add dtoverlay=arducam-pivariety under [all] in the config file (same as you did on the Pi 4).
  3. Reboot.
  4. Install the Arducam Libcamera (same as Pi 4) following the getting-started section here: libcamera and rpicam-apps - Arducam Wiki

The Pi 5 uses the same arducam-pivariety overlay and the same Arducam Libcamera install as the Pi 4 - just make sure the HAT is on the camera 1 port. Let me know how it goes.