Skip to content

Commit f412eeb

Browse files
committed
fix: the control parameter focus_auto is now focus_automatic_continuous
The parameter `focus_auto` is no longer working. When we run: v4l2-ctl --device /dev/web-c920 --set-ctrl=focus_auto=0 We get: unknown control 'focus_auto' It seems that the parameter is now named `focus_automatic_continuous`. See mainsail-crew/crowsnest#96
1 parent 4decfe8 commit f412eeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fix-Logitech-HD-Pro-Webcam-C920.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ fi
4545
webcam_name="$(v4l2-ctl --device "$video_device" --info | grep -E '^\s+Card type\s+:' | sed -E 's/^.*?:\s+//')"
4646
echo "Found video device: $video_device for $webcam_name"
4747

48-
v4l2-ctl --device "$video_device" --set-ctrl=focus_auto=0
48+
v4l2-ctl --device "$video_device" --set-ctrl=focus_automatic_continuous=0
4949

5050
exit 0

0 commit comments

Comments
 (0)