pmaports/device/testing/device-pine64-pinebookpro/70-edp-backlight.rules
Clayton Craft 35388f3ced
device-pine64-pinebookpro: add udev rule for setting backlight perm (MR 2374)
There's a generic udev rule to set group ownership of backlights to
'video', but it only runs on the ADD action, which seems to be too
late(?) since the backlight device is never owned by 'video' on boot.

This rule will run on CHANGE too, which might be overkill but seems to
get the job done. It's now possible to set the backlight brightness on
the PBP as a normal user.
2021-07-30 18:20:48 +02:00

1 line
76 B
Text

SUBSYSTEM=="backlight", KERNEL=="edp-backlight", GROUP="video", MODE="0664"