Fredrik Haikarainen 8 years ago
parent
commit
9681c7268a
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      README.md

+ 6
- 0
README.md View File

31
 
31
 
32
 `make && make install`
32
 `make && make install`
33
 
33
 
34
+**Optional:** If you want to use udev rules instead of suid to manage sysfs permissions, you may skip the `make install` step and instead add something like the following to `/etc/udev/rules.d/90-backlight.rules` after copying your binaries:
35
+```
36
+ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
37
+ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
38
+```
39
+
34
 
40
 
35
 ## Usage
41
 ## Usage
36
 
42