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

@ -27,19 +27,20 @@ profile systemd-backlight @{exec_path} {
@{sys}/class/ r,
@{sys}/class/backlight/ r,
@{sys}/devices/@{pci}/*:@{int}.@{int}/**/ r,
@{sys}/devices/@{pci}/ 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}/class r,
@{sys}/devices/@{pci}/drm/card@{int}/**/{max_brightness,actual_brightness} r,
@{sys}/devices/@{pci}/drm/card@{int}/**/{uevent,type} 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}/uevent r,
@{sys}/devices/**/leds/**/brightness rw,
@{sys}/devices/**/leds/**/{,max_,actual_}brightness rw,
@{sys}/devices/**/leds/**/{uevent,type,enabled} r,
@{sys}/devices/**/leds/**/brightness_hw_changed r,
@{sys}/devices/**/leds/**/max_brightness r,
include if exists <local/systemd-backlight>
}