The default fan settings make the fan run pretty loud for me, so I've started to tinker around with thinkfan.
Unfortunately thinkfan needs some config to work (not that hard)...
Thinkfan
http://thinkwiki.de/Thinkfan
Install packages
First of all, you have to install a few packages not installed by default:
Open a terminal and issue as root:
Code: Select all
apt-get install thinkfan lm-sensors
Code: Select all
sensors-detect
Look for thermal sensors and note the output:
Code: Select all
find /sys/devices -type f -name "temp*_input"
Code: Select all
/sys/devices/virtual/hwmon/hwmon0/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
Now open and edit /etc/thinkfan.conf as root:
at the very end of the file mine looks like:
Code: Select all
hwmon /sys/devices/virtual/hwmon/hwmon0/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
(0, 0, 55)
(1, 48, 60)
(2, 50, 61)
(3, 52, 63)
(4, 56, 65)
(5, 59, 66)
(7, 63, 32767)
Eg.: (0, 0, 55)
means: fan level: 0 between 0-55 C.
Fan turns on (at fan speed level 1) above 55C turns off below 48C and steps to fan level 2 above 60C. (because of level 1 config (1, 48, 60)
remember each line is:
FAN_LEVEL, MIN_TEMP, MAX_TEMP
Enable service
Now you have to enable fan level settings via a kernel module:
Issue command as root:
Code: Select all
modprobe thinkpad_acpi fan_control=1
Code: Select all
echo "options thinkpad_acpi fan_control=1" | sudo tee /etc/modprobe.d/thinkpad_acpi.conf
Code: Select all
systemctl start thinkfan.service
Code: Select all
systemctl status thinkfan.service
Code: Select all
systemctl enable thinkfan.service
Code: Select all
cat /proc/acpi/ibm/fan
Code: Select all
status: enabled
speed: 1967
level: 1
commands: level <level> (<level> is 0-7, auto, disengaged, full-speed)
commands: enable, disable
commands: watchdog <timeout> (<timeout> is 0 (off), 1-120 (seconds))
(if it is auto, then probably your thinkpad_acpi kernel module isn't loaded)
Simple KDE applet to check temperature: (Simple CPU Sensor)
https://opendesktop.org/content/show.php?content=135310