Skip to content

Instantly share code, notes, and snippets.

@jpeletier
Created March 19, 2025 13:49
Show Gist options
  • Save jpeletier/42fa341eeec51bf5256acef2986a3f98 to your computer and use it in GitHub Desktop.
Save jpeletier/42fa341eeec51bf5256acef2986a3f98 to your computer and use it in GitHub Desktop.
thinkfan configuration p14s gen5
Quick thinkfan configuration for Lenovo p14s gen5 intel:
1.- Create /etc/thinkfan.conf with this content:
tp_fan /proc/acpi/ibm/fan
hwmon /sys/devices/virtual/thermal/thermal_zone0/hwmon1/temp1_input
### speed level | start temp | end temp
### NO FAN!!!
(0, 0, 54)
### 1900 RPM - almost not audible, low low hummm!
(1, 52, 66)
### 2600 RPM -- BEST! Audible, but hummy! Extremely slow spinup time to this speed from lower!
(2, 64, 72)
### 3000 RPM -- Not distracting, but hearable.
(3, 70, 80)
### 3200 RPM -- Hearable MEDIUM NOISE! Less distracting.
(4, 78, 86)
### 3600 RPM -- MEDIUM NOISE! Distracting!
(5, 84, 92)
### 4000 - MEDIUM NOISE!
(6, 90, 98)
### 4500 RPM - NOISE!!!
(7, 96, 104)
## 5800 RPM - TURBO - ONLY IF NEEDED
#(127, 102, 110)
#####################################################
2.- Run all this as root:
apt install thinkfan lm-sensors
echo "options thinkpad_acpi fan_control=1 experimental=1" > /etc/modprobe.d/thinkfan.conf
echo -e "thinpad_acpi\ncoretemp\n" > /etc/modules-load.d/thinkfan.conf
modprobe thinkpad_acpi
modprobe coretemp
systemctl enable thinkfan.service
service thinkfan start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment