Linux – Restart fan manually in Linux

fanlinux

I am facing issues with Thinkpad T410's fan. Now and then my fan stops working (meaning 0 rpm).

Long time, the only solution for me was to shutdown (not to restart, instead power off) the system and then boot again. (Which is, what you can guess, not a good solution. Sometimes I even had to cancel cpu-heavy tasks, to avoid data corruption, because of the systems rescue shutdown, when the temp goes higher than 100 °C.)

I found out that going in suspend mode also helps bringing the fan back to work. I would like to know which processes are started when the computer is "coming back" from suspend mode, so I can force the fan to start again without even going to suspend mode.

To make sure: I don't want to control the fan itself, but I want it to "restart" manually.

Best Answer

Using the following line allows me to restart the fan without suspending my laptop.

echo disable | sudo tee /proc/acpi/ibm/fan; sleep 5; echo enable | sudo tee /proc/acpi/ibm/fan

Thanks to @Stephen Harris

Related Question