Hello,
I received a “librem 5 USA” a few weeks ago.
After making a full upgrade :
uname -a
Linux pureos 6.1.0-1-librem5 #1 SMP PREEMPT Wed Dec 14 15:50:03 UTC 2022 aarch64 GNU/Linux
I tried to run the camera app “millipixels”, which fails by returning :
“Selected camera is not available. Is it turned on?”
Trying to switch of camera does not help.
More precisely, here is the log :
millipixels RET
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
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, Argument invalide
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
Could not find /dev/media* node matching ‘imx7-csi’
linking flags 1 source 15:0 sink 10:0
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Argument invalide
Setting mode 1052 780
[0:48:52.720674522] [4279] INFO Camera camera_manager.cpp:293 libcamera v0.0.0
[0:48:52.733235477] [4283] ERROR SimplePipeline simple.cpp:1292 No sensor found
No such camera: /base/soc@0/bus@30800000/i2c@30a50000/camera@2dinvalid
Here are the devices :
lh /dev/video* /dev/media*
crw-rw---- 1 root video 241, 0 31 déc. 17:05 /dev/media0
crw-rw---- 1 root video 241, 1 31 déc. 17:05 /dev/media1
crw-rw---- 1 root video 241, 2 31 déc. 17:05 /dev/media2
crw-rw---- 1 root video 241, 3 31 déc. 17:05 /dev/media3
crw-rw----+ 1 root video 81, 0 31 déc. 17:05 /dev/video0
crw-rw----+ 1 root video 81, 1 31 déc. 17:05 /dev/video1
crw-rw----+ 1 root video 81, 7 31 déc. 17:05 /dev/video2
crw-rw----+ 1 root video 81, 8 31 déc. 17:05 /dev/video3
And I am in the “video” group, it is unlikely to be a permission issue.
I have seen other related topics, but none helped me so far as I already upgraded the whole system and rebooted accordingly.
Errors which show in the logs might not be related to my current issue as I have seen similar logs from another person’s librem 5 USA phone.
May anyone from Purism help me to make the camera app work ?
Regards