PINE64
Post market os camera - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124)
+---- Thread: Post market os camera (/showthread.php?tid=11450)



Post market os camera - makeymake - 09-14-2020

Are the camera's working? I cannot seem to get them to work.
I tried looking at this link: 

https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone) 

But here are my results.

```
#Switching to the rear camera
sudo media-ctl -d /dev/media1 --links '"gc2145 3-003c":0->"sun6i-csi":0[0]'
sudo media-ctl -d /dev/media1 --links '"ov5640 3-004c":0->"sun6i-csi":0[1]'


Unable to parse link: Invalid argument (22)
Unable to parse link: Invalid argument (22)

pine64-pinephone:$ dmesg | grep sun6
[  108.845021] sun6i-csi 1cb0000.csi: Wrong width or height 1280x720 (1600x1200 expected)
[  285.241923] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[  286.703360] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[  286.790896] sun6i-csi 1cb0000.csi: Wrong width or height 1280x720 (1600x1200 expected)
[  287.145750] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[  287.232298] sun6i-csi 1cb0000.csi: Wrong width or height 1280x720 (1600x1200 expected)
[  359.785124] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[  360.437180] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[  360.511212] sun6i-csi 1cb0000.csi: Wrong width or height 1280x720 (1600x1200 expected)
[ 1648.587875] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 1666.559180] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 1666.844166] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 1705.115325] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 1706.623645] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 1706.701562] sun6i-csi 1cb0000.csi: Wrong width or height 1280x720 (1600x1200 expected)
[ 1707.050100] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 1707.136465] sun6i-csi 1cb0000.csi: Wrong width or height 1280x720 (1600x1200 expected)
[ 3209.409176] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 3328.292746] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 3868.771565] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 3870.199298] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 3870.278672] sun6i-csi 1cb0000.csi: Wrong width or height 1280x720 (1600x1200 expected)
[ 3870.624947] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 3870.714935] sun6i-csi 1cb0000.csi: Wrong width or height 1280x720 (1600x1200 expected)


uname -a

Linux pine64-pinephone 5.7.0 #3-postmarketos-allwinner SMP Tue Sep 1 15:05:31 UTC 2020 aarch64 Linux
```


RE: Post market os camera - bcnaz - 09-14-2020

I wonder if the new 'Pin hole' (camera) app from Mobian will work on the PMOS ?

It is still kind of beta stage, but it does 'work'.... No Luck with 'cheese'.


RE: Post market os camera - cyp - 09-18-2020

You could try to megapixels ( https://twitter.com/braam_martijn/status/1306183795339558913 / https://git.sr.ht/~martijnbraam/megapixels )

To install it on PostmarketOS

Code:
sudo apk add megapixels



RE: Post market os camera - josekar - 09-21-2020

With "megapixels" work front and rear camera


RE: Post market os camera - makeymake - 09-21-2020

(09-14-2020, 08:24 PM)bcnaz Wrote: I wonder if the new 'Pin hole' (camera) app from Mobian will work on the PMOS ?

It is still kind of beta stage, but it does 'work'.... No Luck with 'cheese'.
could not find pin hole.. but i tried mobian image and the camera worked.
.. just got the postmarketos update today and installed megapixels now the camera works.

thanks

(09-21-2020, 08:51 AM)josekar Wrote: With "megapixels" work front and rear camera

Cool thanks, megapixels works great.


Thanks.


RE: Post market os camera - josekar - 09-30-2020

You are welcome.
:-)