[Eisfair] LM-Sensors für Eisfair-1???
Marcus Roeckrath
marcus.roeckrath at gmx.de
Sa Mai 18 14:24:24 CEST 2013
Hallo Detlef,
Detlef Paschke wrote:
> Bei mir ergibt sich bei einem Asus PR-DLS533 (Chip ist wohl der w83781d)
> folgendes:
> Alle Werte werden ohne Formatierung ausgegeben.
>
> as99127f-i2c-0-2d
> Adapter: SMBus PIIX4 adapter at e800
> in0: +1.49 V (min = +1.20 V, max = +1.60 V)
In der /etc/sensors3.conf gibt es keine Definitionen für den Chip; daher nur
Ausgabe von Raw-Werten.
> LM_SENSORS_CHIP_1_NAME='w83781d'
Das ergibt in /etc/sensors.conf eine falsche chip-Sektion.
Was steht eigentlich in /etc/sysconfig/lm_sensors?
Es gibt Module (/etc/sysconfig/lm_sensors), die mehrere Chips behandeln; in
der Konfiguration muss hier der Chip stehen; wenn das verschieden vom
Modulnamen ist, verhindert die Eingabeprüfung, dass Du den richtigen Chip
angeben kannst.
Daher deaktiviere diese Eingabeprüfung:
/etc/check.d/lm_sensors:
LM_SENSORS_CHIP_% LM_SENSORS_CHIP_%_ACTIVE LM_SENSORS_CHIP_N
LM_SENSORS_CHIPS_CUI
in
LM_SENSORS_CHIP_% LM_SENSORS_CHIP_%_ACTIVE LM_SENSORS_CHIP_N
NONE
Jetzt kannst Du für den Chip den korrekten Wert as99127f eintragen.
> Eine direkte Eingabe von sensors -c
> /usr/share/doc/lm_sensors/sample.conf/Asus/PR-DLS533.conf (das ist meine
> alte Config) ergibt:
>
> as99127f-i2c-0-2d
Dann trage doch die Zeilen aus PR-DLS533.conf jetzt ein, allerding fehlen
noch einige, wie die set-Statements für Minimum und Maximum ...
> CPU0 Fan: 3708 RPM (min = -1 RPM, div = 2)
Hier fehlt ein set-Statement.
> CPU1 Fan: 3857 RPM (min = 9926 RPM, div = 2)
Hier fehlt es auch.
> M/B Temp: +61.0°C (high = +0.0°C, hyst = -128.0°C)
Hier auch.
Hier noch eine Standardsektion für Deinen Chip; wenn Du einfach mal sensors
ohne /etc/sensors(3).conf Datei aufrufst, siehst Du (Dein erstes Beispiel
ohne Formatierung), welche Ausgabe (in, temp, fan) überhaupt vorhanden sind
(wohl in0-in6, temp1-temp3, fan1-fan3, cpu0_vid):
chip "as99127f-*"
# Asus won't release a datasheet so this is guesswork.
# Thanks to Guntram Blohm, Jack, Ed Harrison, Artur Gawryszczak,
# Victor G. Marimon and others for their feedback.
# Dual power plane
label in0 "VCore 1"
label in1 "VCore 2"
# Single power plane (A7V133, A7M266, CUV4X)
# label in0 "VCore"
# ignore in1
label in2 "+3.3V"
label in3 "+5V"
label in4 "+12V"
# These last two may not make sense on all motherboards.
label in5 "-12V"
label in6 "-5V"
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
compute in4 ((28/10)+1)*@ , @/((28/10)+1)
# AS99127F rev.1 (same as w83781d)
compute in5 -(240/60.4)*@ , -@/(240/60.4)
compute in6 -(90.9/60.4)*@ , -@/(90.9/60.4)
# AS99127F rev.2 (same as w83782d)
# compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14
# compute in6 (3.14 * @) - 7.71 , (@ + 7.71) / 3.14
# Depending on your motherboard, you may have to use any of two formulae
# for temp2. Quoting Artur Gawryszczak (edited to reflect subsequent fixes
# to the driver):
# "I guess, that the formula "(@*15/43)+25, (@-25)*43/15" is correct
# for those Asus motherboards, which get CPU temperature from internal
# thermal diode (Pentium Coppermine, and above), while no formula is needed
# for Athlon/Duron boards, which use a thermistor in the socket."
# An alternative formula was then found and reported by Victor G. Marimon.
# Asus A7V133, Asus A7M266
# No compute line is needed
# Asus CUV4X, Asus A7V8X
# compute temp2 (@*15/43)+25, (@-25)*43/15
# Asus CUSL2, Asus CUV266-DLS, Asus TUSL2-C
# compute temp2 (@*30/43)+25, (@-25)*43/30
# See comments above if temp3 looks bad. What works for temp2 is likely
# to work for temp3 for dual-CPU boards, such as the CUV4X-D.
# Most Asus boards have temperatures settled like that:
label temp1 "M/B Temp"
label temp2 "CPU Temp"
# However, some boards have them swapped (A7N8X Deluxe rev.2,
# A7N8X-E Deluxe rev.2, CUV4X):
# label temp1 "CPU Temp"
# label temp2 "M/B Temp"
# Most boards have no temp3 by default, except for dual-CPU boards.
# label temp3 "CPU 2 Temp"
# ignore temp3
# set limits to 5% for the critical voltages
# set limits to 10% for the non-critical voltages
# set limits to 20% for the battery voltage
# set in0_min cpu0_vid*0.95
# set in0_max cpu0_vid*1.05
# set in1_min cpu0_vid*0.95
# set in1_max cpu0_vid*1.05
# set in2_min 3.3 * 0.95
# set in2_max 3.3 * 1.05
# set in3_min 5.0 * 0.95
# set in3_max 5.0 * 1.05
# set in4_min 12 * 0.90
# set in4_max 12 * 1.10
# set in5_min -12 * 0.90
# set in5_max -12 * 1.10
# set in6_min -5 * 0.95
# set in6_max -5 * 1.05
# examples for temperature limits
# set temp1_max 40
# set temp1_max_hyst 37
# set temp2_max 52
# set temp2_max_hyst 47
# set temp3_max 52
# set temp3_max_hyst 47
--
Gruss Marcus
Mehr Informationen über die Mailingliste Eisfair