Explorar el Código

Add leds subsystem to udev rules

Fredrik Svantesson hace 6 años
padre
commit
621e1dbe7f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      90-backlight.rules

+ 2
- 0
90-backlight.rules Ver fichero

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