From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 2 04:58:10 2007 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D91516A419; Thu, 2 Aug 2007 04:58:10 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id E9BD513C442; Thu, 2 Aug 2007 04:58:09 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l724w6E6017345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 1 Aug 2007 21:58:06 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l724w5LL018340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 1 Aug 2007 21:58:06 -0700 Message-ID: <46B1645B.5070108@u.washington.edu> Date: Wed, 01 Aug 2007 21:58:03 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: "M. Warner Losh" References: <20070801.211718.1683324313.imp@bsdimp.com> <46B14EFB.6010207@u.washington.edu> <46B15166.1070305@elischer.org> <20070801.225055.-345495092.imp@bsdimp.com> In-Reply-To: <20070801.225055.-345495092.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.8.1.214323 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: ume@freebsd.org, acpi@freebsd.org, freebsd-hackers@freebsd.org, gahr@gahr.ch, julian@elischer.org Subject: 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: Thu, 02 Aug 2007 04:58:10 -0000 M. Warner Losh wrote: > In message: <46B15166.1070305@elischer.org> > Julian Elischer writes: > : Garrett Cooper wrote: > : > M. Warner Losh wrote: > : >> In message: <46AE8F78.1060203@root.org> > : >> Nate Lawson writes: > : >> : Hajimu UMEMOTO wrote: > : >> : >>>>>> On Mon, 30 Jul 2007 23:31:33 +0200 > : >> : >>>>>> Pietro Cerutti said: > : >> : > gahr> My patch is really just a first draft that I wrote in order > : >> to have > : >> : > gahr> feedbacks on the general idea to implement a temperature > : >> controlling > : >> : > gahr> system inside powerd, and doesn't implement hysteresis as > : >> you noted, and > : >> : > gahr> your feedback is that it's not a good idea, which I respect. > : >> : > : > It is rather backward, IMHO. I did implement a passive cooling > : >> : > feature as an enhancement of powerd(8) like you did, during initial > : >> : > phases. Then, I implemented it in our kernel as a result. > : >> : : I'll take a look at your patch. Umemoto-san is right in that you > : >> really > : >> : want the kernel to control cooling. What happens if powerd dies/hangs > : >> : and your system burns up? Passive cooling is often a last resort to > : >> : keep the system from overheating. > : >> > : >> I keep getting the system shutting down on my HP by FreeBSD because > : >> the temperature exceeds the _CRT value. Maybe there's something wrong > : >> with my values, since it happens a lot: > : >> > : >> hw.acpi.thermal.min_runtime: 0 > : >> hw.acpi.thermal.polling_rate: 10 > : >> hw.acpi.thermal.user_override: 0 > : >> hw.acpi.thermal.tz0.temperature: 0.0C > : >> hw.acpi.thermal.tz0.active: -1 > : >> hw.acpi.thermal.tz0.passive_cooling: 1 > : >> hw.acpi.thermal.tz0.thermal_flags: 0 > : >> hw.acpi.thermal.tz0._PSV: 90.0C > : >> hw.acpi.thermal.tz0._HOT: -1 > : >> hw.acpi.thermal.tz0._CRT: 94.0C > : >> hw.acpi.thermal.tz0._ACx: 40.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 > : >> > : >> Note: temperature is always 0.0C. > : >> > : >> What can I do to help my situation, if I really want the kernel doing > : >> the cooling? > : >> > : >> Warner > : >> > : > > : > Wow, something's really wrong with those calculated temperatures. At > : > that value most of the plastic and weaker circuitry should have fused > : > together =\. > : > : It would be interesting to see what the values are just after booting, > : or even earlier if you can get the bios to give temperatures > : (some MBs have that possibility) > > The values are always the same. ACx is always 40C -1 ... and > temperature is always 0. > > Warner > Not all temperature sensors report accurate values, just like fans' rpm levels. -Garrett