Hi Jean, > On Thursday, March 6, 2014 4:41 PM, Jean Delvare <jdelvare@xxxxxxx> wrote: >> >> 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. :) >> 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. > 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. > >> 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 :-) > > -- > Jean Delvare > SUSE L3 Support > Thank you as well for new inputs. ianp _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors