tlp-portage icon indicating copy to clipboard operation
tlp-portage copied to clipboard

Risky defaults for tlp

Open cryptogopher opened this issue 3 years ago • 0 comments

Hi, long story short: I upgraded from tlp 1.3.1 to 1.5.0 and my laptop started freezing, forcing me to hard reboot followed by filesystem errors. After (too long) investigation it turned out the problem was caused by AHCI Port Runtime Power Management enabled by

AHCI_RUNTIME_PM_ON_BAT=auto

default setting (of which I had no idea it even existed). The problem was observed on Thinkpad T520, but internet search shows it is common on other Thinkpads.

My proposal is to either:

  • disable AHCI Port Runtime PM with

AHCI_RUNTIME_PM_ON_BAT=on

in default Gentoo config file /etc/tlp.d/01-gentoo.conf or

  • add postinstall message to ebuild, warning about the freeze possibility when mentioned setting is used.

What do you think?

cryptogopher avatar Feb 12 '22 18:02 cryptogopher