From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 24 06:19:40 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 70D7C16A420; Wed, 24 Oct 2007 06:19:40 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 47A7E13C4A8; Wed, 24 Oct 2007 06:19:37 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id QAA14832; Wed, 24 Oct 2007 16:19:15 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 24 Oct 2007 16:19:14 +1000 (EST) From: Ian Smith To: Richard Arends In-Reply-To: <20071016195550.GQ5484@shell.unixguru.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, Markus Brueffer , FreeBSD Mobile ML Subject: Re: Management of Thermal 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: Wed, 24 Oct 2007 06:19:40 -0000 On Tue, 16 Oct 2007, Richard Arends wrote (in freebsd-mobile): > On Wed, Oct 17, 2007 at 02:27:48AM +1000, Ian Smith wrote: > > Ian, > > > Just browsing: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/acpi_support/acpi_ibm.c > > > > What revision of that have you? It's not clear to me tha this fan level > > stuff, documented with rev 1.10, was ever MFC'd to 6-STABLE. If I'm > > diffing the right versions it appears that it wasn't, and the comment on > > 1.7.2.3 (6.X) says only 'MFC: 1.11, 1.12', but that seems not so, if I'm > > reading the diffs against any of those versions right (incl 1.14 @ 7.0) > > You are absolutely right. On my stable tree I MFC'ed the acpi_ibm a few times > myself. Totaly forget about it :) Now i'm running the normal acpi_ibm in stable > again and indeed the fan_level hook isn't there anymore. > > Adapting acpi_ibm to stable was not that hard but you can also try to run > RELENG_7, it is fairly stable at the moment :) Following up cc'd to acpi@ and the presumed maintainer: Over on -mobile we've been exploring ways to help Norberto stop his (6-STABLE) Thinkpad z60m from melting - well, regularly hitting critical thermal shutdown on larger builds - and these fan speed control sysctls came up, along with a neat perl daemon using them to control fan speed vs temperature setpoints (plus powerd-like cpu freq adjustment when it gets hotter than maximum fan speed control can manage). Running 7 sounds good, but is there any particular (API?) reason that - Add support for setting the fan control mode to manual or automatic - Add support for adjusting the fan speed if the fan control mode is manual from acpi_ibm.c rev 1.10, was not MFC'd to 6-STABLE? If not, any chance before 6.3? Cheers, Ian