[SOLVED] Re: [patch] enhance powerd(8) to handle max temperature



Pietro Cerutti wrote:
Hajimu UMEMOTO wrote:
Hi,

On Tue, 31 Jul 2007 07:54:20 +0200
Pietro Cerutti <gahr@xxxxxxx> said:
gahr> Thanks for your help!

I cannot see _TC1, _TC2 nor _TSP in your `acpidump -dt' output.
Further, there is no _PSV definition in anywhere, in the first place.
It seems to me that your ACPI BIOS doesn't support passive cooling at
all.

Yep that's what I suspected.

gahr> hw.acpi.thermal.user_override: 1
gahr> hw.acpi.thermal.tz0._PSV: 80.0C

I suspect that you set hw.acpi.thermal.tz0._PSV manually.

Yes I did..

Of cource, it is insufficient to make passive cooling work with your ACPI BIOS,
and you need the definition of _TC1, _TC2 and _TSP as well.
If you define apropreate definition of them, passive cooling will
work. But, we don't provide overriding the values of them. Perhaps,
modifying your ASL (`acpidump -dt' output) to add the definitions of
_TC1, _TC2, _TSP and _PSV, and loading it from loader will make
passive cooling work.

Do you have an example? I'm really far from being familiar with the ASL
code...

Nevermind, I finally got my passive cooling working.

Here's the diff against my acpidump -dt:

--- MSI1034.asl.orig 2007-07-31 12:37:55.000000000 +0200
+++ MSI1034.asl 2007-07-31 12:37:57.000000000 +0200
@@ -2612,6 +2612,10 @@
{
Return (KLV (0x64))
}
+ Name (_TC1, 0x00)
+ Name (_TC2, 0x0C)
+ Name (_TSP, 0x28)
+
}
}

@@ -4425,8 +4429,11 @@
Zero,
Zero
})
+
+ /*
If (SS1)
{
+ */
Name (_S1, Package (0x04)
{
One,
@@ -4434,10 +4441,14 @@
Zero,
Zero
})
+ /*
}
+ */

+ /*
If (SS3)
{
+ */
Name (_S3, Package (0x04)
{
0x05,
@@ -4445,10 +4456,14 @@
Zero,
Zero
})
+ /*
}
+ */

+ /*
If (SS4)
{
+ */
Name (_S4, Package (0x04)
{
0x06,
@@ -4456,7 +4471,9 @@
Zero,
Zero
})
+ /*
}
+ */

Name (_S5, Package (0x04)
{

I don't know if the values of _TC1, _TC2 and TSP are meaningful, but it
seems to work for me, having a _PSV value of 65C.
Any suggestions on those values are welcome.


acpi_tz0: temperature 65.8C: decreasing clock speed from 1743 MHz to
1452 MHz
acpi_tz0: temperature 65.8C: decreasing clock speed from 1452 MHz to
1162 MHz
acpi_tz0: temperature 63.8C: increasing clock speed from 1162 MHz to
1452 MHz
acpi_tz0: temperature 64.8C: increasing clock speed from 1452 MHz to
1660 MHz
acpi_tz0: temperature 64.8C: increasing clock speed from 1660 MHz to
1743 MHz
acpi_tz0: temperature 65.8C: decreasing clock speed from 1743 MHz to
1452 MHz
acpi_tz0: temperature 64.8C: increasing clock speed from 1452 MHz to
1660 MHz
acpi_tz0: temperature 64.8C: increasing clock speed from 1660 MHz to
1743 MHz
acpi_tz0: temperature 66.8C: decreasing clock speed from 1743 MHz to
1162 MHz
acpi_tz0: temperature 64.8C: increasing clock speed from 1162 MHz to
1328 MHz
...............

This seems to keep my laptop's temperature around 65C.

Thanks again,


Sincerely,

Thank you

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@xxxxxxxxxxxx ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



--
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • [RFC] Implement thermal limiting in generic thermal class
    ... In the absence of an explicitly defined passive cooling zone any ... initiating passive cooling at a temperature defaulting to just below the ... +static void thermal_poll ...
    (Linux-Kernel)
  • Re: Units conversion code
    ... I've looked at the tcllib::units package and it looks pretty good, ... "Also note that there is no support for Celsius or Farenheit ... convert from thermodynamic temperature to ...
    (comp.lang.tcl)
  • Re: Translating an embedded C algorithm
    ... for a child of package ADC. ... It does not need to be a child of ADC; ... conversion is very dependent on the type ADC.Count_T, so a child package feels natural to me. ... function Temperature return Temperatures.Reading_T; ...
    (comp.lang.ada)
  • Re: CPU: 80-85C
    ... > that temp. ... package is set to "approximately 20°C above the maximum Tc", ... explain how the temperature setting was chosen. ... 135C sounds like a good temperature for a silicon die limited ...
    (alt.comp.periphs.mainboard.asus)
  • Re: [RFC] Implement thermal limiting in generic thermal class
    ... initiating passive cooling at a temperature defaulting to just below ... devices in the thermal zones that don't enable passive cooling. ... we should just create "passive" attribute for thermal zones without ...
    (Linux-Kernel)