Sensors configuration for Asus P5PE-VM motherboard
I wish to share this configuration if Jean or somebody else could verify what I have done so far and add this to the wiki.
Here's the default sensors output (only the unconfigured inputs are shown):
$ sensors -u in1: in1_input: 1.856 in1_min: 2.040 in1_max: 1.712 in1_alarm: 1.000 in4: in4_input: 1.648 in4_min: 1.520 in4_max: 1.680 in4_alarm: 0.000 in5: in5_input: 1.632 in5_min: 1.488 in5_max: 1.648 in5_alarm: 0.000 in6: in6_input: 0.184 in6_min: 1.976 in6_max: 1.520 in6_alarm: 1.000 in9: in9_input: 0.184 in9_min: 1.248 in9_max: 0.872 in9_alarm: 1.000
For the +12V scaling:
+12V BIOS samples: 12.196, 12.249, 12.302
12.249 - 12.196 = 0.053 12.302 - 12.249 = 0.053
12.249 / (1+56/10) = 1.855909091
1.855909091 is close enough to in1 (1.856)
To verify the scaling factor:
231 * 0.008 * (1+56/10) = 12.1968 232 * 0.008 * (1+56/10) = 12.2496 233 * 0.008 * (1+56/10) = 12.3024
and it almost matches exactly to each BIOS samples. The compute statement for +12V scaling is:
compute in1 @*(1+56/10), @/(1+56/10)
For the +5V scaling:
+5V BIOS samples: 5.094, 5.145, 5.171, 5.196
5.145 - 5.094 = 0.051
5.171 - 5.145 = 0.026
5.196 - 5.171 = 0.025
(5.196 - 5.094) / (2 + 1 + 1) = 0.0255
5.196 / (255/80) = 1.630117647
1.614117647 is close enough to in5 (1.632)
But when I tried to verify the scaling factor:
202 * 0.008 * (255/80) = 5.151 203 * 0.008 * (255/80) = 5.1765 204 * 0.008 * (255/80) = 5.202
So I'm not so sure if this is acceptable. If I made a mistake from my above calculations please let me know. The compute statement for +5V scaling is:
compute in5 @*(255/80), @/(255/80)
And this is the entire configuration:
### Sensors configuration for Asus P5PE-VM motherboard ### 2014-02-28, ianp <snailbox88-dev -at- yahoo -dot- com> ### Comments are welcome.
chip "w83627ehf-*"
### Voltages
label in1 "+12V"
ignore in4 # ignored (not used?)
label in5 "+5V"
ignore in6 # ignore these
ignore in9 # as well (not used)
ignore cpu0_vid # Always at 0 in my case, so ignore it
### Scale +5V and +12V.
compute in5 @*(255/8), @/(255/80) compute in1 @*(1+56/10), @/(1+56/10)
### Set in0 according to CPU nominal voltage.
set in0_min 1.2000
set in0_max 1.3375
set in5_min 5 * 0.95 set in5_max 5 * 1.05 set in1_min 12 * 0.95 set in1_max 12 * 1.05
### Temperatures
# temp3 is unidentified
label temp1 "M/B Temp" label temp2 "CPU Temp"
### Set according to preference.
set temp1_max 60
set temp1_max_hyst 55
set temp2_max 60
set temp2_max_hyst 55
### Fans
### Ignore fan3 and fan5. There are ### only 2 fan connectors on this board. ### fan4 is missing.
label fan1 "CHA Fan" label fan2 "CPU Fan" ignore fan3
ignore fan5
### Set according to preference.
set fan1_min 0
set fan2_min 900
_______________________________________________
lm-sensors mailing list [email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Ian,
Quoted 65 lines · ianp
I wish to share this configuration if Jean or somebody else could verify what I have done so far and add this to the wiki.
Here's the default sensors output (only the unconfigured inputs are shown):
$ sensors -u in1: in1_input: 1.856 in1_min: 2.040 in1_max: 1.712 in1_alarm: 1.000 in4: in4_input: 1.648 in4_min: 1.520 in4_max: 1.680 in4_alarm: 0.000 in5: in5_input: 1.632 in5_min: 1.488 in5_max: 1.648 in5_alarm: 0.000 in6: in6_input: 0.184 in6_min: 1.976 in6_max: 1.520 in6_alarm: 1.000 in9: in9_input: 0.184 in9_min: 1.248 in9_max: 0.872 in9_alarm: 1.000For the +12V scaling:
+12V BIOS samples: 12.196, 12.249, 12.302
12.249 - 12.196 = 0.053 12.302 - 12.249 = 0.053
12.249 / (1+56/10) = 1.855909091
1.855909091 is close enough to in1 (1.856)
To verify the scaling factor:
231 * 0.008 * (1+56/10) = 12.1968 232 * 0.008 * (1+56/10) = 12.2496 233 * 0.008 * (1+56/10) = 12.3024
and it almost matches exactly to each BIOS samples. The compute statement for +12V scaling is:
compute in1 @*(1+56/10), @/(1+56/10)
For the +5V scaling:
+5V BIOS samples: 5.094, 5.145, 5.171, 5.196
5.145 - 5.094 = 0.051
5.171 - 5.145 = 0.026
5.196 - 5.171 = 0.025
Quoted 5 lines
(5.196 - 5.094) / (2 + 1 + 1) = 0.0255
5.196 / (255/80) = 1.630117647
1.614117647 is close enough to in5 (1.632)
Not sure what 1.614117647 has to do with it.
Quoted 10 lines
But when I tried to verify the scaling factor:
202 * 0.008 * (255/80) = 5.151 203 * 0.008 * (255/80) = 5.1765 204 * 0.008 * (255/80) = 5.202
So I'm not so sure if this is acceptable. If I made a mistake from my above calculations please let me know. The compute statement for +5V scaling is:
compute in5 @*(255/80), @/(255/80)
I have a better one. 5.196/0.008/(255/80) is 203.764, which is not an integer register value. That's why your validation above doesn't work. 5.196 V in the BIOS has to correspond to a register value of 203 or 204, it can't be in between.
5.196/(204*0.008) would mean a scaling factor 3.183823, which almost works but assumes that the BIOS rounds values, which is generally not the case. However 5.196/(203*0.008) leads to a scaling factor of 3.199507, which I will deliberately round to 3.2 :-) because it's nice, has been seen before, and works quite well:
199 * 0.008 * (1+22/10) = 5.094
201 * 0.008 * (1+22/10) = 5.145
202 * 0.008 * (1+22/10) = 5.171
203 * 0.008 * (1+22/10) = 5.196
So I vote for (1+22/10) as the +5V scaling factor.
Quoted 2 lines
And this is the entire configuration:
(...)
Added to the wiki as:
http://www.lm-sensors.org/wiki/Configurations/Asus/P5PE-VM
Thanks for your contribution :-)
Signature · 7 lines
Jean Delvare SUSE L3 Support _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Jean,
Quoted 8 lines · Jean Delvare
Quoted 4 lines
5.196 / (255/80) = 1.630117647
1.614117647 is close enough to in5 (1.632)
Not sure what 1.614117647 has to do with it.
That's a copy-paste error. :)
Quoted 23 lines
Quoted 7 lines
But when I tried to verify the scaling factor:
202 * 0.008 * (255/80) = 5.151
203 * 0.008 * (255/80) = 5.1765
204 * 0.008 * (255/80) = 5.202So I'm not so sure if this is acceptable. If I made a mistake from my
above calculations please let me know. The compute statement for +5V scaling is:
Quoted 3 lines
compute in5 @*(255/80), @/(255/80)
I have a better one. 5.196/0.008/(255/80) is 203.764, which is not an integer register value. That's why your validation above doesn't work. 5.196 V in the BIOS has to correspond to a register value of 203 or 204, it can't be in between.
5.196/(204*0.008) would mean a scaling factor 3.183823, which almost works but assumes that the BIOS rounds values, which is generally not the case. However 5.196/(203*0.008) leads to a scaling factor of 3.199507, which I will deliberately round to 3.2 :-) because it's nice, has been seen before, and works quite well:
Quoted 7 lines
199 * 0.008 * (1+22/10) = 5.094
201 * 0.008 * (1+22/10) = 5.145
202 * 0.008 * (1+22/10) = 5.171
203 * 0.008 * (1+22/10) = 5.196So I vote for (1+22/10) as the +5V scaling factor.
Ha! This scaling computation has been a tricky one, and it really helps when one is accustomed to what I can only imagine are multitudes of possible scaling factors. ;)
Which brings me to this idea for the voltage scaling guide: would it be possible to list some common scaling factors for +5V and +12V as a look-up table, if the list isn't going to be long? I bet it would help others who will be faced with the same conundrum as I did when deciding which scaling factor should be used, if the computation didn't yield a desirable value that corresponds to the BIOS samples taken when verified.
Quoted 13 lines
Quoted 3 lines
And this is the entire configuration:
(...)Added to the wiki as:
http://www.lm-sensors.org/wiki/Configurations/Asus/P5PE-VMThanks for your contribution :-)
Signature · 2 lines
Jean Delvare SUSE L3 Support
Thank you as well for new inputs.
ianp
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 19 lines · ianp
Quoted 19 lines · Jean Delvare
Quoted 1 line
compute in5 @*(255/80), @/(255/80)
I have a better one. 5.196/0.008/(255/80) is 203.764, which is not an integer register value. That's why your validation above doesn't work. 5.196 V in the BIOS has to correspond to a register value of 203 or 204, it can't be in between.
5.196/(204*0.008) would mean a scaling factor 3.183823, which almost works but assumes that the BIOS rounds values, which is generally not the case. However 5.196/(203*0.008) leads to a scaling factor of 3.199507, which I will deliberately round to 3.2 :-) because it's nice, has been seen before, and works quite well:
199 * 0.008 * (1+22/10) = 5.094
201 * 0.008 * (1+22/10) = 5.145
202 * 0.008 * (1+22/10) = 5.171
203 * 0.008 * (1+22/10) = 5.196
Quoted 5 lines
Quoted 1 line
So I vote for (1+22/10) as the +5V scaling factor.
Ha! This scaling computation has been a tricky one, and it really helps when one is accustomed to what I can only imagine are multitudes of possible scaling factors. ;)
Which brings me to this idea for the voltage scaling guide: would it be possible to list some common scaling factors for +5V and +12V as a look-up table, if the list isn't going to be long? I bet it would help others who will be faced with the same conundrum as I did when deciding which scaling factor should be used, if the computation didn't yield a desirable value that corresponds to the BIOS samples taken when verified.
I thought about it already, unfortunately the list would be too long. Each chip has its own recommended settings, and each board maker has its own habits. So it is possible to look-up existing configuration files for the same chip and/or board maker, once you have a suspect, but having a big list with all the possibilities wouldn't work, I'm afraid. And in many cases it would be useless anyway, as the board makers are incredibly creative with their new models.
It shouldn't be needed anyway... I didn't use the information to come up with the right value, I only used it as a second confirmation that I got it right.
Signature · 7 lines
Jean Delvare SUSE L3 Support _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 17 lines · Jean Delvare
Quoted 2 lines
Which brings me to this idea for the voltage scaling guide: would it be
possible to list some common scaling factors for +5V and +12V as a look-up table, if the list isn't going to be long? I bet it would help others who will be faced with the same conundrum as I did when deciding which scaling factor should be used, if the computation didn't yield a desirable value that corresponds to the BIOS samples taken when verified.
I thought about it already, unfortunately the list would be too long. Each chip has its own recommended settings, and each board maker has its own habits. So it is possible to look-up existing configuration files for the same chip and/or board maker, once you have a suspect, but having a big list with all the possibilities wouldn't work, I'm afraid. And in many cases it would be useless anyway, as the board makers are incredibly creative with their new models.
Quoted 9 lines
It shouldn't be needed anyway... I didn't use the information to come up with the right value, I only used it as a second confirmation that I got it right.
Signature · 2 lines
Jean Delvare SUSE L3 Support
I was leaning towards a table sorted by monitoring chip, listing possible common scaling factors under each chip that have been encountered in the past. And I was hoping that the board makers' implementation for each monitoring chip would be uniform so that this list would be manageable and could work, but unfortunately and like you said, it would be a mix-and-match fest with each board maker having its own habits, even perhaps varying across models as well.
ianp
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors