Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2006 19:03:39 -0700
From:      Nate Lawson <nate@root.org>
To:        Bengt Ahlgren <bengta@sics.se>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: ASUS A8N-E hw.acpi.thermal.tz0.temperature always 40C
Message-ID:  <453D747B.9090000@root.org>
In-Reply-To: <uh7bqo2zm6f.fsf@P142.sics.se>
References:  <uh7bqo2zm6f.fsf@P142.sics.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Bengt Ahlgren wrote:
> Hi!
> 
> The ACPI thermal zone does not work properly on my ASUS A8N-E (nForce
> 4 ultra).  It always shows the temp as 40C:
> 
> I suppose this is no fault of FreeBSD at all, but with the ASL:
> 
> http://www.sics.se/~bengta/FBSD/a8n-e.asl
> 
> I am quite clueless when it comes to ASL, but the RTMP method does
> have a case when it returns the constant 0x0C3C, which I believe
> evaluates to 40C (/10-273.2).
> 
> There is also another RTMP method as part of a device "ASOC" which
> seem to support reading not only CPU temp.  The ASOC device seems to
> provide access to a lot of MB sensors.
> 
> I don't have a thermal problem, but it would be nice to have the
> thermal zone working!  Any clues if it is easy to fix?
> 
> (The problem seem similar to:
> 
> http://lists.freebsd.org/pipermail/freebsd-acpi/2006-May/002724.html
> 
> but unlike this post, the _TMP is not a no-op)

THRM has a _TMP method.  It is only active if the lowest bit of SENF is 
set to 1, otherwise it returns 0xB86.  _TMP calls RTMP().  If SSHU == 1, 
it returns a constant 0xc3c.  So SENF must be 0 and SSHU must be 0 (or 
other) for the method to do anything.

You can try commenting out those If statements and seeing if your system 
gets the right temp.  Then we should figure out why we're not getting 
the right values.  You can add a Store(SSHU, Debug) I think to get a 
print of its value.


-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?453D747B.9090000>