Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2012 22:03:37 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= <nm.knife@gmail.com>
Cc:        matt <sendtomatt@gmail.com>, freebsd-acpi@freebsd.org
Subject:   Re: x220 notes
Message-ID:  <20120403210619.Q2060@sola.nimnet.asn.au>
In-Reply-To: <CAHi1Jsf9QhA%2BrcMSEt7egHsYtAv7j47jx-XN7_5CzdFfv4N9WQ@mail.gmail.com>
References:  <4E836C06.9070405@gmail.com> <4F56A2DA.2070703@gmail.com> <CAHi1JsdaM8G=27ip97a5ERFTcHZ=zJkb9sD0PniBCLc6a-4WWw@mail.gmail.com> <201204011214.38801.erichfreebsdlist@ovitrap.com> <CAN6yY1vtrWC--XRM_LB%2Bu-ACr0Xb6t3YotY30799T7qdpWJefw@mail.gmail.com> <4F789DD7.90604@mehnert.org> <CAN6yY1v=gJHsuGQ6i08P6RC4tP_CnaVt1MWQqy2=Uy0tax0cfg@mail.gmail.com> <CAHi1JscAcxU3ksGPO0jAM3acQ1rzQkn_KfOy7L_LcVRsSRFc2w@mail.gmail.com> <CAN6yY1vk-%2B5fnpVe62=39o7XNPrXfdcm%2Bi=C1q4FNa5XbQXRug@mail.gmail.com> <4F7A46DB.4050701@gmail.com> <CAHi1JseURymtf1ZoSNW00DF6QMkkasy1V%2BoXvF0A6-KMUqQ67w@mail.gmail.com> <4F7A8A99.4040603@gmail.com> <CAHi1Jsf9QhA%2BrcMSEt7egHsYtAv7j47jx-XN7_5CzdFfv4N9WQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120403210619.Q2060>