Has someone recently used the RaspberryPiCameraMBS class with a Raspi 5?
Even running the MBS-provided example, when hitting the Initialize button, I get no errors but no images are captured or shown, either.
The “camera.Capture” call returns false.
The camera properties are shown, though. I also tried opening /dev/video1
and higher to no avail.
I have verified that the camera works with the “libcamera-hello” command.
Here’s a basic test code:
dim cam as new RaspberryPiCameraMBS
if not cam.Open() then
break
end if
if not cam.SetSize(640, 480) then
break
end if
if not cam.Capture() then
break
else
dim p as Picture = cam.Picture
break
end if
The error I find in the cam object says (in German):
Unpassender IOCTL (I/O-Control) für das Gerät
In English it means “Invalid IOCTL”
Which sounds like an error in the way the capture API is called.
I fear that they changed something for Pi5 or for Debian 12 and the MBS plugin hasn’t been updated accordingly.
2 posts - 2 participants