Skip to content

Commit 5f72bbf

Browse files
committed
Use unicam-legacy driver for Raspberry Pi cameras
All of the Raspberry Pi camera programs and the device tree files reference the unicam-legacy device driver now. This fixes an issue that causes cameras to not be found. This regression happened in the Linux 6.12 update due to the unicam->unicam-legacy configuration change upstream. Here's an example of it working with this change: ```elixir iex(1)> cmd("libcamera-jpeg --list") Available cameras ----------------- 0 : ov5647 [2592x1944 10-bit GBRG] (/base/soc/i2c0mux/i2c@1/ov5647@36) Modes: 'SGBRG10_CSI2P' : 640x480 [58.92 fps - (16, 0)/2560x1920 crop] 1296x972 [46.34 fps - (0, 0)/2592x1944 crop] 1920x1080 [32.81 fps - (348, 434)/1928x1080 crop] 2592x1944 [15.63 fps - (0, 0)/2592x1944 crop] ```
1 parent aea8422 commit 5f72bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linux-6.12.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ CONFIG_MEDIA_SUPPORT_FILTER=y
165165
CONFIG_MEDIA_CAMERA_SUPPORT=y
166166
CONFIG_MEDIA_PLATFORM_SUPPORT=y
167167
CONFIG_V4L_PLATFORM_DRIVERS=y
168-
CONFIG_VIDEO_BCM2835_UNICAM=m
168+
CONFIG_VIDEO_BCM2835_UNICAM_LEGACY=m
169169
CONFIG_VIDEO_RASPBERRYPI_PISP_BE=m
170170
CONFIG_VIDEO_IMX219=m
171171
CONFIG_VIDEO_IMX296=m

0 commit comments

Comments
 (0)