Overview
Thinkfan is a GitHub project designed to allow remapping of fan profiles on Lenovo ThinkPads. The reason it exists is because the ThinkPad by default comes with aggressive fan profiles (made only worse by Intel Turbo) which often leads the fans to go to full blast under normal workloads. Thinkfan works by specifying configurations in a YAML file, then running it as a service which connects to the ACHI connector for the fans. Also be sure to disable Intel Turbo as it’s pointless.
Setup
- Enable Thinkpad ACPI fan ->
options thinkpad_acpi fan_control=1 - Find hardware temp indicators
- Set up config at
/etc/thinkfan.conf - Enable the service
Thinkfan Config
sensors:
- hwmon: /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp6_input
- hwmon: /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp3_input
- hwmon: /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp7_input
- hwmon: /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp4_input
- hwmon: /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp1_input
- hwmon: /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp5_input
- hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon7/temp3_input
- hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon7/temp4_input
- hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon7/temp1_input
- hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon7/temp5_input
- hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon7/temp2_input
fans:
- tpacpi: /proc/acpi/ibm/fan
levels:
- [0, 0, 45] # Fan off below 45°C
- [1, 42, 55] # Low speed (Level 1)
- [2, 52, 65] # Medium speed (Level 2)
- [3, 62, 75] # Higher speed (Level 3)
- [4, 72, 85] # Even higher speed (Level 4)
- [5, 82, 95] # Maximum speed