testsAndMisc/linux_configuration/fixes/99-c270-fixed-framerate.rules
Krzysztof kuhy Rudnicki cf55091e95
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Waiting to run
Python tests / test (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / lib-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
fix(webcam): keep Logitech C270 at 30 fps in low light via udev rule
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 13:49:17 +02:00

8 lines
615 B
Plaintext

# Logitech C270: stop the camera halving its frame rate in dim light.
# With exposure_dynamic_framerate=1 (what the firmware comes up with) auto
# exposure stretches frames to ~60 ms, i.e. ~15 fps, and Meet looks laggy.
# Chromium/Helium never resets this control (its reset batch includes
# FOCUS_AUTO, which the C270 lacks, so the whole batch fails), so setting it
# once per plug-in is enough. Installed by fixes/fix_webcam_c270.sh.
ACTION=="add", SUBSYSTEM=="video4linux", ATTR{index}=="0", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="0825", RUN+="/usr/bin/v4l2-ctl -d $devnode -c exposure_dynamic_framerate=0"