Last active
July 29, 2022 07:48
-
-
Save rathboma/63874ae7e630591f8942 to your computer and use it in GitHub Desktop.
LenovoT440s thinkfan configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSTRUCTIONS: | |
```bash | |
sudo cp thinkfan.conf /etc/thinkfan.conf | |
sudo echo 'options thinkpad_acpi fan_control=1' > /etc/modprobe.d/thinkpad_acpi.conf | |
sudo reboot # for the modprobes to work | |
sudo emacs /etc/defaults/thinkfan # change START=no to START=yes | |
``` | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################################################### | |
# thinkfan 0.7 example config file | |
# ================================ | |
# | |
# ATTENTION: There is only very basic sanity checking on the configuration. | |
# That means you can set your temperature limits as insane as you like. You | |
# can do anything stupid, e.g. turn off your fan when your CPU reaches 70°C. | |
# | |
# That's why this program is called THINKfan: You gotta think for yourself. | |
# | |
###################################################################### | |
# | |
# 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. | |
# | |
# For example: | |
# sensor /proc/acpi/ibm/thermal (0, 0, 10) | |
# will add a fixed value of 10 °C the 3rd value read from that file. Check out | |
# http://www.thinkwiki.org/wiki/Thermal_Sensors to find out how much you may | |
# want to add to certain temperatures. | |
# Syntax: | |
# (LEVEL, LOW, HIGH) | |
# LEVEL is the fan level to use (0-7 with thinkpad_acpi) | |
# LOW is the temperature at which to step down to the previous level | |
# HIGH is the temperature at which to step up to the next level | |
# All numbers are integers. | |
# | |
## These are default sensor locations for the Lenovo T440s | |
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input | |
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input | |
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input | |
(0, 0, 49) | |
(1, 42, 65) | |
(2, 55, 68) | |
(3, 56, 71) | |
(4, 57, 73) | |
(5, 58, 75) | |
(7, 63, 32767) |
Thanks!
Seems to be that sensors
keyword is not longer supported. I had to use hwmon
instead:
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon5/temp1_input
thankyou ser in my leptop doesnt work good but now i got free macbook coz my laptop is sanity
typo ser not sanity but babayo babyo means very good in my country
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!
On the readme, you should change the last line with (wrong path):
sudo emacs /etc/default/thinkfan # change START=no to START=yes
And on my T440s I have the following sensor's locations: