Sfoglia il codice sorgente

Add leds subsystem to udev rules

Fredrik Svantesson 6 anni fa
parent
commit
621e1dbe7f
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      90-backlight.rules

+ 2
- 0
90-backlight.rules Vedi File

@@ -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"