-
Install thinkfan (AUR) and lm_sensors. Note that the thinkfan package installs /usr/lib/modprobe.d/thinkpad_acpi.conf, which contains
options thinkpad_acpi fan_control=1
So fan control is enabled by default.
-
Now, load the module by typing:
modprobe thinkpad_acpi
cat /proc/acpi/ibm/fan
-
Check, if the hwmon exists used in the thinkfan.conf exists. /sys/class/hwmon may have [email protected] monitor directories. To check if the hwmon exists cat /hwmon@x/name. The number of indices is can be read by checkin how many tempx*_input* and tempx*_label* file exists.
-
Change the hwmon settings in the thinkfan.conf if necessary. Afterwards copy the thinkfan.conf to /etc/thinkfan.conf
sudo cp thinkfan.conf /etc/thinkfan.conf
-
Configure thinkfan to use the newly created file
echo 'THINKFAN_ARGS="-c /etc/thinkfan.conf"' | sudo tee -a /etc/default/thinkfan
-
Finally, enable the thinkfan.service by typing
sudo systemctl enable thinkfan.service
sudo systemctl start thinkfan.service
-
Enable fan control
echo 'options thinkpad_acpi fan_control=1' | sudo tee /lib/modprobe.d/thinkpad_acpi.conf
-
Install thinkfan package
sudo apt install thinkfan
-
do steps 3-6 from Arch Linux. Keep in mind, that the hwmon settings may differ between Arch Linux and Ubuntu.