Last active
February 6, 2021 15:11
-
-
Save ndoo/d34762aabb060a1f40848450dab7c1e7 to your computer and use it in GitHub Desktop.
udev Rules for Logitech C920 Fixed Focus on Prusa MK3S Z-axis Mount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUBSYSTEM=="video4linux", KERNEL=="video[0-9]*", ATTRS{product}=="HD Pro Webcam C920", RUN+="/usr/bin/v4l2-ctl -d $devnode --set-ctrl=exposure_auto_priority=0" | |
SUBSYSTEM=="video4linux", KERNEL=="video[0-9]*", ATTRS{product}=="HD Pro Webcam C920", RUN+="/usr/bin/v4l2-ctl -d $devnode --set-ctrl=focus_auto=0" | |
SUBSYSTEM=="video4linux", KERNEL=="video[0-9]*", ATTRS{product}=="HD Pro Webcam C920", RUN+="/usr/bin/v4l2-ctl -d $devnode --set-ctrl=focus_absolute=45" | |
SUBSYSTEM=="video4linux", KERNEL=="video[0-9]*", ATTRS{product}=="HD Pro Webcam C920", RUN+="/usr/bin/v4l2-ctl -d $devnode --set-ctrl=sharpness=160" | |
SUBSYSTEM=="video4linux", KERNEL=="video[0-9]*", ATTRS{product}=="HD Pro Webcam C920", RUN+="/usr/bin/v4l2-ctl -d $devnode --set-ctrl=saturation=176" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment