From owner-cvs-all@FreeBSD.ORG Sat Jan 14 01:08:20 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C9BA16A41F; Sat, 14 Jan 2006 01:08:20 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46FA943D55; Sat, 14 Jan 2006 01:08:17 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from fwd28.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1ExZtt-0002c8-00; Sat, 14 Jan 2006 02:08:13 +0100 Received: from ramses.kicks-ass.net (VTeqDrZfQeXPm-8Jz0WFCDAmM1P1whne0I65lh2rQdjYTTlwKsVt41@[80.143.253.50]) by fwd28.sul.t-online.de with esmtp id 1ExZth-1CImLQ0; Sat, 14 Jan 2006 02:08:01 +0100 Received: from [192.168.1.100] (dslb-084-061-022-089.pools.arcor-ip.net [84.61.22.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ramses.kicks-ass.net (Postfix) with ESMTP id 2E9A9B833; Sat, 14 Jan 2006 02:07:59 +0100 (CET) Message-ID: <43C84EEF.6050009@brueffer.de> Date: Sat, 14 Jan 2006 02:07:59 +0100 From: Markus Brueffer User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Nate Lawson References: <20060114003924.9E25816A4D1@hub.freebsd.org> <43C84B36.4070000@root.org> In-Reply-To: <43C84B36.4070000@root.org> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ID: VTeqDrZfQeXPm-8Jz0WFCDAmM1P1whne0I65lh2rQdjYTTlwKsVt41@t-dialin.net X-TOI-MSGID: 2e6a7b9a-dbcb-4f0f-bcfb-17fea084ec9c Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Markus Brueffer , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/acpi_support acpi_ibm.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 01:08:20 -0000 Nate Lawson schrieb: > Markus Brueffer wrote: >> markus 2006-01-14 00:39:10 UTC >> >> FreeBSD src repository (ports committer) >> >> Modified files: >> sys/dev/acpi_support acpi_ibm.c Log: >> - 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 >> Documentation for the relevant embedded controller register was >> obtained from >> http://www.thinkwiki.org/wiki/Patch_for_controlling_fan_speed >> Tested on: R51 by Fabian Keil >> T41p by markus >> Requested by: many >> Approved by: philip >> MFC after: 1 week >> Revision Changes Path >> 1.10 +55 -3 src/sys/dev/acpi_support/acpi_ibm.c > > Thanks for adding support for this but it should be noted that this can > be very dangerous. If your userland app tries to control the fanspeed > and dies, your system could overheat. Hopefully, the BIOS will override > the user settings if the temp gets too high but that is a longshot when > mucking with things at this low level. That's why I didn't add support for it in the first place. The problem is that especially with the T43 series there seems to be a fan problem. If it reaches a certain threshold the fan is switched on, but never switched off regardless how cool the notebook gets. If the new documentation in acpi_ibm(4) isn't enough, I can add bigger warning signs: dev.acpi_ibm.0.fan Indicates whether the fan is in automatic (1) or manual (0) mode. Default is automatic mode. This sysctl should be used with extreme precaution, since disabling automatic fan control might overheat the ThinkPad and lead to permanent damage if the For obvious reasons I haven't tested if the BIOS overrides the user settings if the temp gets too high :) Markus