PINE64

Full Version: Post market os camera
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Are the camera's working? I cannot seem to get them to work.
I tried looking at this link: 

https://wiki.postmarketos.org/wiki/PINE6...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
```
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'.
You could try to megapixels ( https://twitter.com/braam_martijn/status...5339558913 / https://git.sr.ht/~martijnbraam/megapixels )

To install it on PostmarketOS

Code:
sudo apk add megapixels
With "megapixels" work front and rear camera
(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.
You are welcome.
:-)