Re: ACPI thermal _ACx values

Gunnar Flygt <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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  |
> |       [email protected]        | 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      |
> +--------------------------------------------------------------------+
> 
> 
> 
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "[email protected]"

-- 
Gunnar Flygt
OPC Data
Sveriges Radio

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.