Issues connecting a camera to my Raspberry Pi

Hello, I'm trying to connect a camera to my Raspberry Pi, but I can't get it to be recognized.
nourhd@raspberrypi:~ $ libcamera-hello
Preview window unavailable
[0:01:30.959466938] [1571] INFO Camera camera_manager.cpp:299 libcamera v0.0.4+22-923f5d70
ERROR: *** no cameras available ***
nourhd@raspberrypi:~ $ libcamera-hello
Preview window unavailable
[0:01:30.959466938] [1571] INFO Camera camera_manager.cpp:299 libcamera v0.0.4+22-923f5d70
ERROR: *** no cameras available ***
When I use libcamera-hello, which is supposed to check that everything is working, it tells me that it can't find any available cameras, even though my camera is detected.
nourhd@raspberrypi:~ $ vcgencmd get_camera
supported=1 detected=1, libcamera interfaces=0
nourhd@raspberrypi:~ $ vcgencmd get_camera
supported=1 detected=1, libcamera interfaces=0
No description
2 Replies
abhishek awasthi
abhishek awasthi11mo ago
so i searched a little bit and it seems the camera may require a crypto chip and many forums have reported the issue being related to compute modules, further .. as get_camera command shows libcamera interface = 0 .. it may be coz camera interface is disabled .. check by "sudo raspi-config" (https://projects.raspberrypi.org/en/projects/getting-started-with-picamera) further check your user has the necessary permissions to access the camera. You may need to be a member of the video group: sudo usermod -aG video your_username
nour_oud
nour_oudOP11mo ago
ok I will see thanks @abhishek awasthi
Want results from more Discord servers?
Add your server