07-18-2020, 08:58 AM
I'm having trouble with the camera as well. Using a just flashed mobian-pinephone-20200716 image on an SD card. Pinhole runs but shows the default test image. Attempting to take a picture the message "Could not save Image! Unknown error: The viewfinder is not in the Ready state." is returned. This thread has the first check as the dmesg log, it show a "failed with -6". Details pasted below. Is there a easy fix?
I might try examining the hardware like anncel. My BraveHeart phone also has issues with the proximity sensor, see Proximity sensor misbehaving.
I might try examining the hardware like anncel. My BraveHeart phone also has issues with the proximity sensor, see Proximity sensor misbehaving.
Code:
mobian@mobian:~$ dmesg | grep -E "(csi|ov5640)"
[ 1.429506] dovdd-csi: Bringing 3300000uV into 1800000-1800000uV
[ 1.432047] avdd-csi: Bringing 2900000uV into 2800000-2800000uV
[ 1.433955] dvdd-csi: Bringing 700000uV into 1800000-1800000uV
[ 4.253957] i2c-gpio i2c-csi: using lines 141 (SDA) and 140 (SCL)
[ 9.778135] sun6i-csi 1cb0000.csi: creating ov5640 3-004c:0 -> sun6i-csi:0 link
[ 9.793349] sun6i-csi 1cb0000.csi: creating gc2145 3-003c:0 -> sun6i-csi:0 link
[ 10.348554] ov5640 3-004c: ov5640_init_slave_id: failed with -6
[ 11.578215] ov5640 3-004c: ov5640_init_slave_id: failed with -6
[ 219.185022] ov5640 3-004c: ov5640_init_slave_id: failed with -6
[ 220.259847] ov5640 3-004c: ov5640_init_slave_id: failed with -6
[ 536.724229] ov5640 3-004c: ov5640_init_slave_id: failed with -6
[ 721.236655] ov5640 3-004c: ov5640_init_slave_id: failed with -6
[ 920.136994] ov5640 3-004c: ov5640_init_slave_id: failed with -6
[ 1047.866158] ov5640 3-004c: ov5640_init_slave_id: failed with -6