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

@ -92,13 +92,14 @@ profile xorg @{exec_path} flags=(attach_disconnected) {
@{sys}/class/ r,
@{sys}/class/{tty,input,drm}/ r,
@{sys}/class/power_supply/ r,
@{sys}/devices/@{pci}/ r,
@{sys}/devices/@{pci}/backlight/**/{,max_,actual_}brightness r,
@{sys}/devices/@{pci}/backlight/**/{uevent,type,enabled} r,
@{sys}/devices/@{pci}/backlight/**/brightness rw,
@{sys}/devices/@{pci}/boot_vga r,
@{sys}/devices/**/{uevent,name,id,config} r,
@{sys}/devices/**/hid r,
@{sys}/devices/**/power_supply/**/{type,online} r,
@{sys}/devices/@{pci}/ r,
@{sys}/devices/@{pci}/backlight/*/{,max_}brightness r,
@{sys}/devices/@{pci}/backlight/*/brightness rw,
@{sys}/devices/@{pci}/boot_vga r,
@{sys}/devices/platform/ r,
@{sys}/module/i915/{,**} r,