while accessing camera using libcamera-still -t 5000 commend i got following error:
Made X/EGL preview window
[0:05:45.974724121] [2227] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3897-c3c878a9
ERROR: *** no cameras available ***
used this command ibcamera-still --list-cameras to check whether camera is detected and it shows:
No cameras available!
In config.txt file it shows :
dtoverlay=w1-gpio
enable_uart=1
gpu_mem=128
dtoverlay=imx519
while using this commend dmesg | grep arducam it shows nothing.
Hi. I have the same issue on pi xero2W, V11 Bullseye. Same no response to dmesg. Zero2W works with std 5mp camera. All instructions followed to install. Any further help appreciated. Thanks.
I was getting the same issue. I bought the 16MP imx519 unit off amazon a few months ago and had libcamera working, but couldn’t get it working with picamera2. Today I tried revisiting the problem and was having some issues, so I tried started from scratch. Now, even after following the instructions on this page, I still got the “No cameras available!” message. And when I tried to check for the drivers by running dmesg | grep imx519 i got no output, even though the install script had said the drivers were properly installed.
Just when I was about to give up, I decided to check the boot/config.txt. I realized that down at the bottom where the dtoverlay was declared, the line was commented out. opened the file by running sudo your/path/to/boot/config.txt, uncommented the line, saved and voila. working camera. I’m guessing when they pushed the latest updates to the script, someone was messing with the dtoverlay and forgot to revert changes.
Hi,
Thank you for your feedback.
Yes, sometimes customers do not remember to modify the config.txt file. I try to edit a troubleshooting page for them. I think it will be helpful.
I can successfully preview and take pictures but the autofocus is not working reliably. (I have seen it working once or twice, I think, but unsure of the pattern of behavior.)
Details:
Raspberry Pi Zero 2 W,
iMX519 16MP camera,
Linux version 6.1.21-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1642 SMP Mon Apr 3 17:20:52 BST 2023
Any idea what I can do?
Here is some sample output:
dean@picam:~ $ libcamera-still -t 5000
Made DRM preview window
[0:20:00.224362387] [792] INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4226-8689dd6b
[0:20:00.250655841] [794] ERROR V4L2 v4l2_device.cpp:92 'ak7375 10-000c': Failed to open V4L2 device '/dev/v4l-subdev1': Invalid argument
[0:20:00.250759696] [794] ERROR CameraSensor camera_sensor.cpp:517 'imx519 10-001a': Lens initialisation failed, lens disabled
[0:20:00.293155463] [794] INFO RPI raspberrypi.cpp:1485 Registered camera /base/soc/i2c0mux/i2c@1/imx519@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:20:00.294684116] [792] INFO Camera camera.cpp:1028 configuring streams: (0) 2048x1536-YUV420
[0:20:00.295281306] [794] INFO RPI raspberrypi.cpp:851 Sensor: /base/soc/i2c0mux/i2c@1/imx519@1a - Selected sensor format: 2328x1748-SRGGB10_1X10 - Selected unicam format: 2328x1748-pRAA
Also:
dmesg | grep 519
[ 0.056658] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx519@1a
[ 11.261793] imx519 10-001a: Device found is imx519
[ 11.262087] imx519 10-001a: Consider updating driver imx519 to match on endpoints