6.0: broken rear camera
purism@pureos:~$ millipixels
Found config file at /usr/share/millipixels/config/purism,librem5r4.ini
Adding camera big from config
matched GRBG8 to GRBG8 3
matched GRBG8 to GRBG8 3
Adding camera selfie from config
matched GBRG16 to GBRG16 14
matched GBRG16 to GBRG16 14
Found postprocessor script at /usr/share/millipixels/postprocess.sh
mp_device_list_find_remove imx7-csi s5k3l6xx 3-002d
20: there's csi, looking for s5k3l6xx 3-002d
20: there's csi capture, looking for s5k3l6xx 3-002d
20: there's imx8mq-mipi-csi2 30a70000.csi, looking for s5k3l6xx 3-002d
20: there's hi846 2-0020, looking for s5k3l6xx 3-002d
19: there's csi, looking for s5k3l6xx 3-002d
19: there's csi capture, looking for s5k3l6xx 3-002d
19: there's imx8mq-mipi-csi2 30b60000.csi, looking for s5k3l6xx 3-002d
19: there's s5k3l6xx 3-002d, looking for s5k3l6xx 3-002d
found!
devname /dev/video1
19: there's csi, looking for s5k3l6xx 3-002d
19: there's csi capture, looking for s5k3l6xx 3-002d
19: there's imx8mq-mipi-csi2 30b60000.csi, looking for s5k3l6xx 3-002d
19: there's s5k3l6xx 3-002d, looking for s5k3l6xx 3-002d
found!
linking flags 0 source 15:0 sink 10:0
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Das Argument ist ungültig
mp_device_list_find_remove imx7-csi hi846 2-0020
20: there's csi, looking for hi846 2-0020
20: there's csi capture, looking for hi846 2-0020
20: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020
20: there's hi846 2-0020, looking for hi846 2-0020
found!
devname /dev/video0
20: there's csi, looking for hi846 2-0020
20: there's csi capture, looking for hi846 2-0020
20: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020
20: there's hi846 2-0020, looking for hi846 2-0020
found!
linking flags 0 source 15:0 sink 10:0
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Das Argument ist ungültig
linking flags 1 source 15:0 sink 10:0
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Das Argument ist ungültig
Setting mode 1052 780
[11:58:21.134375421] [6638] INFO Camera camera_manager.cpp:293 libcamera v0.0.0
[11:58:21.153752966] [6642] WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for 's5k3l6xx'
[11:58:21.153840088] [6642] WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database
[11:58:21.154502263] [6642] WARN CameraSensor camera_sensor.cpp:476 's5k3l6xx 3-002d': Unsupported ancillary entity function 131074
[11:58:21.155798531] [6638] INFO Camera camera.cpp:1029 configuring streams: (0) 1052x780-SGRBG8
[11:58:21.156375024] [6642] ERROR SimplePipeline simple.cpp:1049 Unable to configure capture in 1052x780-GRBG (got 1056x780-GRBG)
[11:58:21.157107400] [6642] ERROR DeviceEnumerator device_enumerator.cpp:166 Removing media device /dev/media1 while still in use
so for 6.0 this got merged: !593 (closed) , but run git log --oneline v5.19..v6.0-rc1 | grep media | grep -i imx
to see the real changes. As expected, this broke the rear camera.
I append the output of media-ctl -d "platform:30b80000.csi" -p
and v4l2-ctl -d "/dev/v4l/by-path/platform-30b80000.csi-video-index0" --all
after configuring the formats, for "old" (working 5.19) and "new" (broken 6.0) kernels.
@dorota.czaplejewicz please take a look at this. Thank you!