diff options
author | Saumit <justsaumit@protonmail.com> | 2024-08-24 16:27:44 +0530 |
---|---|---|
committer | Saumit <justsaumit@protonmail.com> | 2024-08-24 16:27:44 +0530 |
commit | f2d6401062c648f52cca92d9ada2bfd079e504bc (patch) | |
tree | 948e713595d0e27123b0ba282918f20f8e28f841 | |
parent | ae7adf04a4e6ab85b9bee652d8216af901c25e76 (diff) |
udev: updating udev rules for backlight perms for amd laptop
-rw-r--r-- | etc/udev/rules.d/90-backlight.rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/udev/rules.d/90-backlight.rules b/etc/udev/rules.d/90-backlight.rules index 231c2a4..6399b9d 100644 --- a/etc/udev/rules.d/90-backlight.rules +++ b/etc/udev/rules.d/90-backlight.rules @@ -1,3 +1,5 @@ SUBSYSTEM=="backlight", ACTION=="add", RUN+="/bin/chgrp video /sys/class/backlight/intel_backlight/brightness", -RUN+="/bin/chmod o+w /sys/class/backlight/intel_backlight/brightness" +RUN+="/bin/chmod o+w /sys/class/backlight/intel_backlight/brightness", +RUN+="/bin/chgrp video /sys/class/backlight/amdgpu_bl1/brightness", +RUN+="/bin/chmod o+w /sys/class/backlight/amdgpu_bl1/brightness" |