fix(profile): ensure backlight on all hardware
This commit is contained in:
parent
8da557ba04
commit
5b73923385
7 changed files with 42 additions and 37 deletions
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue