From f2d6401062c648f52cca92d9ada2bfd079e504bc Mon Sep 17 00:00:00 2001 From: Saumit Date: Sat, 24 Aug 2024 16:27:44 +0530 Subject: udev: updating udev rules for backlight perms for amd laptop --- etc/udev/rules.d/90-backlight.rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'etc/udev/rules.d/90-backlight.rules') 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" -- cgit v1.2.3