Date: Tue, 31 Jul 2007 12:44:06 +0200 From: Pietro Cerutti <gahr@gahr.ch> To: Hajimu UMEMOTO <ume@freebsd.org>, freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: [SOLVED] Re: [patch] enhance powerd(8) to handle max temperature Message-ID: <46AF1276.8070808@gahr.ch> In-Reply-To: <46AEDB0C.6070706@gahr.ch> References: <46AA0491.5000203@gahr.ch> <yge7iol6zb8.wl%ume@mahoroba.org> <46ADAF5B.6050602@gahr.ch> <20070730180355.GA7355@rot26.obsecurity.org> <46AE58B5.3080506@gahr.ch> <yge4pjl1i7f.wl%ume@mahoroba.org> <46AECE8C.8000500@gahr.ch> <yge3az513b0.wl%ume@mahoroba.org> <46AEDB0C.6070706@gahr.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDD61C1913061BBF31FCF3179 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Pietro Cerutti wrote: > Hajimu UMEMOTO wrote: >> Hi, >> >>>>>>> On Tue, 31 Jul 2007 07:54:20 +0200 >>>>>>> Pietro Cerutti <gahr@gahr.ch> 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. >=20 > Yep that's what I suspected. >=20 >> 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. >=20 > Yes I did.. >=20 >> Of cource, it is insufficient to make passive cooling work with your A= CPI 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. >=20 > 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 =2E.............. This seems to keep my laptop's temperature around 65C. Thanks again, >=20 >> Sincerely, >=20 > Thank you >=20 >> -- >> Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan >> ume@mahoroba.org ume@{,jp.}FreeBSD.org >> http://www.imasy.org/~ume/ >=20 --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enigDD61C1913061BBF31FCF3179 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGrxJ7wMJqmJVx944RChyeAKC2xMayD3+AjeNep4cAlOLOjHoMsQCgpVKe Ol49oKNSUsxW7TUxVyOUyFA= =4dwn -----END PGP SIGNATURE----- --------------enigDD61C1913061BBF31FCF3179--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AF1276.8070808>