Ver código fonte

Add leds subsystem to udev rules

Fredrik Svantesson 6 anos atrás
pai
commit
621e1dbe7f
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      90-backlight.rules

+ 2
- 0
90-backlight.rules Ver arquivo

@@ -1,2 +1,4 @@
1 1
 ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
2 2
 ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
3
+ACTION=="add", SUBSYSTEM=="leds", RUN+="/bin/chgrp video /sys/class/leds/%k/brightness"
4
+ACTION=="add", SUBSYSTEM=="leds", RUN+="/bin/chmod g+w /sys/class/leds/%k/brightness"