Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fans keep running when putting laptop into sleep/suspend mode ThinkPad T14 Gen 4 i7-1335U #247

Open
bremme opened this issue Aug 24, 2024 · 2 comments

Comments

@bremme
Copy link

bremme commented Aug 24, 2024

I have a Lenovo ThinkPad T14 Gen 4 with a i7-1335U running Ubuntu 24.04 and I've compiled thinkfan from source. The tool seems to work fine, except for the fact that when I put the laptop into sleep the fans don't stop running. This makes sleep pretty unusable as you can imagine.

Maybe important to add this system only supports s2idle or S0 sleep. I've tried many things but could not get it to work properly. After much trial and error I found a workaround:

sudo systemctl edit thinkfan-sleep
# add the following line

[Service]
ExecStart=sh -c "echo 'disable' > /proc/acpi/ibm/fan"

# reload the deamon afterwards
sudo systemctl daemon-reload
# If all is well you should see your override using cat
sudo systemctl cat thinkfan-sleep
# and that the override has run after a suspend cycle
sudo systemclt status thinkfan-sleep

I was a bit worried that this is potentially unsafe, but if I just watch /proc/acpi/ibm/fan I see the fan's will be enabled automatically after waking from suspend so for me this workable I think.

But I was wondering why this happens in the first place and if there is no other proper way to fix it perhaps? In any case this workaround might be useful for other people struggling with the same issue.

@bremme bremme changed the title Fan's keep running when putting laptop into sleep/suspend mode ThinkPad T14 Gen 4 i7-1335U Fans keep running when putting laptop into sleep/suspend mode ThinkPad T14 Gen 4 i7-1335U Aug 24, 2024
@IvanSafonov
Copy link

IvanSafonov commented Sep 28, 2024

I have the same laptop and the same problem. It happens when you set manual levels like level 1. Bios for some reason does not turn it off afterwards. The only solution I have found is the same, change level before sleep. And I think it's safer to set level auto. There is a small chance that laptop won't enter sleep mode and the fan will be disabled for some time. The other problem is that now you have two concurrent level changes. Yesterday I'he pushed a new version of my own fan control service, and I think I solved this issue.

@jolars
Copy link

jolars commented Nov 7, 2024

I believe this is a duplicate of #181.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants