Skip to content

Instantly share code, notes, and snippets.

@viliampucik
Created June 19, 2021 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viliampucik/cd526275538c2967ecdd3996b400e997 to your computer and use it in GitHub Desktop.
Save viliampucik/cd526275538c2967ecdd3996b400e997 to your computer and use it in GitHub Desktop.
Always set zoom level for a webcam
# /etc/udev/rules.d/99-local-webcam.rules
# Logitech C925e webcam zoom
SUBSYSTEM=="video4linux", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="085b", PROGRAM="/usr/bin/v4l2-ctl --set-ctrl zoom_absolute=150 --device /dev/%k"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment