Skip to contentSkip to conversation

5VSB computing on it87

lm-sensors Mr. Tux 3 participants 7 messages May 11, 2009 – May 14, 2009

lore
Share & tools
lore

Mr. Tux

author
#0 lore raw

Hi list

My Foxconn A7GM-S keep showing the wrong Voltage of 5VSB sensor.

This one shows up in BIOS as well, so it is connected and should indicate about 5.02V

But 'sensors' with it87 module loaded keeps showing 6.85V - how to change the compute line in order to get the 5.02V?

At the moment the compute line is the default:

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

thanks and regards

Mr Tux

_________________________________________________________________
http://redirect.gimas.net/?n=M0905xWLHM2
Unbegrenzter Speicher bei Windows Live Hotmail!

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

#1 lore raw
Quoted 10 lines · Mr. Tux

My Foxconn A7GM-S keep showing the wrong Voltage of 5VSB sensor.

This one shows up in BIOS as well, so it is connected and should indicate about 5.02V

But 'sensors' with it87 module loaded keeps showing 6.85V - how to change the compute line in order to get the 5.02V?

At the moment the compute line is the default:

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

I can't help but notice that 6.85 = ((6.8/10)+1)*4.08. The IT87xxF chips have a 4.08V DAC, meaning that this input channel is saturated. Thus I pretty much doubt it corresponds to your 5VSB line.

Signature · 6 lines
Jean Delvare

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

Thank you Jean

So, this sensor is not assigned correctly, I could life with that for the moment, but my problem is the alarm flag this sensors is causing, since the value for some reason is saturated.

I'd like to put this sensor on ignore for the moment, but I don't know how to do that:

*) ignore in7 - only prevents the sensor to be listed using the 'sensors' command
*) comment every line mentioning in7 in sensors3.conf - makes it appear under /sys/devices/plattform/[...]/ anyway ! With the alarm flag in "in7_alarm" set to 1 - I need to get rid of that...
*) trying to set in7 to value 0 (= unused): 'set in7_type 0' causes a parse error with 'sensors -s'
*) trying to raise the max_value barrier switching on the alarm: 'set in7_max 7 * 1.05'
this does not have an effect - the max limit stays at 6,.85, triggering the alarm!

What else can I try? I need the alarm flag in /sys/devices/plattform/[...]/in7_alarm to be set to '0' - since I'm writing a small daemon who will parse for alarm values only, starting a speaker beep when a alarm is discovered.

Thanks in advance for any help.

Mr Tux

Quoted 8 lines · Mr. Tux
Quoted 7 lines

My Foxconn A7GM-S keep showing the wrong Voltage of 5VSB sensor.

This one shows up in BIOS as well, so it is connected and should indicate about 5.02V

But 'sensors' with it87 module loaded keeps showing 6.85V - how to change the compute line in order to get the 5.02V?

Quoted 10 lines
Quoted 3 lines

At the moment the compute line is the default:

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

I can't help but notice that 6.85 == ((6.8/10)+1)*4.08. The IT87xxF chips have a 4.08V DAC, meaning that this input channel is saturated. Thus I pretty much doubt it corresponds to your 5VSB line.

Signature · 1 line
Jean Delvare

_________________________________________________________________
http://redirect.gimas.net/?n=M0905xIE8_MSN4
Internet Explorer 8 jetzt für MSN - kostenlos!

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

#3 lore raw
In reply to Mr. Tux
Quoted 15 lines · Mr. Tux

Thank you Jean

So, this sensor is not assigned correctly, I could life with that for the moment, but my problem is the alarm flag this sensors is causing, since the value for some reason is saturated.

I'd like to put this sensor on ignore for the moment, but I don't know how to do that:

*) ignore in7 - only prevents the sensor to be listed using the 'sensors' command
*) comment every line mentioning in7 in sensors3.conf - makes it appear under /sys/devices/plattform/[...]/ anyway ! With the alarm flag in "in7_alarm" set to 1 - I need to get rid of that...
*) trying to set in7 to value 0 (= unused): 'set in7_type 0' causes a parse error with 'sensors -s'
*) trying to raise the max_value barrier switching on the alarm: 'set in7_max 7 * 1.05'
this does not have an effect - the max limit stays at 6,.85, triggering the alarm!

Quoted 7 lines

What else can I try? I need the alarm flag in /sys/devices/plattform/[...]/in7_alarm to be set to '0' - since I'm writing a small daemon who will parse for alarm values only, starting a speaker beep when a alarm is discovered.

Thanks in advance for any help.

Mr Tux

Sir,

If you don't come up with a better solution, I parse the output of the
'sensors' command and look for alarms. I just run the command once a minute (I think that's the current rate) and send an e-mail when an alarm is detected.

I just 'ignore' (in7 in your case) in the sensors.conf file, by the way,
for any inputs I don't want to see in the 'sensors' output.

YMMV.

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

#4 lore raw
In reply to Mr. Tux
Quoted 9 lines · Mr. Tux

Thank you Jean

So, this sensor is not assigned correctly, I could life with that for the moment, but my problem is the alarm flag this sensors is causing, since the value for some reason is saturated.

I'd like to put this sensor on ignore for the moment, but I don't know how to do that:

*) ignore in7 - only prevents the sensor to be listed using the 'sensors' command

Not just the "sensors" command, but all problems using libsensors. And all monitoring programs should use it.

Quoted 3 lines

*) comment every line mentioning in7 in sensors3.conf - makes it appear under /sys/devices/plattform/[...]/ anyway ! With the alarm flag in "in7_alarm" set to 1 - I need to get rid of that...

This doesn't make any sense. Statements mentioning in7 for other chips you do not have on your board have no effect for you in the first place.

Quoted 1 line

*) trying to set in7 to value 0 (= unused): 'set in7_type 0' causes a parse error with 'sensors -s'

You can't invent symbols like that. Only a few sensors have a selectable type, thermal sensors mostly.

Quoted 2 lines

*) trying to raise the max_value barrier switching on the alarm: 'set in7_max 7 * 1.05'
this does not have an effect - the max limit stays at 6,.85, triggering the alarm!

Some chips to strict comparisons on limits and some do loose comparisons. Apparently the IT87xxF chips do loose comparisons on upper limits, so you're doomed. That's the reason why chip manufacturer recommend to connect unused voltage inputs to the ground, a recommendation your motherboard vendor did not follow - blame them!

Quoted 3 lines

What else can I try? I need the alarm flag in /sys/devices/plattform/[...]/in7_alarm to be set to '0' - since I'm writing a small daemon who will parse for alarm values only, starting a speaker beep when a alarm is discovered.

Your small daemon should link with libsensors and use it's API, instead of accessing /sys files directly. That way you can ignore faulty inputs through /etc/sensors3.conf.

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
#5 lore raw
In reply to Mr. Tux
Quoted 22 lines · Mark E. Hansen
Quoted 21 lines · Mr. Tux

Thank you Jean

So, this sensor is not assigned correctly, I could life with that for the moment, but my problem is the alarm flag this sensors is causing, since the value for some reason is saturated.

I'd like to put this sensor on ignore for the moment, but I don't know how to do that:

*) ignore in7 - only prevents the sensor to be listed using the 'sensors' command
*) comment every line mentioning in7 in sensors3.conf - makes it appear under /sys/devices/plattform/[...]/ anyway ! With the alarm flag in "in7_alarm" set to 1 - I need to get rid of that...
*) trying to set in7 to value 0 (= unused): 'set in7_type 0' causes a parse error with 'sensors -s'
*) trying to raise the max_value barrier switching on the alarm: 'set in7_max 7 * 1.05'
this does not have an effect - the max limit stays at 6,.85, triggering the alarm!

What else can I try? I need the alarm flag in /sys/devices/plattform/[...]/in7_alarm to be set to '0' - since I'm writing a small daemon who will parse for alarm values only, starting a speaker beep when a alarm is discovered.

Thanks in advance for any help.

Quoted 8 lines
Quoted 1 line

Mr Tux

Sir,

If you don't come up with a better solution, I parse the output of the
'sensors' command and look for alarms. I just run the command once a minute (I think that's the current rate) and send an e-mail when an alarm is detected.

Heh, ok - I do it every 5 minutes, not every minute. Of course, every 5 minutes may be too often as well, but the machine is not doing much otherwise :-)

Quoted 6 lines

I just 'ignore' (in7 in your case) in the sensors.conf file, by the way,
for any inputs I don't want to see in the 'sensors' output.

YMMV.

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