From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 31 10:43:59 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 231FE16A417; Tue, 31 Jul 2007 10:43:59 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 9E11F13C459; Tue, 31 Jul 2007 10:43:58 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from gahrtop.bfh.ch ([147.87.108.141] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IFpCm-0007Hm-2g; Tue, 31 Jul 2007 12:43:56 +0200 Message-ID: <46AF1276.8070808@gahr.ch> Date: Tue, 31 Jul 2007 12:44:06 +0200 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.5 (X11/20070723) MIME-Version: 1.0 To: Hajimu UMEMOTO , freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org References: <46AA0491.5000203@gahr.ch> <46ADAF5B.6050602@gahr.ch> <20070730180355.GA7355@rot26.obsecurity.org> <46AE58B5.3080506@gahr.ch> <46AECE8C.8000500@gahr.ch> <46AEDB0C.6070706@gahr.ch> In-Reply-To: <46AEDB0C.6070706@gahr.ch> X-Enigmail-Version: 0.95.2 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigDD61C1913061BBF31FCF3179" X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: [SOLVED] Re: [patch] enhance powerd(8) to handle max temperature X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2007 10:43:59 -0000 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 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--