[Eisfair] LM-Sensors für Eisfair-1???

Marcus Roeckrath marcus.roeckrath at gmx.de
Fr Mai 24 14:06:59 CEST 2013


Hallo Kay,

Kay Martinen wrote:

> Nachdem ich nun offenbar den korrekten Chip eintrug klappt es mit den
> Temp und Fan-Werten schon mal gut.
> 
> Was ich bisher noch nicht verstehe sind die Spannungswerte hier und die
> compute-zeilen. Ich hab hier in0 bis in8 und m.w. müssten das in
> unbekannter verteilung die Spannungswerte sein für:

>> w83782d-isa-0290

Treiber wird der w83781d sein (siehe /etc/sysconfig.d/lm_sensors); der wird
automatisch geladen, aber Du musst in der eisfair-Konfiguration w83782d als
Chip eintragen; das geht nur, wenn Du die Prüfung für diesen Parameter
abschaltest, wie ich es hier schon geschrieben habe.

Hier ein Beispiel für die Konfiguration Deines Chip, wie sie unter der
Chip-Sektion Zele für Zeile einzutragen sind:

chip "w83782d-*" "w83627hf-*"

# Same as above for w83781d except that in5 and in6 are computed
differently.
# Rather than an internal inverting op amp, the 82d/83s use standard
positive
# inputs and the negative voltages are level shifted by a 3.6V reference.
# The math is convoluted, so we hope that your motherboard
# uses the recommended resistor values.

    label in0 "VCore 1"
    label in1 "VCore 2"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"
    label in7 "V5SB"
    label in8 "VBat"

# Abit BP6 motherboard has a few differences. VCore1 and VCore2 are the core
# voltages of the two processors. Vtt is memory bus termination resistors
# voltage.
#    label in1 "Vtt"
#    label in8 "VCore2"

    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)

# 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_max -12 * 0.90
   set in5_min -12 * 1.10
   set in6_max -5 * 0.95
   set in6_min -5 * 1.05
   set in7_min 5 * 0.95
   set in7_max 5 * 1.05
   set in8_min 3.0 * 0.80
   set in8_max 3.0 * 1.20

# set up sensor types (thermistor is default)
# 1 = PII/Celeron Diode; 2 = 3904 transistor;
# 3435 = thermistor with Beta = 3435
# If temperature changes very little, try 1 or 2.
#   set temp1_type 1
#   set temp2_type 2
#   set temp3_type 3435

# 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

Nimm erstmal nur die nicht auskommentierten Zeilen.

Kann sein, dass die compute Zeilen für in5/in6 falsche Zahlen liefern; ich
habe da einfach die Zeilen für in3/in4 genommen, aber natürlich ein "-" vor
jede Rechnung gesetzt.

-- 
Gruss Marcus


Mehr Informationen über die Mailingliste Eisfair