Températures du kimsufi 16G sous debian
samedi 23 juillet 2011 à 09:50 par Dju - 676 lectures
Après pas mal de recherches, notamment sur la carte mère Intel DH67BL et le module w83677HG, pour ceux qui ont un kimsufi 16G sous debian ou autre nux, et qui se demandent comment avoir les températures..
En effet, le module coretemp refuse de se charger, lm-sensors ne detecte rien, et pas d'ipmi...
Voici la solution 
On va avoir besoin de 2 choses :
quelques lignes à ajouter dans /etc/sensors3.conf pour indiquer le nom des sensors et les valeurs min/max
# Created for board DH67BL using information from Intel Desktop Utilities and BIOS
# "FRONT" and "REAR" fan labels correspond to the motherboard
# headers, but not necessarily the actual fan locations.
chip "nct6775-isa-0290"
# Fans
label fan1 "Rear fan"
set fan1_min 250 # From IDU
label fan2 "CPU fan"
set fan2_min 250 # From IDU
label fan3 "Front fan"
set fan3_min 250 # From IDU
# There is no fan4 on the board
ignore fan4
# Voltages
# Processor Vcc
label in0 "Vcore"
set in0_min 0.6 # From IDU
set in0_max 1.6 # From IDU
# This should be "12 Volts", but computations are strange
label in1 "+12V"
compute in1 11*@, @/11
set in1_min 11.1 # From IDU
set in1_max 12.9 # From IDU
# AVCC(?) - Not shown in BIOS or IDU
label in2 "AVCC"
set in2_min 3.0 # same as +3.3V
set in2_max 3.6 # same as +3.3V
# +3.3 Volts
label in3 "+3.3V"
set in3_min 3.0 # from IDU
set in3_max 3.6 # from IDU
# +5 Volts
label in4 "+5V"
compute in4 5*@, @/5
set in4_min 4.6 # from IDU
set in4_max 5.4 # from IDU
# Memory Vcc ("SDRAM Vcc" in IDU)
label in5 "MemV"
compute in5 1.5*@, @/1.5
set in5_min 0.4 # from IDU
set in5_max 2.0 # from IDU
# PCH Vcc
label in6 "PCHV"
set in6_min 0.6 # from IDU
set in6_max 1.6 # from IDU
# +3.3 Volt Standby
label in7 "3VSB"
set in7_min 3.0 # from IDU
set in7_max 3.6 # from IDU
# VBAT(?) - Not shown in BIOS or IDU
label in8 "Vbat"
# It shows +2.050 V, seems to be not used
ignore cpu0_vid
# Temperatures
# Labeled as "SYSTIN"
# Guess!
label temp1 "VR temp"
set temp1_max 90 # From IDU
set temp1_max_hyst 75 # From IDU
# Labeled as "CPUTIN"
label temp2 "CPU temp"
set temp2_max 93 # From IDU
set temp2_max_hyst 75 # From IDU
# Labeled as "PECI Agent 0"
# Guess!
label temp3 "Memory DIMM temp"
set temp3_max 90 # From IDU
set temp3_max_hyst 75 # From IDU
# Labeled as "PCH_CHIP_TEMP"
label temp4 "PCH temp"
# Labeled as "PECI Agent 1"
# Not used
ignore temp8
Puis on va avoir besoin d'un module capable de lire les sensors (le plus important)
on va télécharger les 3 fichiers présents ici: http://www.roeck-us.net/linux/drivers/w83627ehf/
Puis on compile le module, on le copie ou il faut et on rescanne la liste de tous les modules, et enfin on l'ajoute au fichier /etc/modules pour qu'il soit chargé au démarrage.
cd /opt
mkdir w83627ehf
cd w83627ehf
wget http://www.roeck-us.net/linux/drivers/w83627ehf/Makefile
wget http://www.roeck-us.net/linux/drivers/w83627ehf/lm75.h
wget http://www.roeck-us.net/linux/drivers/w83627ehf/w83627ehf.c
make
cp ./w83627ehf.ko /lib/modules/2.6.32-5-amd64/kernel/drivers/hwmon/
depmod -a
modprobe w83627ehf
echo w83627ehf >> /etc/modules
Des fois que le site ne réponde plus, je vous ai fait un petit zip avec les 3 fichiers source, plus le module .ko compilé pour debian en kernel 2.6.32.5
Vous pouvez le télécharger ici
Et voila ! on peut maintenant faire un
modprobe w83627ehf
puis un
sensors
et admirer le résultat :
nct6775-isa-0290 Adapter: ISA adapter Vcore: +0.82 V (min = +0.00 V, max = +1.74 V) +12V: +12.58 V (min = +0.00 V, max = +0.00 V) ALARM AVCC: +3.34 V (min = +0.00 V, max = +0.00 V) ALARM +3.3V: +3.34 V (min = +0.00 V, max = +0.00 V) ALARM +5V: +5.24 V (min = +0.00 V, max = +0.00 V) ALARM MemV: +1.57 V (min = +0.00 V, max = +0.00 V) ALARM PCHV: +1.08 V (min = +0.00 V, max = +0.00 V) ALARM 3VSB: +3.41 V (min = +0.00 V, max = +0.00 V) ALARM Vbat: +3.36 V (min = +0.00 V, max = +0.00 V) ALARM Rear fan: 0 RPM (min = 0 RPM, div = 128) CPU fan: 0 RPM (min = 0 RPM, div = 128) Front fan: 0 RPM (min = 0 RPM, div = 128) VR temp: +35.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = diode CPU temp: +29.5°C (high = +80.0°C, hyst = +75.0°C) sensor = diode Memory DIMM temp: +33.0°C (high = +80.0°C, hyst = +75.0°C) sensor = diode PCH temp: +50.0°C
source: http://lists.lm-sensors.org/pipermail/lm-sensors/2011-May/032644.html