Hi all, I’m trying to get an Arducam B0391 (IMX519) camera working on a Raspberry Pi 4B and it’s not being detected at all. In dmesg I can see the imx519 driver probing at 10-001a but it fails to read the chip id 519 with error -5. Running libcamera-still --list-cameras just reports ‘No cameras available!’.
My setup:
Raspberry Pi 4B
Linux raspberrypi 5.15.84-v7l+ #1613 SMP Thu Jan 5 12:01:26 GMT 2023 armv7l GNU/Linux
Welcome! An error -5 on the chip id read usually points to an I2C communication problem rather than a libcamera config issue. Could you run the following and paste the output here?
Thanks, that’s really useful. The fact that i2cdetect -y 0 shows nothing at all, combined with ‘failed to read chip id 519, with error -5’, means the sensor isn’t being seen on the I2C bus at all. This looks like a connection-level detection failure rather than a libcamera configuration problem.
This generates arducam-bug-report.txt in the current directory. Please send that file to me in a private message so I can look at the full system state.
Thanks, I’ve gone through the bug report. Interesting — based on the report, the camera is actually detected by the Pi now. But libcamera crashes when the command is run, which is a different symptom from before.
What commands did you use to install the camera driver?
If you have another Raspberry Pi available, could you try the camera on that one?
Since the camera is detected but libcamera crashes, I’m leaning towards a driver/app/software configuration issue rather than a dead camera or connection.
Thanks for the details. So you installed libcamera-dev, libcamera-apps, and the imx519_kernel_driver_low_speed kernel driver. The blank VNC preview usually means the capture/preview pipeline isn’t delivering frames, even though the sensor probes.
A couple more things to check:
Can you post a picture of your hardware connection (camera, adapter, and how it’s attached to the Pi)?
Do you have a second Raspberry Pi 4 you can test the same camera on?
I only have this one B0391 camera unit, so I can’t cross-test right now — I’m trying to get hold of another one. Here’s a photo of my current hardware connection. Is this ok?
Looking at your photo, I suspect the adapter (highlighted in red) is the problem. We’ve verified the same B0391 camera on our side with the Arducam-produced adapter, and both preview and image capture work fine. With your adapter it’s a different story.
The camera itself appears to be fine — the earlier detection and libcamera failures point to the adapter. I’d recommend using the Arducam adapter with the B0391. One heads up: that adapter has been discontinued, so it may need to be custom ordered.