I’m trying to use the Raspberry pi AI camera for some machine vision stuff for our pioreactor, but I’m getting a “No cameras found” error from libcamera. With the same hardware but a different MicroSD with stock raspbian I can get the camera working.
I’m can try to track down what might be happening, but figured I’d ask here first in case there was some reason this behaviour is there/an easy fix.
Thanks!
Hmm maybe this could have been in Software!
It’s possible!
We make a number of changes to the base RPI OS image, detailed here, to make more cycles for our software.
There is a suspicious line here!
Thanks! That’s a good place to start 
Ok there’s a deeper problem than just that I think. I switched to a minimal config.txt:
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
# Automatically load overlays for detected cameras
camera_auto_detect=1
# Automatically load overlays for detected DSI displays
display_auto_detect=1
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
And I’m now getting this error:
sudo libcamera-hello
[0:05:52.512190594] [861] INFO Camera camera_manager.cpp:327 libcamera v0.4.0+53-29156679
[0:05:52.567777276] [865] WARN CameraSensorProperties camera_sensor_properties.cpp:473 No static properties available for 'imx708_wide'
[0:05:52.567960755] [865] WARN CameraSensorProperties camera_sensor_properties.cpp:475 Please consider updating the camera sensor properties database
[0:05:52.724463452] [865] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:05:52.729070985] [865] WARN CameraSensor camera_sensor_legacy.cpp:501 'imx708_wide': No sensor delays found in static properties. Assuming unverified defaults.
[0:05:52.732199648] [865] ERROR RPI vc4.cpp:421 Unicam driver does not use the MediaController, please update your kernel!
[0:05:52.732397460] [865] ERROR RPI vc4.cpp:216 Failed to register camera imx708_wide: -22
Preview window unavailable
ERROR: *** no cameras available ***
So the kernel module is out of date perhaps, or deliberately not loaded?
Hm, and I’m guessing you followed the instructions here already?
Check your linux kernel version with pio version -v
, look for the Operating system
line. It’s possible you are using an older kernel version (we don’t update kernels in our Pioreactor updates) vs the latest image from RPi Foundation.
There is possibly a solution here (translate to english unless your a Deutschsprachiger) - they report the same error as you, too.
I ran sudo raspi-update and that has fixed things!
2 Likes