From 9bbf6db11cb1cb1f80811d2865ec1308e4e63d26 Mon Sep 17 00:00:00 2001 From: "Brian J. Tarricone" Date: Tue, 24 Jan 2023 14:19:06 -0800 Subject: [PATCH] Add backlight udev rules file --- 90-backlight.rules | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 90-backlight.rules diff --git a/90-backlight.rules b/90-backlight.rules new file mode 100644 index 0000000..d95fb2e --- /dev/null +++ b/90-backlight.rules @@ -0,0 +1,3 @@ +SUBSYSTEM=="backlight", ACTION=="add", \ + RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness", \ + RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"