Browse Source

Add udev rules files based on README

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 6 years ago
parent
commit
acf5156f5c
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      90-backlight.rules

+ 2
- 0
90-backlight.rules View File

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