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

@ -22,14 +22,14 @@ profile kauth-backlighthelper @{exec_path} {
@{sys}/class/backlight/ r,
@{sys}/class/leds/ r,
@{sys}/devices/@{pci}/backlight/**/{max_brightness,actual_brightness} r,
@{sys}/devices/@{pci}/backlight/**/{uevent,type} r,
@{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/@{pci}/drm/card@{int}/**/{max_brightness,actual_brightness} r,
@{sys}/devices/@{pci}/drm/card@{int}/**/{,max_,actual_}brightness rw,
@{sys}/devices/@{pci}/drm/card@{int}/**/{uevent,type,enabled} r,
@{sys}/devices/@{pci}/drm/card@{int}/**/brightness rw,
@{sys}/devices/@{pci}/intel_backlight/{max_,}brightness rw,
@{sys}/devices/@{pci}/intel_backlight/type r,
/dev/tty r,