I'm trying to disable the autofocus on the cam500b and set a fixed focal length in the code. Im using the nanocams tool.

I've tried to set:

Code: Select all

#define V4L2_CID_FOCUS_AUTO
to false but without luck.

https://github.com/friendlyarm/nexell_linux_platform/blob/master/kernel-headers/linux/videodev2.h#L1772

Has anybody a hint for me?