09-14-2020, 07:24 PM
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 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
```