Skip to contentSkip to conversation

wrong datas ?

lm-sensors linuxcbon 2 participants 4 messages Dec 25, 2013 – Jan 10, 2014

lore
Share & tools
lore

linuxcbon

author
#0 lore raw

Hi,
I run ssensors version 3.3.4 with libsensors version 3.3.4. (got the same results with other versions).

# sensors
it8718-isa-0228
Adapter: ISA adapter
in0:          +1.04 V  (min =  +0.00 V, max =  +4.08 V)
in1:          +1.84 V  (min =  +0.00 V, max =  +4.08 V)
in2:          +3.33 V  (min =  +0.00 V, max =  +4.08 V)
+5V:          +3.01 V  (min =  +0.00 V, max =  +4.08 V)
in4:          +3.04 V  (min =  +0.00 V, max =  +4.08 V)
in5:          +3.22 V  (min =  +0.00 V, max =  +4.08 V)
in6:          +4.08 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
in7:          +2.00 V  (min =  +0.00 V, max =  +4.08 V)
Vbat:         +3.20 V  
fan1:        1979 RPM  (min =   10 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
temp1:        +34.0 C  (low  = +127.0 C, high = +127.0 C)  sensor = thermistor
temp2:        +35.0 C  (low  = +127.0 C, high = +70.0 C)  sensor = thermal diode
temp3:        +44.0 C  (low  = +127.0 C, high = +127.0 C)  sensor = thermistor
cpu0_vid:    +1.050 V
intrusion0:  OK

Remarks :
Is it normal that +5V is displayed as +3.01 V ? Or should it be renamed as +...something else ? in6 should not be ALARM ?

Thanks in advance

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw
Quoted 2 lines · linuxcbon

Hi,
I run ssensors version 3.3.4 with libsensors version 3.3.4. (got the same results with other versions).

Most important here is the kernel version, and the board brand and model.

Quoted 22 lines
# sensors
it8718-isa-0228
Adapter: ISA adapter
in0:          +1.04 V  (min =  +0.00 V, max =  +4.08 V)
in1:          +1.84 V  (min =  +0.00 V, max =  +4.08 V)
in2:          +3.33 V  (min =  +0.00 V, max =  +4.08 V)
+5V:          +3.01 V  (min =  +0.00 V, max =  +4.08 V)
in4:          +3.04 V  (min =  +0.00 V, max =  +4.08 V)
in5:          +3.22 V  (min =  +0.00 V, max =  +4.08 V)
in6:          +4.08 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
in7:          +2.00 V  (min =  +0.00 V, max =  +4.08 V)
Vbat:         +3.20 V  
fan1:        1979 RPM  (min =   10 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
temp1:        +34.0 C  (low  = +127.0 C, high = +127.0 C)  sensor = thermistor
temp2:        +35.0 C  (low  = +127.0 C, high = +70.0 C)  sensor = thermal diode
temp3:        +44.0 C  (low  = +127.0 C, high = +127.0 C)  sensor = thermistor
cpu0_vid:    +1.050 V
intrusion0:  OK
Quoted 2 lines

Remarks :
Is it normal that +5V is displayed as +3.01 V ? Or should it be renamed as +...something else ?

The IT8718F can monitor voltages up to 4 Volts directly, anything above this limit requires scaling resistors, which must then be mentioned in your configuration file so that "sensors" (or any libsensors-based application) can compute the actual voltage. For example, try adding the following to a new file under /etc/sensors.d:

chip "it8718-*"

    compute  in3  @ * (6.8/10+1), @ / (6.8/10+1)

This should make the +5V line look reasonable. The exact scaling factor depends on your board.

Note that other voltage inputs may need scaling factors too, in particular +12V (which I suspect is connected to in4.) See this article for how you can figure out the voltage labels and scaling factors:

http://www.lm-sensors.org/wiki/VoltageLabelsAndScaling

in0 is most likely Vcore, in1 could be Vram if the system is using DDR2, in2 would be +3.3V:

label in0 "Vcore"
label in1 "Vram"
label in2 "+3.3V"

But first check if we do not already have a configuration file for your board...

Quoted 1 line

in6 should not be ALARM ?

in6 reads 4.08 V which is the maximum supported by the ADC. This means the pin is not wired to a real voltage input, so it can be ignored. This can be done by adding the following statement to your configuration file (in the right chip section):

ignore in6

Signature · 7 lines
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
author
#2 lore raw
In reply to linuxcbon

Le Lundi 6 janvier 2014 14h03, Jean Delvare <[email protected]> a écrit :

...Most important here is the kernel version, and the board brand and model.
---> yahoo email does "top posting" and not "> quoting", it's bad to answer. kernel is 3.9.11
board is gigabyte GA-MA78GM-UD2H

...For example, try adding
the following to a new file under /etc/sensors.d:
---> you mean /etc/sensors.conf ?

chip "it8718-*"
    compute  in3  @ * (6.8/10+1), @ / (6.8/10+1)
This should make the +5V line look reasonable. The exact scaling factor depends on your board.
---> it works, now shows +5.05 V

...But first check if we do not already have a configuration file for your board...
---> do you know where to find it ?

thanks in advance

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to linuxcbon
Quoted 9 lines · linuxcbon

Le Lundi 6 janvier 2014 14h03, Jean Delvare <[email protected]> a écrit :

...Most important here is the kernel version, and the board brand and model.
---> yahoo email does "top posting" and not "> quoting", it's bad to answer. kernel is 3.9.11
board is gigabyte GA-MA78GM-UD2H

Quoted 3 lines

...For example, try adding
the following to a new file under /etc/sensors.d:
---> you mean /etc/sensors.conf ?

No I really mean what I said: a new file under /etc/sensors.d, for example /etc/sensors.d/Gigabyte-MA78GM-UD2H.conf.

You _can_ edit /etc/sensors.conf directly, however your changes are likely to be lost on package update.

Quoted 5 lines

chip "it8718-*"
    compute  in3  @ * (6.8/10+1), @ / (6.8/10+1)
This should make the +5V line look reasonable. The exact scaling factor depends on your board.
---> it works, now shows +5.05 V

Great.

Quoted 3 lines

...But first check if we do not already have a configuration file for your board...
---> do you know where to find it ?

http://www.lm-sensors.org/wiki/Configurations

But I did check and we have a number of configuration files for Gigabyte MA series boards but not yours. You may still find some inspiration in these files as these two boards use the same monitoring chip:

http://www.lm-sensors.org/wiki/Configurations/Gigabyte/MA785GM-US2H
http://www.lm-sensors.org/wiki/Configurations/Gigabyte/MA770-DS3

Signature · 7 lines
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors