07-18-2021, 12:26 AM
I am experiencing a similar issue. Here is the dmesg of my NixOS machine, which has Martijn's autofocus patch and firmware.
$ journalctl -k | grep ov56
Jul 18 16:21:15 nixos kernel: sun6i-csi 1cb0000.csi: creating ov5640 5-004c:0 -> sun6i-csi:0 link
Jul 18 16:23:21 nixos kernel: ov5640 5-004c: firmware upload success
Jul 18 16:23:21 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f, retrying...
Jul 18 16:23:21 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f
Jul 18 16:23:21 nixos kernel: ov5640 5-004c: ov5640_set_ctrl_focus: no autofocus firmware loaded
Jul 18 16:24:38 nixos kernel: ov5640 5-004c: firmware upload success
Jul 18 16:24:38 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f, retrying...
Jul 18 16:24:38 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f
Jul 18 16:24:38 nixos kernel: ov5640 5-004c: ov5640_set_ctrl_focus: no autofocus firmware loaded
Jul 18 16:24:42 nixos kernel: ov5640 5-004c: firmware upload success
Jul 18 16:24:42 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f, retrying...
Jul 18 16:24:42 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f
Jul 18 16:24:42 nixos kernel: ov5640 5-004c: ov5640_set_ctrl_focus: no autofocus firmware loaded
This did once work on this phone, but it has stopped working. I am unaware of any meaningful changes in my system since then.
I am running Megi Linux 5.13.
Each time I open Megapixels, I get new dmesg output starting with "firmware upload success" and ending with "ov5640_set_ctrl_focus: no autofocus firmware loaded".
$ journalctl -k | grep ov56
Jul 18 16:21:15 nixos kernel: sun6i-csi 1cb0000.csi: creating ov5640 5-004c:0 -> sun6i-csi:0 link
Jul 18 16:23:21 nixos kernel: ov5640 5-004c: firmware upload success
Jul 18 16:23:21 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f, retrying...
Jul 18 16:23:21 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f
Jul 18 16:23:21 nixos kernel: ov5640 5-004c: ov5640_set_ctrl_focus: no autofocus firmware loaded
Jul 18 16:24:38 nixos kernel: ov5640 5-004c: firmware upload success
Jul 18 16:24:38 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f, retrying...
Jul 18 16:24:38 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f
Jul 18 16:24:38 nixos kernel: ov5640 5-004c: ov5640_set_ctrl_focus: no autofocus firmware loaded
Jul 18 16:24:42 nixos kernel: ov5640 5-004c: firmware upload success
Jul 18 16:24:42 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f, retrying...
Jul 18 16:24:42 nixos kernel: ov5640 5-004c: uploaded firmware didn't start, got to 0x7f
Jul 18 16:24:42 nixos kernel: ov5640 5-004c: ov5640_set_ctrl_focus: no autofocus firmware loaded
This did once work on this phone, but it has stopped working. I am unaware of any meaningful changes in my system since then.
I am running Megi Linux 5.13.
Each time I open Megapixels, I get new dmesg output starting with "firmware upload success" and ending with "ov5640_set_ctrl_focus: no autofocus firmware loaded".