TLP ThinkPad T60 2008 43 G

Aus Linupedia.org
Version vom 14. August 2015, 12:46 Uhr von Revealed (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „# ------------------------------------------------------------------------------ # tlp - Parameters for power save # Hint: some features are disabled by defau…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche
  1. ------------------------------------------------------------------------------
  2. tlp - Parameters for power save
  1. Hint: some features are disabled by default, remove the leading # to enable
  2. them.
  1. Set to 0 to disable, 1 to enable TLP.

TLP_ENABLE=1

  1. Seconds laptop mode has to wait after the disk goes idle before doing a sync.
  2. Non-zero value enables, zero disables laptop mode.

DISK_IDLE_SECS_ON_AC=2 DISK_IDLE_SECS_ON_BAT=2

  1. Dirty page values (timeouts in secs).

MAX_LOST_WORK_SECS_ON_AC=15 MAX_LOST_WORK_SECS_ON_BAT=60

  1. Hint: CPU parameters below are disabled by default, remove the leading #
  2. to enable them, otherwise kernel default values are used.
  1. Select a CPU frequency scaling governor:
  2. ondemand, powersave, performance, conservative
  3. Intel Core i processor with intel_pstate driver:
  4. powersave, performance
  5. Important:
  6. You *must* disable your distribution's governor settings or conflicts will
  7. occur. ondemand is sufficient for *almost all* workloads, you should know
  8. what you're doing!

CPU_SCALING_GOVERNOR_ON_AC=ondemand CPU_SCALING_GOVERNOR_ON_BAT=ondemand

  1. Set the min/max frequency available for the scaling governor.
  2. Possible values strongly depend on your CPU. For available frequencies see
  3. tlp-stat output, Section "+++ Processor".
  4. CPU_SCALING_MIN_FREQ_ON_AC=0
  5. CPU_SCALING_MAX_FREQ_ON_AC=0
  6. CPU_SCALING_MIN_FREQ_ON_BAT=0
  7. CPU_SCALING_MAX_FREQ_ON_BAT=0
  1. Set Intel P-state performance: 0..100 (%)
  2. Limit the max/min P-state to control the power dissipation of the CPU.
  3. Values are stated as a percentage of the available performance.
  4. Requires an Intel Core i processor with intel_pstate driver.
  5. CPU_MIN_PERF_ON_AC=0
  6. CPU_MAX_PERF_ON_AC=100
  7. CPU_MIN_PERF_ON_BAT=0
  8. CPU_MAX_PERF_ON_BAT=30
  1. Set the CPU "turbo boost" feature: 0=disable, 1=allow
  2. Requires an Intel Core i processor.
  3. Important:
  4. - This may conflict with your distribution's governor settings
  5. - A value of 1 does *not* activate boosting, it just allows it
  6. CPU_BOOST_ON_AC=1
  7. CPU_BOOST_ON_BAT=0
  1. Minimize number of used CPU cores/hyper-threads under light load conditions

SCHED_POWERSAVE_ON_AC=1 SCHED_POWERSAVE_ON_BAT=1

  1. Kernel NMI Watchdog:
  2. 0=disable (default, saves power), 1=enable (for kernel debugging only)

NMI_WATCHDOG=0

  1. Change CPU voltages aka "undervolting" - Kernel with PHC patch required
  2. Frequency voltage pairs are written to:
  3. /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
  4. CAUTION: only use this, if you thoroughly understand what you are doing!
  5. PHC_CONTROLS="F:V F:V F:V F:V"
  1. Set CPU performance versus energy savings policy:
  2. performance, normal, powersave
  3. Requires kernel module msr and x86_energy_perf_policy from linux-tools

ENERGY_PERF_POLICY_ON_AC=performance ENERGY_PERF_POLICY_ON_BAT=powersave

  1. Hard disk devices; separate multiple devices with spaces (default: sda).
  2. Devices can be specified by disk ID also (lookup with: tlp diskid).

DISK_DEVICES="sda sdb"

  1. Hard disk advanced power management level: 1..254, 255 (max saving, min, off)
  2. Levels 1..127 may spin down the disk; 255 allowable on most drives.
  3. Separate values for multiple devices with spaces.

DISK_APM_LEVEL_ON_AC="192 192" DISK_APM_LEVEL_ON_BAT="172 172"

  1. Hard disk spin down timeout:
  2. 0: spin down disabled
  3. 1..240: timeouts from 5s to 20min (in units of 5s)
  4. 241..251: timeouts from 30min to 5.5 hours (in units of 30min)
  5. See 'man hdparm' for details.

DISK_SPINDOWN_TIMEOUT_ON_AC="0 12" DISK_SPINDOWN_TIMEOUT_ON_BAT="0 12"

  1. Select IO scheduler for the disk devices: noop, deadline, cfq (Default: cfq);
  2. Separate values for multiple devices with spaces.
  3. DISK_IOSCHED="cfq cfq"
  1. SATA aggressive link power management (ALPM):
  2. min_power, medium_power, max_performance

SATA_LINKPWR_ON_AC=medium_power SATA_LINKPWR_ON_BAT=medium_power

  1. PCI Express Active State Power Management (PCIe ASPM):
  2. default, performance, powersave

PCIE_ASPM_ON_AC=powersave PCIE_ASPM_ON_BAT=powersave

  1. Radeon graphics clock speed (profile method): low, mid, high, auto, default;
  2. auto = mid on BAT, high on AC; default = use hardware defaults.
  3. (Kernel >= 2.6.35 only, open-source radeon driver explicitly)

RADEON_POWER_PROFILE_ON_AC=mid RADEON_POWER_PROFILE_ON_BAT=low

  1. Radeon dynamic power management method (DPM): battery, performance
  2. (Kernel >= 3.11 only, requires boot option radeon.dpm=1)

RADEON_DPM_STATE_ON_AC=battery RADEON_DPM_STATE_ON_BAT=battery

  1. Radeon DPM performance level: auto, low, high; auto is recommended.

RADEON_DPM_PERF_LEVEL_ON_AC=auto RADEON_DPM_PERF_LEVEL_ON_BAT=auto

  1. WiFi power saving mode: 1=disable, 5=enable; not supported by all adapters.

WIFI_PWR_ON_AC=5 WIFI_PWR_ON_BAT=5

  1. Disable wake on LAN: Y/N

WOL_DISABLE=Y

  1. Enable audio power saving for Intel HDA, AC97 devices (timeout in secs).
  2. A value of 0 disables, >=1 enables power save.

SOUND_POWER_SAVE_ON_AC=1 SOUND_POWER_SAVE_ON_BAT=1

  1. Disable controller too (HDA only): Y/N

SOUND_POWER_SAVE_CONTROLLER=Y

  1. Set to 1 to power off optical drive in UltraBay/MediaBay when running on
  2. battery. A value of 0 disables this feature (Default).
  3. Drive can be powered on again by releasing (and reinserting) the eject lever
  4. or by pressing the disc eject button on newer models.
  5. Note: an UltraBay/MediaBay hard disk is never powered off.

BAY_POWEROFF_ON_BAT=0

  1. Optical drive device to power off (default sr0).

BAY_DEVICE="sr0"

  1. Runtime Power Management for PCI(e) bus devices: on=disable, auto=enable

RUNTIME_PM_ON_AC=auto RUNTIME_PM_ON_BAT=auto

  1. Runtime PM for *all* PCI(e) bus devices, except blacklisted ones:
  2. 0=disable, 1=enable

RUNTIME_PM_ALL=1

  1. Exclude PCI(e) device adresses the following list from Runtime PM
  2. (separate with spaces). Use lspci to get the adresses (1st column).
  3. RUNTIME_PM_BLACKLIST="bb:dd.f 11:22.3 44:55.6"
  1. Exclude PCI(e) devices assigned to the listed drivers from Runtime PM
  2. (should prevent accidential power on of hybrid graphics' discrete part).
  3. Default is "radeon nouveau"; use "" to disable the feature completely.
  4. Separate multiple drivers with spaces.

RUNTIME_PM_DRIVER_BLACKLIST="radeon nouveau"

  1. Set to 0 to disable, 1 to enable USB autosuspend feature.

USB_AUTOSUSPEND=1

  1. Exclude listed devices from USB autosuspend (separate with spaces).
  2. Use lsusb to get the ids.
  3. Note: input devices (usbhid) are excluded automatically (see below)
  4. USB_BLACKLIST="1111:2222 3333:4444"
  1. Exclude devices assigned to the listed drivers from USB autosuspend.
  2. Default is "usbhid" (input devices); use "" to disable the feature
  3. completely. Separate multiple drivers with spaces.

USB_DRIVER_BLACKLIST="usbhid"

  1. WWAN devices are excluded from USB autosuspend:
  2. 0=do not exclude / 1=exclude

USB_BLACKLIST_WWAN=1

  1. Include listed devices into USB autosuspend even if already excluded
  2. by the driver or WWAN blacklists above (separate with spaces).
  3. Use lsusb to get the ids.
  4. USB_WHITELIST="1111:2222 3333:4444"
  1. Set to 1 to disable autosuspend before shutdown, 0 to do nothing
  2. (workaround for USB devices that cause shutdown problems).
  3. USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=1
  1. Restore radio device state (Bluetooth, WiFi, WWAN) from previous shutdown
  2. on system startup: 0=disable, 1=enable.
  3. Hint: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below
  4. are ignored when this is enabled!

RESTORE_DEVICE_STATE_ON_STARTUP=0

  1. Radio devices to disable on startup: bluetooth, wifi, wwan.
  2. Separate multiple devices with spaces.

DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wwan"

  1. Radio devices to enable on startup: bluetooth, wifi, wwan.
  2. Separate multiple devices with spaces.
  3. DEVICES_TO_ENABLE_ON_STARTUP="wifi"
  1. Radio devices to disable on shutdown: bluetooth, wifi, wwan
  2. (workaround for devices that are blocking shutdown).
  3. DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"
  1. Radio devices to enable on shutdown: bluetooth, wifi, wwan
  2. (to prevent other operating systems from missing radios).
  3. DEVICES_TO_ENABLE_ON_SHUTDOWN="wwan"
  1. Radio devices to enable on AC: bluetooth, wifi, wwan
  2. DEVICES_TO_ENABLE_ON_AC="bluetooth wifi wwan"
  1. Radio devices to disable on battery: bluetooth, wifi, wwan
  2. DEVICES_TO_DISABLE_ON_BAT="bluetooth wifi wwan"
  1. Radio devices to disable on battery when not in use (not connected):
  2. bluetooth, wifi, wwan
  3. DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE="bluetooth wifi wwan"
  1. Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module
  2. required). Charging starts when the remaining capacity falls below the
  3. START_CHARGE_TRESH value and stops when exceeding the STOP_CHARGE_TRESH value.
  4. Main / Internal battery (values in %)
  5. START_CHARGE_THRESH_BAT0=75
  6. STOP_CHARGE_THRESH_BAT0=80
  7. Ultrabay / Slice / Replaceable battery (values in %)
  8. START_CHARGE_THRESH_BAT1=75
  9. STOP_CHARGE_THRESH_BAT1=80
  1. ------------------------------------------------------------------------------
  2. tlp-rdw - Parameters for the radio device wizard
  3. Possible devices: bluetooth, wifi, wwan
  1. Hints:
  2. - Parameters are disabled by default, remove the leading # to enable them.
  3. - Separate multiple radio devices with spaces.
  1. Radio devices to disable on connect.

DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan" DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan" DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"

  1. Radio devices to enable on disconnect.

DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"

  1. DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""
  2. DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""
  1. Radio devices to enable/disable when docked.
  2. DEVICES_TO_ENABLE_ON_DOCK=""
  3. DEVICES_TO_DISABLE_ON_DOCK=""
  1. Radio devices to enable/disable when undocked.
  2. DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
  3. DEVICES_TO_DISABLE_ON_UNDOCK=""