From a7cb0915647e4be13adc0d8b7b95c398c4cf9287 Mon Sep 17 00:00:00 2001 From: neodarz Date: Fri, 6 Jul 2018 13:58:09 +0200 Subject: Add thinkfan --- install.sh | 3 +++ thinkfan/etc/thinkfan.conf | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 thinkfan/etc/thinkfan.conf diff --git a/install.sh b/install.sh index b8c95ed..26045bb 100755 --- a/install.sh +++ b/install.sh @@ -20,6 +20,9 @@ #yolo -S newsbeuter #yolo -S mosh +#tpac -S thinkfan +#sudo stow -t / thinkfan + #sudo pacman -S the_silver_searcher ##yolo -S thunderbird 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) + -- cgit v1.2.1