From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 31 14:43:20 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77FAF16A419; Tue, 31 Jul 2007 14:43:20 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (ent.mahoroba.org [IPv6:2001:2f0:104:8010::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2733613C45B; Tue, 31 Jul 2007 14:43:20 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:3BvvWCs2DIIHpDvEJv4X+asnJ7j9r03ys2zc0TNfUk7g7oPoedCZiqZBua7HPjZf@kasuga.mahoroba.org [IPv6:2001:2f0:104:8010:20b:97ff:fe2e:b521]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.8/8.13.8) with ESMTP/inet6 id l6VEhA28054785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Jul 2007 23:43:13 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 31 Jul 2007 23:43:10 +0900 Message-ID: From: Hajimu UMEMOTO To: Pietro Cerutti In-Reply-To: <46AF1276.8070808@gahr.ch> 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> User-Agent: xcite1.57> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.1 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.2-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Tue, 31 Jul 2007 23:43:13 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, DKIM_POLICY_SIGNSOME,DK_POLICY_SIGNSOME autolearn=ham version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on ameno.mahoroba.org Cc: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: [SOLVED] Re: [patch] enhance powerd(8) to handle max temperature X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2007 14:43:20 -0000 Hi, >>>>> On Tue, 31 Jul 2007 12:44:06 +0200 >>>>> Pietro Cerutti said: gahr> Nevermind, I finally got my passive cooling working. Congratulation! 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. The cpufreq is controlled according to the following formula: P [%] = _TC1 * ( Tn - Tn-1 ) + _TC2 * ( Tn - _PSV ) Pn = Pn-1 + HW[ - P ] where 0% <= Pn <= 100% 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: Name (_TC1, Zero) Name (_TC2, 0x0C) Name (_TSP, 0x28) The values are same as you chose. Please refer the following document for detail: http://www.acpi.info/DOWNLOADS/ACPIspec-2-0c.pdf Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/