fix(profile): ensure backlight on all hardware

This commit is contained in:
Alexandre Pujol 2024-06-25 12:27:22 +01:00
parent 8da557ba04
commit 5b73923385
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
7 changed files with 42 additions and 37 deletions

View file

@ -23,12 +23,14 @@ profile light @{exec_path} {
@{sys}/class/backlight/ r,
@{sys}/class/leds/ r,
@{sys}/devices/@{pci}/drm/**/intel_backlight/{,max_}brightness r,
@{sys}/devices/@{pci}/drm/**/intel_backlight/brightness rw,
@{sys}/devices/@{pci}/backlight/*/{,max_}brightness r,
@{sys}/devices/@{pci}/backlight/*/brightness rw,
@{sys}/devices/@{pci}/*_backlight/{,max_,actual_}brightness rw,
@{sys}/devices/@{pci}/*_backlight/{uevent,type,enabled} r,
@{sys}/devices/@{pci}/backlight/**/{,max_,actual_}brightness rw,
@{sys}/devices/@{pci}/backlight/**/{uevent,type,enabled} r,
@{sys}/devices/@{pci}/backlight/**/brightness rw,
@{sys}/devices/**/leds/**/{,max_,actual_}brightness rw,
@{sys}/devices/**/leds/**/{uevent,type,enabled} r,
@{sys}/devices/**/leds/**/brightness_hw_changed r,
# file_inherit
owner /dev/tty@{int} rw,