kernel 5.19: rear cam start: ERROR MediaDevice media_device.cpp:717 /dev/media1[imx7-csi]: Failed to find pad with id: 15
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
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 30a70000.csi, looking for s5k3l6xx 3-002d
19: there's hi846 2-0020, looking for s5k3l6xx 3-002d
18: there's csi, looking for s5k3l6xx 3-002d
18: there's csi capture, looking for s5k3l6xx 3-002d
18: there's imx8mq-mipi-csi2 30b60000.csi, looking for s5k3l6xx 3-002d
18: there's s5k3l6xx 3-002d, looking for s5k3l6xx 3-002d
found!
devname /dev/video1
18: there's csi, looking for s5k3l6xx 3-002d
18: there's csi capture, looking for s5k3l6xx 3-002d
18: there's imx8mq-mipi-csi2 30b60000.csi, looking for s5k3l6xx 3-002d
18: 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
19: there's csi, looking for hi846 2-0020
19: there's csi capture, looking for hi846 2-0020
19: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020
19: there's hi846 2-0020, looking for hi846 2-0020
found!
devname /dev/video0
19: there's csi, looking for hi846 2-0020
19: there's csi capture, looking for hi846 2-0020
19: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020
19: 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
[0:00:45.067515089] [1620] INFO Camera camera_manager.cpp:293 libcamera v0.0.0
[0:00:45.077582970] [1622] ERROR MediaDevice media_device.cpp:717 /dev/media1[imx7-csi]: Failed to find pad with id: 15
[0:00:45.077827770] [1622] INFO DeviceEnumerator device_enumerator.cpp:218 Unable to populate media device /dev/media1 (Das Argument ist ungültig), skipping
[0:00:45.077911170] [1622] WARN DeviceEnumerator device_enumerator_udev.cpp:173 Failed to add device for '/sys/devices/platform/soc@0/30800000.bus/30b80000.csi/media1', skipping
No such camera: /base/soc@0/bus@30800000/i2c@30a50000/camera@2dinvalid
check with media-ctl -p (-d <device>)
but "pad with id 15 doesn't make sense I think. entity of the camera has id 15... not sure whether that's the problem here.
the selfie cam works in millipixels, so I think it's a millipixels bug, not libcamera.
the rear cam also works when started from the commandline.