Post market os camera
#1
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
```
#2
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'.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
#3
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
#4
With "megapixels" work front and rear camera
#5
(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.
#6
You are welcome.
:-)


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to start Abiword if I hit enter if an Abiword document is market with PCManFM? Peter Gamma 0 397 08-22-2023, 12:41 PM
Last Post: Peter Gamma
  No camera app on PinePhone Postmarket Edition / Phosh Noah222 3 4,774 12-02-2020, 03:38 PM
Last Post: jmorris

Forum Jump:


Users browsing this thread: 1 Guest(s)