From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 23 22:45:05 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 9AB6616A407 for ; Mon, 23 Oct 2006 22:45:05 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from brev.sics.se (brev.sics.se [193.10.64.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id E437143D45 for ; Mon, 23 Oct 2006 22:45:04 +0000 (GMT) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (h177n1-u-d1.ias.bredband.telia.com [213.64.92.177]) by brev.sics.se (8.12.8/8.12.8) with ESMTP id k9NMitnt001887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 24 Oct 2006 00:44:55 +0200 Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.13.6/8.13.6) with ESMTP id k9NMjDvn001145; Tue, 24 Oct 2006 00:45:13 +0200 (CEST) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.13.6/8.13.6/Submit) id k9NMjCF3001144; Tue, 24 Oct 2006 00:45:12 +0200 (CEST) (envelope-from bengta@P142.sics.se) To: freebsd-acpi@freebsd.org From: Bengt Ahlgren Date: Tue, 24 Oct 2006 00:45:12 +0200 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new Subject: 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: Mon, 23 Oct 2006 22:45:05 -0000 Hi! The ACPI thermal zone does not work properly on my ASUS A8N-E (nForce 4 ultra). It always shows the temp as 40C: zeus> sysctl hw.acpi.thermal hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 40.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 73.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 75.0C hw.acpi.thermal.tz0._ACx: 73.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 mbmon however shows sane (well, changing at least :-) ) numbers: zeus> mbmon -c 1 Temp.= 35.0, 25.0, 37.0; Rot.= 1480, 0, 6026 Vcore = 1.12, 0.00; Volt. = 3.30, 4.92, 11.67, -10.24, -0.00 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) Regards, Bengt