1234567 |
- # Allow video group to control backlight and leds
- SUBSYSTEM=="backlight", ACTION=="add", \
- RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness", \
- RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
- SUBSYSTEM=="leds", ACTION=="add", KERNEL=="*::kbd_backlight", \
- RUN+="/bin/chgrp video /sys/class/leds/%k/brightness", \
- RUN+="/bin/chmod g+w /sys/class/leds/%k/brightness"
|