Can't get autofocus working
#1
Hi,

I'm running into difficulty getting main camera autofocus running.  I've taken the following steps:

  1. Replaced my Braveheart motherboard with a new 3GiB motherboard.
  2. Replaced my camera module with a new one.
  3. Installed the latest Mobian weekly (2022-01-02).
  4. Upgraded all the things ( sudo apt-get upgrade -y ).
  5. Started Megapixels, and tapped the screen to trigger autofocus.

At this point the focus jumps around a bit (looks like autofocus starting to work as it does on other devices), but it never manages to properly focus on anything more than a few centimeters from the lens.  During this, the following is logged in dmesg:

Code:
[ 7895.103889] ov5640 3-004c: uploaded firmware didn't start, got to 0x7f, retrying...
[ 7895.423877] ov5640 3-004c: uploaded firmware didn't start, got to 0x7f
[ 7895.430507] ov5640 3-004c: ov5640_set_ctrl_focus: no autofocus firmware loaded
[ 7899.123759] ov5640 3-004c: firmware upload success
[ 7899.129210] ov5640 3-004c: fw started after 0 ms

The camera works just fine when I "focus" it by physically moving it close to an object:


[Image: IMG20220108060633.jpg]

... but if I try to take a photo of anything more than a few centimeters away, it completely fails to focus:


[Image: IMG20220108060559.jpg]

Any help would be greatly appreciated, as this is the final hurdle for me to adopt a PinePhone as my daily driver Smile
  Reply


Messages In This Thread
Can't get autofocus working - by duncan_bayne - 01-08-2022, 12:11 AM
RE: Can't get autofocus working - by duncan_bayne - 01-18-2022, 04:40 AM
RE: Can't get autofocus working - by kqlnut - 01-18-2022, 04:55 AM
RE: Can't get autofocus working - by alanwake82 - 01-20-2022, 02:45 AM
RE: Can't get autofocus working - by duncan_bayne - 01-22-2022, 09:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  My new phone stopped working. gunnygee 1 613 08-02-2024, 07:20 AM
Last Post: mikehenson
  4G VoLTE calls confirmed working with carrier x dcinoz 15 15,321 03-09-2024, 11:38 PM
Last Post: dcinoz
  MMS sending stopped working amindfv 2 1,708 01-16-2023, 09:44 PM
Last Post: treebeard
  Instructions to get pinephone working on USA carrier omarcomputing 1 1,765 10-08-2022, 04:45 PM
Last Post: treebeard
  JumpDrive isn't working phytocube 2 2,305 06-05-2022, 03:22 PM
Last Post: phytocube
  SIM card slot not working dekrets 2 2,691 02-12-2022, 11:09 AM
Last Post: dekrets
  PinePhone Beta 3GB modem not working hannescam 15 11,071 01-19-2022, 02:08 AM
Last Post: bcnaz
  Video Out not working BenniTec 7 6,180 10-21-2021, 11:56 AM
Last Post: BenniTec
  How did you get data working on PureTalk? nelstomlinson 2 3,448 09-26-2021, 03:50 PM
Last Post: nelstomlinson
  JumpDrive not working due to device busy cnxsoft 3 3,650 08-08-2021, 12:18 AM
Last Post: mouffa

Forum Jump:


Users browsing this thread: 2 Guest(s)