Thinkfan x220t - Probleme beim Sensor lesen

Debian auf Notebooks und speziellen Geräten wie eingebetteten Systemen, Routern, Set-Top-Boxen, ...
Antworten
enlightenedbit
Beiträge: 1
Registriert: 09.01.2016 12:23:26

Thinkfan x220t - Probleme beim Sensor lesen

Beitrag von enlightenedbit » 09.01.2016 12:38:27

Hi,

nachdem das Forum von thinkfan nicht so arg aktiv scheint, probiere ich es zunächst hier. Vielleicht handelt es sich ja um ein nicht spezifisches thinkfan Problem.
Ich verwende thinkfan auf meinem x220t, vorher auf arch und auch Fedora, alles kein Problem. Bin jetzt aber doch wieder zu Debian (testing) zurück und hab gerade Probleme beim einrichten. Wobei ich nicht weiß woher diese kommen.

Code: Alles auswählen

thinkfan 0.9.1: A minimalist fan control program

#thinkfan -n

/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input: No such file or directory

add_sensor: Error getting temperature.
Refusing to run without usable config file!

#cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
46000

# find /sys/devices -type f -name "temp*_input"
/sys/devices/virtual/hwmon/hwmon0/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
Die config sieht im Moment noch so aus (standard bis auf die sensoren):

Code: Alles auswählen

tp_fan /sys/devices/platform/thinkpad_hwmon/fan1_input

#tp_thermal /sys/devices/virtual/hwmon/hwmon0/temp1_input
tp_thermal /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
#tp_thermal /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
#tp_thermal /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input

(0,	0,	55)
(1,	48,	60)
(2,	50,	61)
(3,	52,	63)
(4,	56,	65)
(5,	59,	66)
(7,	63,	32767)
Das Problem tritt mit jedem Sensor auf. Hat einer ne Idee woran das liegen kann?

wenn ich ein strace mit laufen lasse bekomme ich folgende systemcalls:

Code: Alles auswählen

strace -e trace=open,close,read,write thinkfan -n
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
close(3)                                = 0
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\t\2\0\0\0\0\0"..., 832) = 832
close(3)                                = 0
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10\0\0\0\0"..., 4096) = 2309
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0"..., 4096) = 1467
close(3)                                = 0
open("/var/run/thinkfan.pid", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/thinkfan.conf", O_RDONLY)    = 4
open("/sys/devices/virtual/hwmon/hwmon0/temp1_input", O_RDONLY) = 5
read(5, "44000\n", 128)                 = 6
write(2, "\n", 1
)                       = 1
write(2, "/sys/devices/virtual/hwmon/hwmon"..., 73/sys/devices/virtual/hwmon/hwmon0/temp1_input: No such file or directory
) = 73
write(2, "\n", 1
)                       = 1
write(2, "add_sensor: Error getting temper"..., 39add_sensor: Error getting temperature.
) = 39
write(2, "Refusing to run without usable c"..., 44Refusing to run without usable config file!
) = 44
+++ exited with 4 +++
sieht also so aus, als ob er die datei öffnet, und auch etwas liest. aber dann verweigert er den dienst.
Grüße,
enlightenedbit

Antworten