Thinkfan-Konfiguration gesucht

joshua666

Active member
Registriert
22 Juli 2011
Beiträge
691
Das Update auf die aktuelle Xubuntu-Version hat meine Thinkfan-Konfiguration zerschossen. Meine thinkfan.conf war anschliessend in thinkfan.conf.bak oder ähnlich umgenannt. Da wurde anscheineind einiges am Syntax geändert. Ich hatte nach dem ersten Drüberschauen über die Erklärung keine Idee wie ich das anstellen soll. Hat das schon jemand vollzogen? Ich habe ein T480, die thinkfan.conf für ein anderen Modell würde mir aber auch reichen. Das anpassen sollte ich hinbekommen.
 
Hi,

ich verstehe die Frage gerade gar nicht richtig, glaube ich, ich bin aber noch auf Xubuntu 20.10, folgend meine Config unter /etc/thinkfan.conf:

Wichtig sind eigentlich hier nur die letzten 8 Zeilen in der Standardconfig..

Mittels hwmon habe ich nur explizit die passenden Sensoren angesprochen, da ein Sensor einen dauerhaft falschen (hohen) Wert liefert bei meinem L14 und vorher beim T14 auch.

Code:
######################################################################
# 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)

#hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp13_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp3_input
#hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp10_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp7_input
#hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp14_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp4_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp1_input
#hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp15_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp5_input
#hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp12_input
#hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp9_input
#hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp16_input

#tp_thermal /proc/acpi/ibm/thermal (40, 0, 40, 0, 40, 40, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0)

(0,	0,	61)
(1,	55,	67)
(2,	65,	71)
(3,	68,	77)
(4,	72,	79)
(5,	74,	84)
(7,	80,	91)
(127,	85,	32767)

Sollte sich da grundlegend was geändert haben, bin ich mal gespannt, wie die Syntax nun aus sieht :)
Stufe 6 fehlt bei mir, da beim L14 Stufe 5 und 6 die gleiche Geschwindigkeit hat.
 
Jau, ich habe noch die alte Version, das ist zwar noch unterstützt in Version 1.0, wird aber bald raus altern, siehe: https://github.com/vmatare/thinkfan

Wie ich das gerade verstehe, geschieht die Konfiguration der Lüftergeschwindigkeit nun über die vorher spezifizierten Sensoren, das erfordert natürlich umdenken.
Sobald ich - vielleicht am Wochenende - auf 21.04 upgegraded bin, kann ich mal schauen..
Ich denke aber, dass sich bestimmt schon jemand mit der neuen ThinkFan Config hier findet..? :)
 
Bei mir läuft auch noch die alte config Datei.
Ich bin momentan aber auch bei maximal T530 stehen geblieben.... aktuelleres habe ich nicht.

@ Herr Moehre: Kannst Du mal überprüfen, ob thinkfan bei Dir noch läuft?

Ich nutze Manjaro und mit einem der letzten updates musste ich config Datei anpassen, weil es keinen Lüfter erkannt hat, da war der Eintrag
Code:
tp_fan /proc/acpi/ibm/fan

Notwendig, um thinkfan wieder zum laufen zu bringen.

Ich bin mal gespannt, was in nächster Zeit noch auf uns zu kommt....
 
@Megalodon, klar läuft es, sonst würde der Lüfter drehen, obwohl keine Kühlung notwendig ist.
Passiv gekühlte Grüße und Log anhängend, es handelt sich um mein Flüssigmetall-gekühltes L14 Gen 1 AMD, nicht wie im System noch T14 Gen 1 beschrieben :)

Code:
● thinkfan.service - simple and lightweight fan control program
     Loaded: loaded (/lib/systemd/system/thinkfan.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2021-06-21 22:12:28 CEST; 2min 57s ago
    Process: 1360 ExecStart=/usr/sbin/thinkfan $DAEMON_ARGS (code=exited, status=0/SUCCESS)
   Main PID: 1364 (thinkfan)
      Tasks: 1 (limit: 35880)
     Memory: 1.0M
     CGroup: /system.slice/thinkfan.service
             └─1364 /usr/sbin/thinkfan -q -s 3 -b 0

Jun 21 22:12:28 chef-ThinkPad-T14-Gen-1 systemd[1]: Starting simple and lightweight fan control program...
Jun 21 22:12:28 chef-ThinkPad-T14-Gen-1 thinkfan[1360]: thinkfan 0.9.1 starting...
Jun 21 22:12:28 chef-ThinkPad-T14-Gen-1 thinkfan[1360]: WARNING: Using default fan control in /proc/acpi/ibm/fan.
Jun 21 22:12:28 chef-ThinkPad-T14-Gen-1 thinkfan[1360]: WARNING: You're using simple temperature limits without correction values, and your fan will only start at 61 °C. This can be dangerous for your hard driv>
Jun 21 22:12:28 chef-ThinkPad-T14-Gen-1 systemd[1]: Started simple and lightweight fan control program.
 
Soo, ganz einfach gehalten, hat mich viele Nerven gekostet:

Abgefragt wird der Thermal Sensor und davon nur der erste Wert ausgewertet, das ist bei meinem L14 ganz sicher die CPU-Temperatur und nichts falsches.

Unter /etc/thinkfan.yaml abgelegt:

Code:
sensors:
- tpacpi: /proc/acpi/ibm/thermal
  indices: [0]

fans:
- tpacpi: /proc/acpi/ibm/fan


levels:
 - [0,	0,	61]
 - [1,	55,	67]
 - [2,	65,	71]
 - [3,	68,	77]
 - [4,	72,	79]
 - [5,	74,	84]
 - [7,	80,	91]
 - [127,	85,	3276]

Die /etc/default/thinkfan sieht wie folgt aus, das BIAS ist auf 0, die Springerei nervt nur und gute WLP oder mein Flüssigmetall macht das unnötig, da springt keine Temperatur großartig:

Code:
# Additional startup parameters
DAEMON_ARGS="-q -s 3 -b 0"
START=yes
 
Zuletzt bearbeitet:
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben