aboutsummaryrefslogtreecommitdiff
path: root/thinkfan
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-07-06 13:58:09 +0200
committerneodarz <neodarz@neodarz.net>2018-07-06 13:58:09 +0200
commita7cb0915647e4be13adc0d8b7b95c398c4cf9287 (patch)
tree2d8b338f8c466d548a5b4871a3a43d7e453ba129 /thinkfan
parent57ac32d4857c8bf01d152dcf110e1ab2e91a84bb (diff)
downloaddotfiles_ascii-a7cb0915647e4be13adc0d8b7b95c398c4cf9287.tar.xz
dotfiles_ascii-a7cb0915647e4be13adc0d8b7b95c398c4cf9287.zip
Add thinkfan
Diffstat (limited to 'thinkfan')
-rw-r--r--thinkfan/etc/thinkfan.conf52
1 files changed, 52 insertions, 0 deletions
diff --git a/thinkfan/etc/thinkfan.conf b/thinkfan/etc/thinkfan.conf
new file mode 100644
index 0000000..2c06a84
--- /dev/null
+++ b/thinkfan/etc/thinkfan.conf
@@ -0,0 +1,52 @@
+######################################################################
+# 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:
+# tp_thermal /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.
+#
+
+# I use this on my T61p:
+tp_fan /proc/acpi/ibm/fan
+tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
+
+(0, 0, 55)
+(1, 48, 60)
+(2, 50, 61)
+(3, 52, 63)
+(4, 56, 65)
+(5, 59, 66)
+(7, 63, 66)
+(64, 64, 32767)
+