Hi Ian, On Thu, 27 Feb 2014 10:06:50 -0800 (PST), ianp wrote: > 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) Not sure what 1.614117647 has to do with it. > 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. > 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 _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors