TLP Troubleshooting

TLP's default configuration is carefully chosen to avoid power saving to interfere with normal laptop operation.

However kernel drivers do not implement power save perfectly for all existing hardware – possibly leading to:

and the like.

TLP is not able to make kernel bugs disappear but there is (almost) always a workaround by tweaking TLP's configuration.

This document teaches how to isolate the offending device or power save feature and disable it.

Contents

  1. Step 1: Update your system
  2. Step 2: Check the FAQ
  3. Step 3: Uninstall TLP temporarily
  4. Step 4: Determine affected power sources
  5. Step 5: Is the offending device already known?
  6. Step 6: Isolate the offending device
  7. Step 7: Upgrade kernel or firmware
  8. Links

Step 1: Update your system

Invoke your system's package manager and update all packages including the Linux kernel. Reboot.

Linux Mint: make shure kernel and X updates are enabled in the update manager!

Step 2: Check the FAQ

The FAQ contains many ready-to-use solutions for common problems with TLP. Carefully check it for your symptoms.

Step 3: Uninstall TLP temporarily

To determine if TLP is the source of your problem, uninstall TLP and all accompanying packages (from the installation instructions), reboot the system and check if your symptom disappeared.

Important: in case of sporadic symptoms be sure to allow for enough testing time to reliably reproduce the problem!

If your problem is gone now, reinstall TLP and proceed to Step 4.

Else your problem is not caused by TLP and you should seek help in an appropriate internet forum or file a bug report against your Linux distribution.

Step 4: Determine affected power sources

Many of TLP's power saving features have different settings depending on the actual power source, e.g.:

Examine your system if the symptom occurs on AC or battery or both. Use the result when disabling a power save feature below. Proceed with the next step.

Step 5: Is the offending device already known?

When a symptom is specific enough to blame a particular device, start with disabling associated feature(s) for the power source(s) identified in Step 4.

For functional device categories, e.g.

refer to TLP configuration and FAQ how to achieve this.

Bus oriented devices, e.g.

can be blacklisted, see TLP configuration and FAQ for the corresponding sections.

When unsure if a device is PCIe or USB examine the output of tlp-stat -e -u.

If you don't know the offending device or your problem isn't solved by now, proceed to the next step.

Step 6: Isolate the offending device

This step applies the following strategy to isolate a bus oriented device:

  1. Disable the feature completely
  2. Blacklist devices one by one
  3. Blacklist devices by driver

Important: make shure to reboot the computer after every configuration change for this step!

6.1 PCIe devices

Disable Runtime Power Management completely

Comment both related config lines with a leading '#':

#RUNTIME_PM_ON_AC=on
#RUNTIME_PM_ON_BAT=auto

When the problem disappears, uncomment above lines and continue with the next section.

Otherwise the cause is not a PCIe device – proceed to USB.

Blacklist single devices

Enter every PCIe device address into RUNTIME_PM_BLACKLIST (refer to TLP configuration) – but only one device at a time!

As soon as the problem disappears, you have identified the offending PCIe device and are finished.

Otherwise the cause is not a PCIe device – proceed to USB.

Blacklist drivers

As an alternative to device blacklisting, you may blacklist all devices attached to a particular driver by means of RUNTIME_PM_DRIVER_BLACKLIST (refer to TLP configuration).

If the problem isn't solved by now, proceed to USB.

6.2 USB devices

Disable USB autosuspend completely

Disable the feature as follows (refer to TLP configuration):

USB_AUTOSUSPEND=0

When the problem disappears, reenable the feature and continue with the next section.

Otherwise the offending device cannot be identified – proceed to Step 7.

Blacklist single devices

Enter every USB device ID into USB_BLACKLIST (refer to TLP configuration) – but only one device at a time!

As soon as the problem disappears, you have identified the offending USB device and are finished.

Otherwise an offending device cannot be found – proceed to Step 7.

Step 7: Upgrade kernel or firmware

When all else fails, try to:

Consult adequate forums to learn how to do this.

Links

TLP