NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.38k stars 14.33k forks source link

Fan on Thinkpad x270 often locks at maximum speed after resume from suspend #43517

Open joepie91 opened 6 years ago

joepie91 commented 6 years ago

Issue description

The fan in my x270 regularly spins up to its maximum speed and keeps running at that speed, after I resume from a (lid-closing-induced) suspend-to-RAM. This is a known kernel issue, and this report mostly serves as a tracking issue. Repeatedly suspending and resuming usually makes the fan behave again.

There are some claims of patches in the kernel, but it still occurs on NixOS 18.03 with 4.14.55 for me. On 17.09, this issue did not exist.

Steps to reproduce

  1. Close lid, wait for system to suspend
  2. Open lid

Repeat until fan spins up to maximum speed after opening.

Technical details

Ma27 commented 6 years ago

may I ask how your hardware config looks like? Also using an x270, but I never experienced this issue :)

jmettes commented 6 years ago

I have this same problem on X1 Carbon Gen 5. I used to be able to close the lid a few times and it would stop the fan eventually. but now it seems to continue running...

I think it's a Linux problem. I dual boot with Windows, and when I open my lid from Windows it doesn't make the fan spin.

jmettes commented 6 years ago

Update: I've just upgraded my bios. This seems to have stopped being an issue for me.

(I downloaded the bios upgrading software from the Lenovo website for my model)

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.
samueldr commented 7 months ago

(Triaging)

Hi @joepie91! Can you verify if this is still an issue?

joepie91 commented 7 months ago

It may take me a while to confirm this; it only occurred intermittently and unpredictably, so I'll have to observe over a longer time period whether it still happens (especially as I use my laptop less frequently now).

mighty-spirit commented 2 months ago

Hi, thinkpad x1 carbon 20FC 4 gen on latest bios 1.56 from Dec 2022 here.

Every time I resumed from suspend on battery power, I had the fan locked on maximum speed. This was happening regularly, but it never occured on AC power, only on battery.

In my case I discovered tlp to be the issue. When I disabled it, there was no fan noise after resume from suspend at all.

So I started to play with my tlp settings and found out, that for some reason, I had services.tlp.settings.TLP_PERSISTENT_DEFAULT set to 1. When I put it back to its default 0, fan now does spin just a little bit after resume, but then it stops and goes silent, which might correspond to a normal expected behavior. No max-speed spinning without end anymore.