From owner-freebsd-acpi@FreeBSD.ORG Tue Apr 3 12:04:13 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 045FE106566C for ; Tue, 3 Apr 2012 12:04:13 +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 5D30E8FC24 for ; Tue, 3 Apr 2012 12:04:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q33C3bHk038401; Tue, 3 Apr 2012 22:03:37 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 3 Apr 2012 22:03:37 +1000 (EST) From: Ian Smith To: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= In-Reply-To: Message-ID: <20120403210619.Q2060@sola.nimnet.asn.au> References: <4E836C06.9070405@gmail.com> <4F56A2DA.2070703@gmail.com> <201204011214.38801.erichfreebsdlist@ovitrap.com> <4F789DD7.90604@mehnert.org> <4F7A46DB.4050701@gmail.com> <4F7A8A99.4040603@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: matt , freebsd-acpi@freebsd.org Subject: Re: x220 notes 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: Tue, 03 Apr 2012 12:04:13 -0000 On Mon, 2 Apr 2012, ??????? ???????? wrote: [Matt wrote:] > > Only the fan speed value shows as 0xFFFF or something, however it can > > still be set 1-7 or back to automatic as usual Plus 0 for off, I guess? > Sorry for asking, but I just can't find this. What is the command for > changing the fan speed, especially to auto? Snippets from the (overdone) fan control script [0] running on my T23: sysctl dev.acpi_ibm.0.fan=0 >/dev/null # turn auto fan control OFF sysctl dev.acpi_ibm.0.fan_level=$level >/dev/null echo "`sysctl -n dev.acpi_ibm.0.fan_speed`rpm" >>$log sysctl dev.acpi_ibm.0.fan=1 >/dev/null # auto fan ON On this, the auto fan would let temperatures rise to 65C or more, then turn the fan full on until below about 45C, then off. Using the half speed as well keeps idle temperature steady mostly between 44-48C while being virtually silent, and is just as responsive to load/heat peaks. The T23 having only off, half and full speeds simplifies code though. cheers, Ian [0] http://smithi.id.au/temp_t23