PINE64
Back/World camera working after suspend - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177)
+--- Forum: PinePhone Pro Software (https://forum.pine64.org/forumdisplay.php?fid=179)
+--- Thread: Back/World camera working after suspend (/showthread.php?tid=18863)

Pages: 1 2


RE: Back/World camera working after suspend - Kevin Kofler - 11-04-2024

The latest version of the forked Megapixels for the PinePhone Pro appears to be: https://github.com/kgmt0/megapixels – apparently last tested with a 6.1 kernel (linux-megi 6.1.12-1 from DanctNIX, see https://github.com/kgmt0/megapixels/commit/8103e662a484c0887d29f11a1284f85ff34d0248).

The problem is that nobody is updating that code because it is a quick hack with poor image quality and everyone is targeting long-term development instead: most people are working on libcamera, the main developer of Megapixels is working on Megapixels 2.0 with libmegapixels, and there is also a person developing yet another library, libobscura. All those intend to support the PinePhone Pro properly. But only libcamera is already released (and supposed to already support the PinePhone Pro), and even that is hard to get running as you have found out.

What Manjaro ARM ships (for all users) is the Megapixels 1.8.2 release with these 3 patches: backported and this configuration change:
Code:
# 6.1 changes selfie cam name
# https://github.com/megous/linux/commit/59ee4accb3997098c7b65fbf529ef3033ab1fd5a
sed -i -e 's/m00_f_ov8858/ov8858/g' 'config/pine64,pinephone-pro.ini'
applied with sed.

No guarantee that it will work though.