From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 08:21:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70BAC37B401; Tue, 24 Jun 2003 08:21:00 -0700 (PDT) Received: from phoenix.gargantuan.com (rrcs-se-24-73-171-238.biz.rr.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id DADA443F75; Tue, 24 Jun 2003 08:20:59 -0700 (PDT) (envelope-from michael@gargantuan.com) Received: from cyclops.gargantuan.com (cyclops.gargantuan.com [3ffe:c00:8034:a00::300]) by phoenix.gargantuan.com (Postfix) with ESMTP id 1459919B; Tue, 24 Jun 2003 11:20:59 -0400 (EDT) From: "Michael W. Oliver" To: freebsd-mobile@freebsd.org, freebsd-current@freebsd.org Date: Tue, 24 Jun 2003 11:20:56 -0400 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Disposition: inline X-UID: 2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200306241120.56997.michael@gargantuan.com> Subject: ACPI thermal _ACx values X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: michael@gargantuan.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 15:21:00 -0000 Here is the problem. When I boot up, everything is working fine, and the following sysctl is set as follows: hw.acpi.thermal.tz0._ACx: 3351 -1 -1 -1 -1 -1 -1 -1 -1 -1 Ok, this is fine, except that sometimes the first value isn't 3351. I have seen 3331 and 3341, too. Is that a big deal? And, how is this value set? Now, on to the problem. When I suspend the machine (S1), and then wake it back up again, the first value is changed to -1, just like the other nine values, yielding: hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 So, if I try to change the value back to 3331, I find out that this is a read-only oid. I found that I can get the value restored by disconnecting the AC power (putting the machine in 'economy' mode) and then restoring the AC power (putting the maching back into 'performance' mode). I turned on verbose ACPI logging and here is what I see in the message log: acpi_tz0: _AC9: temperature 61.9 >= setpoint -273.-2 acpi_tz0: _AC8: temperature 61.9 >= setpoint -273.-2 acpi_tz0: _AC7: temperature 61.9 >= setpoint -273.-2 acpi_tz0: _AC6: temperature 61.9 >= setpoint -273.-2 acpi_tz0: _AC5: temperature 61.9 >= setpoint -273.-2 acpi_tz0: _AC4: temperature 61.9 >= setpoint -273.-2 acpi_tz0: _AC3: temperature 61.9 >= setpoint -273.-2 acpi_tz0: _AC2: temperature 61.9 >= setpoint -273.-2 acpi_tz0: _AC1: temperature 61.9 >= setpoint -273.-2 acpi_tz0: _AC0: temperature 61.9 >= setpoint -273.-2 acpi_tz0: switched from NONE to _AC0: 61.9C acpi_tz0: WARNING - current temperature (61.9C) exceeds system limits acpi_tz0: _AC0: temperature 62.9 >= setpoint 61.9 acpi_tz0: switched from NONE to _AC0: 62.9C acpi_tz0: switched from _AC0 to NONE: 59.9C acpi_tz0: _AC0: temperature 61.9 >= setpoint 61.9 acpi_tz0: switched from NONE to _AC0: 61.9C acpi_tz0: switched from _AC0 to NONE: 55.9C Do I have anything to fear in the -1 value that replaces the 3351 when waking up from suspend? I have searched high and low and found very little information. Thanks in advance for your replies, they are much appreciated. -- +-------------------------------------+------------------------------+ | Michael W. Oliver, CCNP | "The tree of liberty must be | | IPv6 & FreeBSD mark | refreshed from time to time | | michael@gargantuan.com | with the blood of patriots | | http://michael.gargantuan.com/ | and tyrants." | | ASpath-tree, Looking Glass, etc. | - President Thomas Jefferson | | +------------------------------+ | gpg key - http://michael.gargantuan.com/gnupg/pubkey.asc | +--------------------------------------------------------------------+