Set up thinkfan on Lenovo Thinkpad T430 – Ubuntu 16.04

If you have a Thinkpad T430 you’re probably quite familiar with some of the issues with how the BIOS handles the system fans. Luckily, we have third party utilities for fixing this.

If you’re running Windows, you will want to install tpfancontrol. For the Linux people, you will want to install thinkfan.

I recently installed Ubuntu 16.04 and all the installation guides appear to be out of date so I’d like to document procedure for installing thinkfan on Ubuntu 16.04:

Install the software:

sudo apt-get install lm-sensors

Edit /etc/thinkfan.conf and set up your sensors in the configuration file. The latest version of thinkfan at the time of writing is 0.9.1 and the configuration file has changed a bit. Note the use of “hwmon” instead of “sensor”.

Here is my configuration file – please adjust for your machine. Note: I have a SSD in my machine so I’m not concerned about hard drive temperatures:

hwmon /sys/class/hwmon/hwmon0/temp1_input
tp_fan /proc/acpi/ibm/fan

(0,	0,	60)
(1,	57,	65)
(2,	63,	75)
(3,	72,	80)
(4,	78,	90)
(5,	87,	95)
(7,	92,	32767)

To find out what paths to use for the values above, use the following command:

sudo find /sys/devices -type f -name "temp*_input"

You can add them all in but I’ve chosen to use the “virtual” device which appears to be a summary of the others.

Enable fan control in the thinkfan_acpi kernel module:

sudo echo "options thinkpad_acpi fan_control=1" >> /etc/modprobe.d/thinkpad.conf

You probably need to reboot now.

After a reboot, you should be able to test out your configuration by running thinkfan in no-daemon mode:

sudo thinkfan -n

Once you’re happy with your configuration, you can set thinkfan to start at boot. Ubuntu 16.04 is now using systemd so the command to do this is:

sudo systemctl enable thinkfan.service

Thanks to Ivan at for most of this. I’m just updating the information for Ubuntu 16.04 and adding my personal configuration.


Subscribe to our e-mail newsletter to receive updates.

One Response to Set up thinkfan on Lenovo Thinkpad T430 – Ubuntu 16.04

  1. serpent September 5, 2016 at 2:49 pm #

    Very Very good!!! thank you!!!

    It works on my Lenovo T420 !!! with ubuntu 16.04

Leave a Reply