From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 5 10:40:35 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A755B10657CC for ; Thu, 5 Jan 2012 10:40:35 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 130808FC13 for ; Thu, 5 Jan 2012 10:40:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q05AePoU003697; Thu, 5 Jan 2012 21:40:27 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 5 Jan 2012 21:40:25 +1100 (EST) From: Ian Smith To: "Julian H. Stacey" In-Reply-To: <20120105020833.U62686@sola.nimnet.asn.au> Message-ID: <20120105193905.S62686@sola.nimnet.asn.au> References: <201201030332.q033WRLE064421@fire.js.berklix.net> <20120105020833.U62686@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: "Alexandre \"Sunny\" Kovalenko" , mobile@freebsd.org Subject: Re: powerd to use sysctl to import temps to drop freq to avoid heat crash X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2012 10:40:35 -0000 On Thu, 5 Jan 2012, Ian Smith wrote: > ======= > #!/bin/sh > # temp_t23 smithi v0 7/11/11, tidy 12/11/11, v2 fan read delay 22/11/11 + # Credit to Alexandre "Sunny" Kovalenko whose + # earlier scripts for managing acpi_ibm resources inspired this one. > # v3 18/12/11 suspend / resume resets dev.acpi_ibm.0.fan=1 (ie auto) > none=0; slow=1; fast=3 # Thinkpad T23 fan levels (1-2, 3-7 same) And of course it was also Alexandre who (I think originally) proposed monitoring temperature to directly implement cooling via lower powerd freqs, according to old email, in Feb 2006. I'd even forgotten having reviewed and added a line or two to that patch .. if I lost my archives I'd probably have no memory left at all :) This post: http://lists.freebsd.org/pipermail/freebsd-acpi/2008-February/004521.html points to this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin%2F120336&cat= which was closed with reference to this post: http://docs.FreeBSD.org/cgi/mid.cgi?1203126071.833.19.camel Useless trying to apply anything like this to recent powerd sources, though. Good luck with getting its fan to go, or a warranty claim! cheers, Ian