Skip to content

Add manual focus control

Administrator requested to merge focus into master

This supports the Xiaomi Mi Note 2 in which focus is set separately from the camera sensor through the V4L2_CID_FOCUS_ABSOLUTE control of the AK7375 lens actuator subdevice. There may be some unintentional effects on auto-focus on other devices, so testing is advisable.

Other devices that have V4L2_CID_FOCUS_ABSOLUTE either on the camera sensor or another subdevice should also be able to benefit from this with one line added to their configs. V4L2_CID_FOCUS_RELATIVE will require additional work on the other hand.

Merge request reports

Loading