From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 24 02:03:59 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF19816A412 for ; Tue, 24 Oct 2006 02:03:59 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D1E543D4C for ; Tue, 24 Oct 2006 02:03:59 +0000 (GMT) (envelope-from nate@root.org) Received: (qmail 91208 invoked from network); 24 Oct 2006 02:04:44 -0000 Received: from ppp-71-139-31-204.dsl.snfc21.pacbell.net (HELO ?10.0.5.59?) (nate-mail@71.139.31.204) by root.org with ESMTPA; 24 Oct 2006 02:04:44 -0000 Message-ID: <453D747B.9090000@root.org> Date: Mon, 23 Oct 2006 19:03:39 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Bengt Ahlgren References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: ASUS A8N-E hw.acpi.thermal.tz0.temperature always 40C X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2006 02:03:59 -0000 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