How to use Picamera2/3 on RaspberryPi5

March 15, 2025, 11:45

hmwhatever

Hi y'all, i need a little bit of help to get my camera run on rapsberrypi 5.
pi@berry:~/Projects $ uname -a
Linux berry 6.6.74+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux
I have a newly bought and installed pi5 and a camera module v2 ( https://www.rasppishop.de/Kameramodul-Raspberry-Pi-Kamera-V2 , with new cable that fits pi5) and one for pi5 ( https://www.rasppishop.de/IMX219-Kameramodul-fuer-Raspberry-Pi-5-8MP-MIPI-CSI-Schnittstelle-FOV-120-26185 ) but none of them works for me.. If i excute libcamera-hello I receive the following output:
[0:00:46.401910093][1498] INFO Camera camera_manager.cpp:327 libcamera v0.4.0-53-29156679
Made X/EGL preiew window
ERROR.  no cameras available 
As i'm very new to linux and pi5 (pi in general) every step would be helpful to debug this. starting from the correct direction of the cable to put in.. If someone needs more information i do my best to provide everything. Any help is appreciated. Thanks in advance 🙂