Arducam IMX462 camera not detected on Raspberry Pi Zero 2W

Hey everyone, I’m stuck trying to get my Arducam Pivariety (IMX462) working on a Raspberry Pi 4. Here’s what I’ve done so far:

  1. Enabled I2C, SPI, and legacy camera through sudo raspi-config
  2. Ran system updates and rebooted
  3. Installed libcamera-apps: sudo apt install libcamera-apps
  4. Downloaded the Pivariety install script and ran it with the libcamera_dev flag:
wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh
chmod +x install_pivariety_pkgs.sh
./install_pivariety_pkgs.sh -p libcamera_dev
  1. Edited /boot/config.txt and added dtoverlay=imx462
  2. Rebooted

But when I run libcamera-hello, I just get:

Camera not available

Any ideas what I’m missing? I’ve double-checked the ribbon cable connection and it seems fine.

Welcome to the forum! Your setup steps look mostly correct, but I think the overlay might be the issue. The imx462 overlay is for a different driver stack.

Can you try changing the dtoverlay line in /boot/config.txt from dtoverlay=imx462 to dtoverlay=arducam-pivariety?

After making that change, save the file and reboot with sudo reboot, then try libcamera-hello again. Let us know how it goes.

Thanks for the suggestion. I changed the overlay to dtoverlay=arducam-pivariety in /boot/config.txt, saved it, and rebooted. Unfortunately, libcamera-hello still gives me the same “Camera not available” error. No change at all.

Just to confirm, the full dtoverlay line in my config.txt now reads:

dtoverlay=arducam-pivariety

Is there something else I should be checking?

Alright, let’s dig deeper and collect some diagnostic data. There’s a bug report tool that can help us see what’s going on under the hood.

Please run these commands on your Pi:

wget -O arducam-camera-bug-report https://github.com/Dion4cen/arducam-camera-bug-report/releases/download/Tool/arducam-camera-bug-report
chmod +x ./arducam-camera-bug-report
./arducam-camera-bug-report

This will generate a file called arducam-bug-report.txt. Please send that file to me via private message and I’ll take a look at what might be causing the issue. It’ll give us details about your kernel version, loaded overlays, i2c bus state, and whether the camera sensor is being detected at all.

Appreciate the help, but I think I’m going to step back from troubleshooting this for now. I’ve spent a fair bit of time on it already and I’m not sure I want to go further down the diagnostic route at this point.

No worries, I understand. For what it’s worth, based on what you’ve shared, the most common causes for this “Camera not available” error with the Pivariety on libcamera would be:

  • The overlay not being picked up correctly (worth double-checking with dmesg | grep -i arducam after boot)
  • A kernel/driver mismatch from the install script
  • The ribbon cable orientation (the Pivariety connectors can be finicky)

If you decide to revisit this later, that bug report tool would give us a clear picture. Feel free to post back anytime and we can pick up where we left off.