<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Libre Things &#187; fan</title>
	<atom:link href="http://positon.org/tag/fan/feed" rel="self" type="application/rss+xml" />
	<link>http://positon.org</link>
	<description></description>
	<lastBuildDate>Tue, 23 Feb 2016 20:01:11 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.7.1</generator>
	<item>
		<title>For a quiet Thinkpad</title>
		<link>http://positon.org/for-a-quiet-thinkpad</link>
		<comments>http://positon.org/for-a-quiet-thinkpad#comments</comments>
		<pubDate>Thu, 03 Dec 2009 21:42:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fan]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Thinkpad]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=70</guid>
		<description><![CDATA[Some Thinkpads, like the T43, have several heat and fan problems. On a default Linux installation, my T43 processor is at about 46°C, and the GPU at about 49°C, for an external temperature of 19°C. The BIOS fan management algorithm is very bad. After a cold boot, the fan starts running non stop after a [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Some Thinkpads, like the T43, have several heat and fan problems.</p>
<p>On a default Linux installation, my T43 processor is at about 46°C, and the GPU at about 49°C, for an external temperature of 19°C.</p>
<p>The BIOS fan management algorithm is very bad. After a cold boot, the fan starts running non stop after a few minutes of use.</p>
<p>Fortunately, it is possible to use programs to take control of the fan in place of the BIOS.</p>
<p>To start, the thinkpad_acpi module must allows us to change the fan speed:</p>
<pre>
# vi /etc/modprobe.d/thinkpad.conf
options thinkpad_acpi fan_control=1 experimental=1
</pre>
<p>Your choice to reload the module or reboot your system.</p>
<pre>
# rmmod thinkpad_acpi
# modprobe thinkpad_acpi
</pre>
<p>Now you can take control of your fan:</p>
<pre>
# cat /proc/acpi/ibm/fan
# echo level 0 &gt; /proc/acpi/ibm/fan
# echo level 7 &gt; /proc/acpi/ibm/fan # full speed !!
# echo level auto &gt; /proc/acpi/ibm/fan # back to normal, BIOS management
</pre>
<p>Now go <a href="http://www.thinkwiki.org/wiki/ACPI_fan_control_script#Comprehensive_bash_script_with_fine_control_over_fan_speed">here</a> and copy the content of the script in <code>/usr/local/bin/tp-fancontrol</code>.</p>
<pre>
# mv index.php /usr/local/bin/tp-fancontrol
# chmod a+x /usr/local/bin/tp-fancontrol
</pre>
<p>Then, test the script:</p>
<pre>
# tp-fancontrol
# tp-fancontrol -s 5 # for a fan that starts later
</pre>
<p>In order to start the script at boot, we also fetch the <code>tp-fancontrol.init.debian</code> script on the same page. We add it at the system boot.</p>
<pre>
# mv index.php /etc/init.d/tp-fancontrol
# chmod a+x /etc/init.d/tp-fancontrol
# vi /etc/init.d/tp-fancontrol
DAEMON=/usr/sbin/fancontrol
# /etc/init.d/tp-fancontrol start
# /etc/init.d/tp-fancontrol stop
# update-rc.d tp-fancontrol defaults # note: only adding &quot;start&quot; scripts is also possible
</pre>
<p>The final touch is to edit the script to change the minimum fan triggering tresholds, so that the fan starts later when the system begins to heat:</p>
<pre>
# vi /usr/local/bin/tp-fancontrol
MIN_THRESH_SHIFT=5
INTERVAL=10 # you can also increase the speed update interval
</pre>
<p>A 5 seconds increase allows the fan to become quiet again when the computer activity is low.</p>
<p><ins>References</ins>:</p>
<ul>
<li><a href="http://www.thinkwiki.org/wiki/How_to_control_fan_speed" title="http://www.thinkwiki.org/wiki/How_to_control_fan_speed">http://www.thinkwiki.org/wiki/How_to_control_fan_speed</a></li>
<li><a href="http://www.thinkwiki.org/wiki/ACPI_fan_control_script" title="http://www.thinkwiki.org/wiki/ACPI_fan_control_script">http://www.thinkwiki.org/wiki/ACPI_fan_control_script</a></li>
<li><a href="http://www.thinkwiki.org/wiki/Problem_with_fan_noise" title="http://www.thinkwiki.org/wiki/Problem_with_fan_noise">http://www.thinkwiki.org/wiki/Problem_with_fan_noise</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/for-a-quiet-thinkpad/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
