IT WORKS!!! Great work! Amazing! so far front camera only, and yeah, the image quality leaves something to be desired, but IT WORKS. AND it saves the .jpg with a date stamp filename in home/usr/pictures. LOVE IT
This is not working for me, on my Braveheart PinePhone. Here's the dmesg output:
Code:
mobian ~$ dmesg | grep -E "(csi|ov5640)"
[ 1.425837] dovdd-csi: Bringing 3300000uV into 1800000-1800000uV
[ 1.428194] avdd-csi: Bringing 2900000uV into 2800000-2800000uV
[ 1.430261] dvdd-csi: Bringing 700000uV into 1800000-1800000uV
[ 4.172849] i2c-gpio i2c-csi: using lines 141 (SDA) and 140 (SCL)
[ 8.972532] sun6i-csi 1cb0000.csi: creating ov5640 3-004c:0 -> sun6i-csi:0 link
[ 8.979971] sun6i-csi 1cb0000.csi: creating gc2145 3-003c:0 -> sun6i-csi:0 link
[ 9.918406] ov5640 3-004c: ov5640_init_slave_id: failed with -6
[ 11.526450] ov5640 3-004c: ov5640_init_slave_id: failed with -6
[ 39.310878] ov5640 3-004c: ov5640_init_slave_id: failed with -6
[ 40.475398] ov5640 3-004c: ov5640_init_slave_id: failed with -6
Camera shows a test pattern when I run it, indicating that no cameras are detected at all.
I flashed Mobian to my SD card from the mobian-pinephone-20200707 image, then upgraded using "sudo apt upgrade" (only one package, pinephone-tweaks, was updated), then restarted.