Child pages
  • Mitigate annoying fan noise on Tinkpad running Qubes OS

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
[user@work ~]$ yumdownloader --downloadonly thinkfan
[root@dom0 akira]# qvm-run --pass-io work 'cat /home/user/thinkfan-0.9.3-1.fc23.x86_64.rpm' > thinkfan-0.9.3-1.fc23.x86_64.rpm
[root@dom0 akira]# rpm -i thinkfan-0.9.3-1.fc23.x86_64.rpm
[root@dom0 akira]# man thinkfan
[root@dom0 akira]# reboot
[root@dom0 akira]# systemctl enable thinkfan.service
[root@dom0 akira]# find /sys/devices -type f -name "temp*_input"
[root@dom0 akira]# sensors
[root@dom0 akira]# vi /etc/thinkfan.conf
######################################################################
#
# IBM/Lenovo Thinkpads (thinkpad_acpi, /proc/acpi/ibm)
# ====================================================
#
# IMPORTANT:
#
# To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.

# Values for Lenovo ThinkPad T540p

hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp4_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp5_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp2_input

(0,    0,    40)
(1,    32,    55)
(2,    54,    66)
(3,    65,    76)
(4,    75,    80)
(5,    78,    85)
(6,    82,    88)
(7,    85,    32767)

Debugging:

...

Code Block
languagebash
[root@dom0 akira]# systemctl stop thinkfanthinkfan 
[root@dom0 akira]# thinkfan -n
[root@dom0 akira]# vi /etc/thinkfan.confconf 
[root@dom0 akira]# systemctl start thinkfan