From owner-freebsd-acpi@FreeBSD.ORG Fri Oct 27 05:21:08 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 0AD3B16A412 for ; Fri, 27 Oct 2006 05:21:08 +0000 (UTC) (envelope-from takawata@init-main.com) Received: from sana.init-main.com (104.194.138.210.bn.2iij.net [210.138.194.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C48543D55 for ; Fri, 27 Oct 2006 05:21:07 +0000 (GMT) (envelope-from takawata@init-main.com) Received: from init-main.com (localhost [127.0.0.1]) by sana.init-main.com (8.13.8/8.13.3) with ESMTP id k9R5HjSm030102; Fri, 27 Oct 2006 14:17:50 +0900 (JST) (envelope-from takawata@init-main.com) Message-Id: <200610270517.k9R5HjSm030102@sana.init-main.com> To: bengta@sics.se In-reply-to: Your message of "Mon, 23 Oct 2006 19:03:39 MST." <453D747B.9090000@root.org> Date: Fri, 27 Oct 2006 14:17:45 +0900 From: Takanori Watanabe 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: Fri, 27 Oct 2006 05:21:08 -0000 In message <453D747B.9090000@root.org>, Nate Lawson さんいわく: >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. Hi, I wrote a driver for _HID=ATK0110. It seems to be AI Booster device. With this driver, I gots 2 Temperature 4 Voltage 2 Fan speed. http://www.init-main.com/aiboost.tar.gz Regards.