From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 09:12:32 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 D7E7F37B401; Tue, 24 Jun 2003 09:12:32 -0700 (PDT) Received: from dart.sr.se (dart.SR.SE [134.25.0.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56A1643F93; Tue, 24 Jun 2003 09:12:31 -0700 (PDT) (envelope-from gunnar@oldie.sr.se) Received: from honken.sr.se (honken.sr.se [134.25.128.27]) by dart.sr.se (8.12.6p2/8.12.6) with ESMTP id h5OGCUsb015903; Tue, 24 Jun 2003 18:12:30 +0200 (CEST) (envelope-from gunnar@oldie.sr.se) Received: from oldie.sr.se (oldie [134.25.200.100]) by honken.sr.se (8.12.3p2/8.12.3) with ESMTP id h5OGCUVT098474; Tue, 24 Jun 2003 18:12:30 +0200 (CEST) (envelope-from gunnar@oldie.sr.se) Received: from oldie.sr.se (localhost [127.0.0.1]) by oldie.sr.se (8.12.9/8.12.9) with ESMTP id h5OGCTF7097397; Tue, 24 Jun 2003 18:12:29 +0200 (CEST) (envelope-from gunnar@oldie.sr.se) Received: (from gunnar@localhost) by oldie.sr.se (8.12.9/8.12.9/Submit) id h5OGCTPe097396; Tue, 24 Jun 2003 18:12:29 +0200 (CEST) Date: Tue, 24 Jun 2003 18:12:29 +0200 From: Gunnar Flygt To: "Michael W. Oliver" Message-ID: <20030624161229.GA97355@sr.se> References: <200306241120.56997.michael@gargantuan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306241120.56997.michael@gargantuan.com> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: ACPI thermal _ACx values X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gunnar Flygt 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 16:12:33 -0000 On Tue, Jun 24, 2003 at 11:20:56AM -0400, Michael W. Oliver wrote: > 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 (3351 - 2732) / 10 = 61.9 degrees Centigrade So that's the temperature your system CPU is at. > > 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 | > +--------------------------------------------------------------------+ > > > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" -- Gunnar Flygt OPC Data Sveriges Radio