summarylogtreecommitdiffstats
path: root/throttle-runtime-pm.rules
diff options
context:
space:
mode:
authorQue Quotion2022-02-19 19:11:45 +0900
committerQue Quotion2022-02-19 19:11:45 +0900
commitb418253630767a95e2ec573a588ace4bb5f1d3ba (patch)
treeb135e79d0088c559c3ee3e0850706c68eedceabc /throttle-runtime-pm.rules
parent35e190b74ef6a06f103830ba514305191a680406 (diff)
downloadaur-indicator-powersave.tar.gz
Revival: same Ayatana indicator, now front-end for throttlectl
Diffstat (limited to 'throttle-runtime-pm.rules')
-rw-r--r--throttle-runtime-pm.rules46
1 files changed, 0 insertions, 46 deletions
diff --git a/throttle-runtime-pm.rules b/throttle-runtime-pm.rules
deleted file mode 100644
index f4cac9a6c17e..000000000000
--- a/throttle-runtime-pm.rules
+++ /dev/null
@@ -1,46 +0,0 @@
-## Throttle - Runtime management udev rules.
-## Whitelisted Actions
-ACTION!="add", GOTO="runtime_pm_rules_end"
-
-## Blacklisted Devices (USB Keyboard/Mouse, etc.)
-# Logitec Unifying Reciever (occasionally disabled ?)
-ATTR{idVendor}=="046d", ATTR{idProduct}=="c52b", GOTO="runtime_pm_rules_end"
-# Standard Microsystems Corp. 2 Port Hub (doesn't charge with runtime pm ?)
-ATTR{idVendor}=="0424", ATTR{idProduct}=="a700", GOTO="runtime_pm_rules_end"
-# Charge Sixaxis/Dualshock 3 (disconnect or charge too slowly with runtime pm ?)
-ATTR{idVendor}=="054c", ATTR{idProduct}=="0268", GOTO="runtime_pm_rules_end"
-
-# Asynchronous power transitions
-SUBSYSTEMS=="*" ATTR{power/async}=="disabled", ATTR{power/async}="enabled"
-
-# Backlight
-SUBSYSTEM=="backlight", TEST=="brightness", ATTR{brightness}="0"
-
-# Hard disk power saving
-SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="min_power"
-KERNEL=="[hs]d[a-z]", ATTR{queue/rotational}=="1", RUN+="/usr/bin/hdparm -B 1 -M 128 /dev/%k"
-
-# Various subsystems runtime power management
-SUBSYSTEMS=="*", ATTR{power/control}=="on", ATTR{power/control}="auto"
-
-# USB autosuspend devices after 1 sec (may disable some old devices!)
-SUBSYSTEM=="usb", TEST=="power/autosuspend", ATTR{power/autosuspend}="1"
-SUBSYSTEM=="usb", TEST=="power/autosuspend_delay_ms", ATTR{power/autosuspend_delay_ms}="1"
-
-# Various subsystems power saving
-SUBSYSTEMS=="*", TEST=="parameters/power_save", ATTR{parameters/power_save}="1"
-SUBSYSTEMS=="*", ATTR{parameters/power_save_controller}=="N", ATTR{parameters/power_save_controller}="Y"
-
-# Universally enable D3 Cold
-DRIVER=="*", ATTR{d3cold_allowed}=="0", ATTR{d3cold_allowed}="1"
-
-# Network Powersaving
-SUBSYSTEM=="net", KERNEL=="wl*", RUN+="/usr/bin/iw dev %k set power_save on"
-SUBSYSTEM=="net", KERNEL=="e*", RUN+="/usr/sbin/ethtool -s %k wol d"
-SUBSYSTEM=="net", TEST=="device/power/wakeup", ATTR{device/power/wakeup}="disabled"
-
-# Reduce LED Brightness
-SUBSYSTEM=="leds", TEST=="brightness", ATTR{brightness}="0"
-
-# Exit
-LABEL="runtime_pm_rules_end"