All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] VIA Epia ML6000EAG vt1211 CPU temperature wrong value
Date: Mon, 11 Jun 2012 13:49:04 +0000	[thread overview]
Message-ID: <20120611134904.GA14712@ericsson.com> (raw)
In-Reply-To: <f7590e64826c8ddac9804d2bc428f9c9.squirrel@www.sexychickz.net>

On Mon, Jun 11, 2012 at 09:39:38AM -0400, Guenter Roeck wrote:
> On Mon, Jun 11, 2012 at 03:55:07AM -0400, kernel@noltedennis.de 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.

Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2012-06-11 13:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-06 13:51 [lm-sensors] VIA Epia ML6000EAG vt1211 CPU temperature wrong value kernel
2012-06-06 15:19 ` Guenter Roeck
2012-06-11  7:55 ` kernel
2012-06-11 13:39 ` Guenter Roeck
2012-06-11 13:49 ` Guenter Roeck [this message]
2012-06-11 15:35 ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120611134904.GA14712@ericsson.com \
    --to=guenter.roeck@ericsson.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.