Raspberry Pi camera modules not being detected on libcamera0.5

Bug #2110144 reported by Pragyansh Chaturvedi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libcamera (Ubuntu)
New
Undecided
Pragyansh Chaturvedi

Bug Description

With the latest version of libcamera in Ubuntu, the camera modules on a Raspberry Pi are no longer being detected.

libcamera 0.5.0-1:

cam -l returns an empty list
qcam does not list any sensors as well.

libcamera 0.4.0-5ubuntu1:

cam -l lists the connected sensors and qcam works fine.

Related branches

Revision history for this message
Pragyansh Chaturvedi (r41k0u) wrote :

I have narrowed this down to the new PiSP driver upstreamed in libcamera. They are matching the wrong entity names for CFE devices.
https://gitlab.freedesktop.org/camera/libcamera/-/blame/v0.5.0/src/libcamera/pipeline/rpi/pisp/pisp.cpp#L883
Curiously, Raspberry Pi's fork of libcamera still uses the old match strings, even when they upstreamed these changes to Debian: https://github.com/raspberrypi/libcamera/blob/d83ff0a4ae4503bc56b7ed48cd142c3dd423ad3b/src/libcamera/pipeline/rpi/pisp/pisp.cpp#L883

This might suggest that there may be changes to the camera related devicetree overlays in the future. For now the fix will be to try for both older and newer match strings

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.