Missing dependency on v4l-utils - Failed to find the focus subdevice
With a recent update of millipixels, the app was unable to start. Running from command line showed
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
thread '<unnamed>' panicked at 'Failed to find the focus subdevice: Os { code: 2, kind: NotFound, message: "No such file or directory" }', ../src/focus.rs:22:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 1610617136
Aborted
purism@pureos:~$
Martin on community/librem-5 matrix channel suggested this,
that seems to be media-ctl -d platform:30b80000.csi -e "dw9714 3-000c" on the commandline, so you can try that (and make sure the hks is "on")
$ apt-file find media-ctl
v4l-utils: /usr/bin/media-ctl
After install v4l-utils camera app is working. So please add a dependency on v4l-utils.