90-backlight.rules 390 B

1234567
  1. # Allow video group to control backlight and leds
  2. SUBSYSTEM=="backlight", ACTION=="add", \
  3. RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness", \
  4. RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
  5. SUBSYSTEM=="leds", ACTION=="add", KERNEL=="*::kbd_backlight", \
  6. RUN+="/bin/chgrp video /sys/class/leds/%k/brightness", \
  7. RUN+="/bin/chmod g+w /sys/class/leds/%k/brightness"