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

Detlef Paschke schabau at t-online.de
Sa Mai 18 13:47:47 CEST 2013


"Marcus Roeckrath"  schrieb
>
> Hallo,

Hallo Marcus,

> Das lm_sensors-Paket funktioniert nun alsofür den w83697ef-Chip.
>

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)
in1:          +1.25 V  (min =  +1.20 V, max =  +1.60 V)
in2:          +3.31 V  (min =  +2.96 V, max =  +3.63 V)
in3:          +3.01 V  (min =  +2.67 V, max =  +3.28 V)
in4:          +3.20 V  (min =  +2.51 V, max =  +3.79 V)
in5:          +0.54 V  (min =  +0.08 V, max =  +1.02 V)
in6:          +3.58 V  (min =  +0.54 V, max =  +1.17 V)
fan1:        3708 RPM  (min =   -1 RPM, div = 2)
fan2:        3857 RPM  (min = 9926 RPM, div = 2)
fan3:           0 RPM  (min = 168750 RPM, div = 2)
temp1:        +61.0 C  (high =  +0.0 C, hyst = -128.0 C)
temp2:        +40.5 C  (high = +60.0 C, hyst = +50.0 C)
temp3:        +44.5 C  (high = +60.0 C, hyst = +50.0 C)
cpu0_vid:    +1.525 V
beep_enable: enabled

Die Config hingegen sieht so aus:

START_LM_SENSORS='yes'
                                  # Use: yes or no

#------------------------------------------------------------------------------
# Cron settings
#------------------------------------------------------------------------------

LM_SENSORS_CRON_USE='yes'
                                  # use cron to request
LM_SENSORS_CRON_SCHEDULE='*/1 * * * *'
                                  # request every 5 minutes
LM_SENSORS_OUTPUT='/var/log/log.sensors'
                                  # output to using cron
LM_SENSORS_ALARM_MAIL='no'
                                  # Send Mail on alarm
LM_SENSORS_ALARM_MAIL_TO='root at localhost'
                                  # Mail Adress to send warning to
LM_SENSORS_ALARM_MAIL_ON_N='1'
                                  # Warn only on specified alarms use '0'
                                  # for ALL

LM_SENSORS_ALARM_MAIL_ON_1='CPU-Temp'
                                  # CPU-Temp

LM_SENSORS_ALARM_HALT='no'
                                  # halt system on alarm (!)
LM_SENSORS_ALARM_HALT_ON_N='1'
                                  # halt only on specified alarms use '0'
                                  # for all (!)

LM_SENSORS_ALARM_HALT_ON_1='CPU-Temp'
                                  # if a label definition is used type the
                                  # new Label for the value
LM_SENSORS_ALARM_HALT_ON_1_LIMIT='70'
                                  # limit for '1'. sensor leave empty to use
                                  # default alarm

#------------------------------------------------------------------------------
# i2c chips
#------------------------------------------------------------------------------

LM_SENSORS_I2C_DRIVER_N='1'
                                  # count of driver to configure
LM_SENSORS_I2C_DRIVER_1_NAME='i2c-piix4'
                                  # name of the driver to load
LM_SENSORS_I2C_DRIVER_1_ACTIVE='yes'
                                  # Use yes or no

#------------------------------------------------------------------------------
# Chips configuration
#
# for a detailed description of this section
# read the documentation, please"
#------------------------------------------------------------------------------

LM_SENSORS_CHIP_N='1'
                                  # count of chips to configure
LM_SENSORS_CHIP_1_NAME='w83781d'
                                  # Is only for you
LM_SENSORS_CHIP_1_ACTIVE='yes'
                                  # Use yes or no
LM_SENSORS_CHIP_1='w83781d'
                                  # 1. name of chip
LM_SENSORS_CHIP_1_BEEP='yes'
                                  # beep for triggered alarms
LM_SENSORS_CHIP_1_LINE_N='16'
                                  # count of definition lines
LM_SENSORS_CHIP_1_LINE_1='label in0 "VCore0"'
LM_SENSORS_CHIP_1_LINE_2='label in1 "VCore1"'
LM_SENSORS_CHIP_1_LINE_3='label in2 "+3.3V"'
LM_SENSORS_CHIP_1_LINE_4='label in3 "+5V"'
LM_SENSORS_CHIP_1_LINE_5='compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)'
LM_SENSORS_CHIP_1_LINE_6='label in4 "+12V"'
LM_SENSORS_CHIP_1_LINE_7='compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)'
LM_SENSORS_CHIP_1_LINE_8='ignore in5'
LM_SENSORS_CHIP_1_LINE_9='ignore in6'
LM_SENSORS_CHIP_1_LINE_10='label fan1 "CPU0 Fan"'
LM_SENSORS_CHIP_1_LINE_11='label fan2 "CPU1 Fan"'
LM_SENSORS_CHIP_1_LINE_12='ignore fan3'
LM_SENSORS_CHIP_1_LINE_13='label temp1 "M/B Temp"'
LM_SENSORS_CHIP_1_LINE_14='label temp2 "CPU0 Temp"'
LM_SENSORS_CHIP_1_LINE_15='label temp3 "CPU1 Temp"'
LM_SENSORS_CHIP_1_LINE_16='label cpu0_vid "CPU0 Vid"'

#------------------------------------------------------------------------------
# End
#------------------------------------------------------------------------------

eine /etc/sensors3 wurde mit folgendem Inhalt erstellt:

# /etc/sensors3.conf
chip "w83781d-*"
set beep_enable 1
label in0 "VCore0"
label in1 "VCore1"
label in2 "+3.3V"
label in3 "+5V"
compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
label in4 "+12V"
compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
ignore in5
ignore in6
label fan1 "CPU0 Fan"
label fan2 "CPU1 Fan"
ignore fan3
label temp1 "M/B Temp"
label temp2 "CPU0 Temp"
label temp3 "CPU1 Temp"
label cpu0_vid "CPU0 Vid"

auch bei einem direkten Aufruf mit sensors -c /etc/sensors3.conf bleibt die 
Ausgabe Unformatiert.
Vor längerer Zeit hatte ich mit für mein Board eine Config mit Grundlage des 
A7N8X-X zusammengesucht. Deren Werte habe ich in die aktuelle Config 
übernommen mit einem Unterschied. Als Chip ist in meiner alten Config der 
as99127f angegeben. Wenn ich den nun versuche einzutragen erscheint die 
Fehlermeldung:

(/etc/config.d/lm_sensors:76) wrong value of variable
    LM_SENSORS_CHIP_1: 'as99127f' (Use one w83781d)

Trage ich als Chip nun w83781d ein erfolgt die Ausgabe ohne Formatierung.

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
Adapter: SMBus PIIX4 adapter at e800
VCore0:       +1.50 V  (min =  +1.20 V, max =  +1.60 V)
VCore1:       +1.25 V  (min =  +1.20 V, max =  +1.60 V)
+3.3V:        +3.31 V  (min =  +2.96 V, max =  +3.63 V)
+5V:          +5.05 V  (min =  +4.49 V, max =  +5.51 V)
+12V:        +12.16 V  (min =  +9.55 V, max = +14.41 V)
CPU0 Fan:    3708 RPM  (min =   -1 RPM, div = 2)
CPU1 Fan:    3857 RPM  (min = 9926 RPM, div = 2)
M/B Temp:     +61.0°C  (high =  +0.0°C, hyst = -128.0°C)
CPU0 Temp:    +40.0°C  (high = +60.0°C, hyst = +50.0°C)
CPU1 Temp:    +43.5°C  (high = +60.0°C, hyst = +50.0°C)
CPU0 Vid:    +1.525 V
beep_enable: enabled

auch diese noch mal:

chip "as99127f-*"

    label in0 "VCore0"
    label in1 "VCore1"
    label in2 "+3.3V"
    label in3 "+5V"
    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    label in4 "+12V"
    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
    ignore in5
    ignore in6
    label fan1 "CPU0 Fan"
    label fan2 "CPU1 Fan"
    ignore fan3
    label temp1 "M/B Temp"
    label temp2 "CPU0 Temp"
    label temp3 "CPU1 Temp"
    label cpu0_vid "CPU0 Vid"

Viele Grüße
Detlef Paschke 



Mehr Informationen über die Mailingliste Eisfair