From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 31 14:55:03 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 C830016A417; Tue, 31 Jul 2007 14:55:03 +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 4B8EB13C481; Tue, 31 Jul 2007 14:55:03 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-187-205.dclient.hispeed.ch ([80.218.187.205] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IFt7l-0002qV-EY; Tue, 31 Jul 2007 16:55:01 +0200 Message-ID: <46AF4D52.4020500@gahr.ch> Date: Tue, 31 Jul 2007 16:55:14 +0200 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.5 (X11/20070723) MIME-Version: 1.0 To: Hajimu UMEMOTO 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> <46AF1276.8070808@gahr.ch> In-Reply-To: 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="------------enig66366DA221C765B65C236613" 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: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: [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 14:55:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig66366DA221C765B65C236613 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hajimu UMEMOTO wrote: > Hi, >=20 >>>>>> On Tue, 31 Jul 2007 12:44:06 +0200 >>>>>> Pietro Cerutti said: >=20 > gahr> Nevermind, I finally got my passive cooling working. >=20 > Congratulation! Thanx ;-) >=20 > gahr> I don't know if the values of _TC1, _TC2 and TSP are meaningful, = but it > gahr> seems to work for me, having a _PSV value of 65C. > gahr> Any suggestions on those values are welcome. >=20 > The cpufreq is controlled according to the following formula: >=20 > P [%] =3D _TC1 * ( Tn - Tn-1 ) + _TC2 * ( Tn - _PSV ) > Pn =3D Pn-1 + HW[ - P ] where 0% <=3D Pn <=3D 100% Been there, done that ;-) I saw this formula on the ACPI specs, but I feel like I don't have the knowledge to tailor _TC1 and _TC2 to my >=20 > And, this evaluation is examined every _TSP / 10 second. > I'm not sure which values are appropriate for your box, but my laptop > has the following values: >=20 > Name (_TC1, Zero) > Name (_TC2, 0x0C) > Name (_TSP, 0x28) >=20 > The values are same as you chose. ;-) I took the first two values I found in an ACPI asl on the net. > Please refer the following document for detail: >=20 > http://www.acpi.info/DOWNLOADS/ACPIspec-2-0c.pdf Maybe during vacation :-) >=20 > Sincerely, Thanks for your help! >=20 > -- > Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan > ume@mahoroba.org ume@{,jp.}FreeBSD.org > http://www.imasy.org/~ume/ --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig66366DA221C765B65C236613 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) iD8DBQFGr01WwMJqmJVx944RCuJLAJ9l7Ne8jdc2HpeJVDC2sOk9GlAISwCgp2WF W59zWuVPomltDSfHcH7GvPU= =S5ca -----END PGP SIGNATURE----- --------------enig66366DA221C765B65C236613--