Skip to content

Instantly share code, notes, and snippets.

@GlitchWitch
Last active June 3, 2022 16:52
Show Gist options
  • Save GlitchWitch/c4496faf085e058d642ae0ae2a846144 to your computer and use it in GitHub Desktop.
Save GlitchWitch/c4496faf085e058d642ae0ae2a846144 to your computer and use it in GitHub Desktop.
Logitech C920 Ubuntu Exposure/Brightness Config (Dark Room, Key Light)
# Improved
v4l2-ctl -d /dev/video0 -c exposure_auto=1
v4l2-ctl -d /dev/video0 --set-ctrl=exposure_absolute=150
v4l2-ctl -d /dev/video0 --set-ctrl=contrast=150
v4l2-ctl -d /dev/video0 --set-ctrl=brightness=128
v4l2-ctl -d /dev/video0 --set-ctrl=saturation=140
# Restore Default
v4l2-ctl -d /dev/video0 --set-ctrl=exposure_absolute=250
v4l2-ctl -d /dev/video0 -c exposure_auto=3
v4l2-ctl -d /dev/video0 --set-ctrl=contrast=128
v4l2-ctl -d /dev/video0 --set-ctrl=brightness=128
v4l2-ctl -d /dev/video0 --set-ctrl=saturation=128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment