Update tlp

This commit is contained in:
barmogund 2024-11-04 12:48:39 +01:00 committed by GitHub
parent 83887799ff
commit d5ca36fa2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,20 +66,7 @@ profile tlp @{exec_path} flags=(attach_disconnected) {
owner @{run}/tlp/* rw, owner @{run}/tlp/* rw,
owner @{run}/tlp/lock_tlp rwk, owner @{run}/tlp/lock_tlp rwk,
@{sys}/class/net/ r,
@{sys}/class/power_supply/ r,
@{sys}/bus/pci/drivers/mei_me/ r,
@{sys}/bus/pci/drivers/nouveau/ r,
@{sys}/bus/pci/drivers/xhci_hcd/ r,
@{sys}/devices/**/power_supply/BAT@{int}/type r,
@{sys}/devices/**/power_supply/BAT@{int}/present r,
@{sys}/devices/@{pci}/ r,
@{sys}/devices/@{pci}/power/control rw,
@{sys}/devices/platform/**/power_supply/ADP@{int}/online r,
@{sys}/devices/platform/**/power_supply/ADP@{int}/type r,
@{sys}/devices/system/cpu/cpufreq/policy@{int}/energy_performance_preference rw, @{sys}/devices/system/cpu/cpufreq/policy@{int}/energy_performance_preference rw,
@{sys}/devices/virtual/dmi/id/product_version r,
@{sys}/devices/virtual/net/lo/uevent r,
@{sys}/module/pcie_aspm/parameters/policy rw, @{sys}/module/pcie_aspm/parameters/policy rw,
@{sys}/module/snd_hda_intel/parameters/power_save rw, @{sys}/module/snd_hda_intel/parameters/power_save rw,
@{sys}/module/snd_hda_intel/parameters/power_save_controller rw, @{sys}/module/snd_hda_intel/parameters/power_save_controller rw,
@ -93,7 +80,6 @@ profile tlp @{exec_path} flags=(attach_disconnected) {
owner @{PROC}/sys/kernel/nmi_watchdog rw, owner @{PROC}/sys/kernel/nmi_watchdog rw,
/dev/disk/by-id/ r, /dev/disk/by-id/ r,
owner /dev/sda r,
/dev/tty rw, /dev/tty rw,
profile systemctl { profile systemctl {