LINUX.ORG.RU

thinkfan не стартует

 , ,


0

2

система: Debian 6.1.99-1 | thinkpad t61

июл 28 00:36:04 thinkpad systemd[1]: Starting thinkfan.service - thinkfan 1.3.1...
июл 28 00:36:04 thinkpad thinkfan[1804]: ERROR: Lost sensor read_temps_: Failed to read temperature(s) from /proc/acpi/ibm/thermal: No such file or directo>
июл 28 00:36:04 thinkpad systemd[1]: thinkfan.service: Control process exited, code=exited, status=1/FAILURE
июл 28 00:36:04 thinkpad systemd[1]: thinkfan.service: Failed with result 'exit-code'.
июл 28 00:36:04 thinkpad systemd[1]: Failed to start thinkfan.service - thinkfan 1.3.1.

смотрим результат: /proc/acpi/ibm/thermal

cat /proc/acpi/ibm/thermal 
temperatures:	49 42 37 -128 -128 -128 -128 -128

вставляем полученные значения в конфиг: /etc/thinkfan.conf


tp_fan /proc/acpi/ibm/fan
hwmon /proc/acpi/ibm/thermal (49 42 37 -128 -128 -128 -128 -128)

hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp6_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp3_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp7_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp4_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp8_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp1_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp5_input
hwmon /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp2_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp2_input
hwmon /sys/devices/virtual/thermal/thermal_zone0/hwmon0/temp1_input
hwmon /sys/devices/virtual/thermal/thermal_zone0/hwmon0/temp2_input

(0,	0,	60)
(1,	60,	65)
(2,	65,	70)
(3,	70,	75)
(4,	75,	80)
(5,	80,	85)
(7,	85,	32767)

перезапускаем и результат:

× thinkfan.service - thinkfan 1.3.1
     Loaded: loaded (/lib/systemd/system/thinkfan.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2024-07-28 00:50:07 +07; 7min ago
       Docs: man:thinkfan
    Process: 2545 ExecStart=/usr/sbin/thinkfan $THINKFAN_ARGS $DAEMON_ARGS (code=exited, status=1/FAILURE)
        CPU: 5ms

июл 28 00:50:07 thinkpad systemd[1]: Starting thinkfan.service - thinkfan 1.3.1...
июл 28 00:50:07 thinkpad thinkfan[2545]: ERROR: Sensor /proc/acpi/ibm/thermal has 1 temperatures, but you have 8 correction values for it.
июл 28 00:50:07 thinkpad systemd[1]: thinkfan.service: Control process exited, code=exited, status=1/FAILURE
июл 28 00:50:07 thinkpad systemd[1]: thinkfan.service: Failed with result 'exit-code'.
июл 28 00:50:07 thinkpad systemd[1]: Failed to start thinkfan.service - thinkfan 1.3.1.

какое значение необходимо подставить?



Последнее исправление: Player (всего исправлений: 1)

hwmon /proc/acpi/ibm/thermal (49 42 37 -128 -128 -128 -128 -128)

Так говорит же тебе, что коррекций слишком много. Они вообще тебе зачем?

Я таким конфигом пользуюсь.

tp_fan /proc/acpi/ibm/fan
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input

urxvt ★★★★★
()