-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi 5 x64 Bookworm with Camera Module 3 - No cameras detected #6
Comments
Your cabeling looks OK. The error is raised when Picamera2 does not return any camera information.
After some libcamera INFOs, you should see If you see an empty list, instead In this case, you may have activated legacy camera support.
If you see "Would you like to enable legacy camera support?" When back in the main menu, choose The tool will request to reboot, which must be confirmed with After reboot, you can reconnect via SSH and repeat the direct test with Python, described above. |
print(Picamera2.global_camera_info()) did return an empty list ( [] ). I did sudo raspi-config and went to Interface Options but had no Legacy or Camera options: uname -a Linux rpi5 6.1.0-rpi8-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux |
Can you please check This must have an active entry |
sudo cat /boot/firmware/config.txt | grep camera_auto camera_auto_detect=1 I am using a Raspberry Pi Camera Cable (Standard - Mini | 200mm) by the way. |
Certainly, you may have already looked elswhere for solutions. The primary check would, of course, be to check the cables. Looking again at your picture for the camera side, it seems to me that the cable is not pushed far enough into the connector. If that all does not help and if you have a spare SD card, I would recommend preparing a fresh install with the latest imager version. |
@signag, I have indeed looked elsewhere but I'll give those troubleshooting steps a try. |
the HDMI and SD card slot are on the same side from the camera connector? the gold contacts should be facing the ethernet port (away from the hdmi ports) |
@ZombieToad, so I tried flipping the cable around to face the Ethernet port but still no luck: @signag, I noticed in those troubleshooting steps, the permission check shows I don't even have /dev/video0 at all: |
What about a fresh install with latest imager version 1.8.5 from https://www.raspberrypi.com/software/? What is your OS version? |
So, I do have another Camera Module 3 camera that works successfully with a RPI4 x64 Bulleye and I have tried to use that camera on the RPI5 and the cable doesn't not go any further (it hits a wall, if you will) when inserting it. |
Then I have no more idea, except that the camera port on your pi5 does not work. |
What cable connector are you using between your RPI and Camera Module 3 (link if you don't mind)? I will try getting a new cable |
When starting up the camsrv, I see error logs in the terminal that says the following:
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Press CTRL+C to quit
[2024-03-04 21:52:16,600] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "/workspace/raspi-cam-srv/.venv/lib/python3.11/site-packages/flask/app.py", line 1455, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/raspi-cam-srv/.venv/lib/python3.11/site-packages/flask/app.py", line 869, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/raspi-cam-srv/.venv/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/raspi-cam-srv/.venv/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/raspi-cam-srv/raspiCamSrv/auth.py", line 273, in wrapped_view
return view(**kwargs)
^^^^^^^^^^^^^^
File "/workspace/raspi-cam-srv/raspiCamSrv/home.py", line 25, in index
Camera().startLiveStream()
^^^^^^^^
File "/workspace/raspi-cam-srv/raspiCamSrv/camera_pi.py", line 878, in new
activeCam = Camera.getActiveCamera()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/raspi-cam-srv/raspiCamSrv/camera_pi.py", line 1054, in getActiveCamera
raise SystemError("No cameras were found on the server's device")
SystemError: No cameras were found on the server's device
[2024-03-04 21:55:12,597] ERROR in camera_pi: Thread 140735407976832: Camera._thread - Exception.
I've attached two pictures of the cable hook up into cam0 slot.
The text was updated successfully, but these errors were encountered: