From owner-freebsd-current@FreeBSD.ORG Wed Dec 21 13:26:26 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1804816A41F for ; Wed, 21 Dec 2005 13:26:26 +0000 (GMT) (envelope-from fli+freebsd-current@shapeshifter.se) Received: from mx1.h3q.net (manticore.shapeshifter.se [212.37.5.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7644943D5F for ; Wed, 21 Dec 2005 13:26:24 +0000 (GMT) (envelope-from fli+freebsd-current@shapeshifter.se) Received: from localhost (localhost [127.0.0.1]) by mx1.h3q.net (Postfix) with ESMTP id 9290E1A90C; Wed, 21 Dec 2005 14:26:22 +0100 (CET) Received: from mx1.h3q.net ([127.0.0.1]) by localhost (mx1.h3q.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27132-06; Wed, 21 Dec 2005 14:26:21 +0100 (CET) Received: from [192.168.0.83] (81-234-243-91-o926.tbon.telia.com [81.234.243.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.h3q.net (Postfix) with ESMTP id E37FD1A7A7; Wed, 21 Dec 2005 14:26:20 +0100 (CET) Message-ID: <43A957FA.8090005@shapeshifter.se> Date: Wed, 21 Dec 2005 14:26:18 +0100 From: Fredrik Lindberg User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050928) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tobias Roth References: <20051221100954.GB24363@droopy.unibe.ch> In-Reply-To: <20051221100954.GB24363@droopy.unibe.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at h3q.net Cc: current@freebsd.org Subject: Re: IBM Thinkpad Fan Control (acpi_ibm) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 13:26:26 -0000 Tobias Roth wrote: > Hi > > With acpi_ibm.ko, I can monitor fan speed, thermal sensors and do > many other nice things. However, my Thinkpad (a T43p) has an awfully > noisy fan, that, once the notebook reaches its standard working > temperature (around 45 deg C), turns on and never stops again. > > The generally accepted solution his to manually lower the fan speed > and live with the higher temperatures, which will still be in an > acceptable range even with slow running fans. The discussion and a > utility for Windows can be found here [1], and a linux tool is > described here [2]. > > Now my question. Since acpi_ibm.ko can already read temperature > sensors and fan speed, would it be feasable to teach it to control > fan speed as well? Is anyone working on it already? Or can someone > outline the steps that have to be taken so I can take a look and > see if I can do it myself? > > thanks, t. I don't know if somebody is working on it, but it shouldn't be too hard to add it to acpi_ibm. Just parse the relevant bits from the linux patch and add a new sysctl method for fan speed in the acpi_ibm_sysctl_set() function in the file sys/dev/acpi_support/acpi_ibm.c I did this a while ago for but for fan enable/disable, but that is really useless because the only thing you can accomplish with the fan off is a fried laptop (although, it will be quiet :)). It's probably quite dangerous to mess with the fan speed too, because even if the fan is running at low speed you risk overheating your system. Fredrik Lindberg