On Mon, 2012-06-11 at 09:49 -0400, Guenter Roeck wrote: > On Mon, Jun 11, 2012 at 09:39:38AM -0400, Guenter Roeck wrote: > > On Mon, Jun 11, 2012 at 03:55:07AM -0400, kernel@xxxxxxxxxxxxxx wrote: > > > Hello and thank you for helping. > > > > > > The raw readings on following config settings: > > > > > > compute temp1 (@ - 83.869) / 0.9528, (@ * 0.9528) +83.869 > > > > > > # cat /sys/devices/platform/vt1211.24576/temp1_input > > > 99000 > > > # cat /sys/devices/platform/vt1211.24576/temp2_input > > > 41000 > > > > > > for comparison the sensor output: > > > #sensors > > > ... > > > fan1: 0 RPM (min = 0 RPM, div = 2) > > > fan2: 0 RPM (min = 0 RPM, div = 2) > > > temp1: +15.9 C (high = +179.6 C, hyst = -88.0 C) > > > SIO Temp: +41.0 C (high = +204.0 C, hyst = +0.0 C) > > > cpu0_vid: +1.750 V > > > > > temp1 is too low. Just don't have a good idea how to adjust it. Maybe measure > > at low and high load and come up with a better approximation. > > > > > > > > without the compute line the hyst value seems to be ok, but the temp is > > > pretty high. > > > > > > temp1: +102.0 C (high = +255.0 C, hyst = +0.0 C) > > > Raw value: 104000 > > > > > I think I know the problem. hyst is supposed to show report absolute temperature, > > not the hysteresis value itself. Looks like displays the hysteresis value itself > > (ie the temperature difference/variance) here. The equation is applied to hyst, > > which results in the negative value. The raw hysteresis value should be 104000, > > just like the raw temperature (assuming no hysteresis is programmed). > > > Correction: hyst is related to max, not to the current temperature. So the raw > reported value should be 255000, not 104000. Sorry for the confusion. > After looking into the data sheet, it is not clear to me if the hysteresis registers store an absolute temperature or a relative temperature. So it may as well be that the hysteresis value is not programmed, or not programmed correctly, on your board. Difficult to say which one it is without experimenting with the board itself. Guenter _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors