Arducam_64mp autofocus via libcamera-still

@dot.dot

I checked and found that the latest libcamera needs to be used with the latest kernel.

We will update our installation script later, the specific reasons I list below.

The new version of libcamera obtains the motor driver node through the following code.

Since there is no MEDIA_LNK_FL_ANCILLARY_LINK media link on version 5.10.92, the motor driver node cannot be obtained. So autofocus cannot be used.

MEDIA_LNK_FL_ANCILLARY_LINK Media Link Submission Record.

v4l2 driver creates link submission record

You can see that the commit is in version 5.15.30 of the Raspberry Pi kernel.
2bbdf031-d50f-4553-95a4-008f268babac

So the current libcamera v0.0.12 version only supports Raspberry Pi kernel 5.15.30 and later.

Way to update:

sudo apt-get update
sudo apt-get upgrade

Then reboot