PinePhone: Difference between revisions

imported>Tom
Note front camera requires a kernel boot param
imported>Tom
No edit summary
Line 61: Line 61:
{{ic|pkgs.megapixels}} is the only known application to [https://git.sr.ht/~martijnbraam/megapixels#linux-video-subsystem work with V4L2]. Does not always start correctly, retrying might help.
{{ic|pkgs.megapixels}} is the only known application to [https://git.sr.ht/~martijnbraam/megapixels#linux-video-subsystem work with V4L2]. Does not always start correctly, retrying might help.


* Front camera needs https://github.com/NixOS/mobile-nixos/pull/392 .
* Front camera works out-of-the-box .
* Back camera works with this having been flashed to the boot partition:
* Back camera works with this having been flashed to the boot partition: https://github.com/NixOS/mobile-nixos/pull/392
 
<syntaxhighlight lang="nix">
boot.kernelParams = [ "cma=128M" ];
</syntaxhighlight>
 
https://github.com/NixOS/mobile-nixos/issues/201


=== Mobile internet ===
=== Mobile internet ===