I need to know how to change the fan curve on my laptop, specifically making the fan go up when the CPU reaches 80 C rather than 95 C because I don't want the CPU getting damaged by high temperatures. I can't seem to figure out how to do this with a Core i7 620M on a ThinkPad X201. Setting compute in sensors changes both the thresholds and the readings. How would I deal with this?

  • It depends on the laptop - what brand / model is it ? – JonasCz - Reinstate Monica Jan 3 '18 at 10:32
  • It is a ThinkPad X201 – Haxalicious Jan 3 '18 at 10:55
  • Please ALWAYS edit your question when adding new information. – user692175 Jan 3 '18 at 19:43
  • have you tried using the package 'fancontrol'? – Charles Green Jan 4 '18 at 0:50

First you need to install the required programs sudo apt install lm-sensors fancontrol then you can use sensors-detect to detect what sensors you have, follow the prompts and I normally just go with the defaults. Then after you have detected the sensors you can configure their curves with pwmconfig that will guide you through generating the /etc/fancontrol configuration file, after you're done you must start the fancontrol daemon by running fancontrol or rebooting. Once you started it make sure it started OK by doing service fancontrol status

Most of the time this works fine, but some boards don't let you control the fan or in the case of the Thinkpad T430 it uses ACPI to control the fans, if thats the case I always just write my own python script to do that, you normally can just write to the fan's file to change its speed in code.

You may need to add options thinkpad_acpi fan_control=1 to your /etc/modprobe.d/options file if you are using a thinkpad. Here is thinkwiki's article about it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.