Step by step to disable auto focus for logitech C920

What is the problem?

I need step by step guide to disable auto focus for logitech C920

What did you already try to solve it?

I only plug the web cam and use it

also I checked this URL

but I do not know How to use this commands

CR10s
latest octopi

See 1/2 way down this post.

or this one...

To disable autofocus using v4l2-control:

/usr/bin/v4l2-ctl -c focus_auto=0 # turn off C920 autofocus.

Is it possible to make these settings permanent? After i rebooted my raspberry pi everything was gone.

You might try...

sudo nano /etc/rc.local
# --- Skip down to the line right before the ending line
/usr/bin/v4l2-ctl -c focus_auto=0
# ---