<?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>hartvig.de &#187; eee</title>
	<atom:link href="http://hartvig.de/tag/eee/feed/" rel="self" type="application/rss+xml" />
	<link>http://hartvig.de</link>
	<description>Personal homepage of Kaare Hartvig Jensen</description>
	<lastBuildDate>Thu, 17 May 2012 13:22:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Howto: Reduce fan noise level on the eee pc 901 / 1000 / 1000H</title>
		<link>http://hartvig.de/2008/howto-reduce-fan-noise-level-on-the-eee-pc-901-1000-1000h/</link>
		<comments>http://hartvig.de/2008/howto-reduce-fan-noise-level-on-the-eee-pc-901-1000-1000h/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 18:17:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[eee]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[xubuntu]]></category>

		<guid isPermaLink="false">http://hartvig.de/?p=159</guid>
		<description><![CDATA[Owners of the Asus eee pc 901 may have noticed that it makes quite alot of noise when the fan is on. In Ubuntu / Xubuntu / Kubuntu there are ways to control the fan that (almost) eliminates this. Read  &#8230; <a href="http://hartvig.de/2008/howto-reduce-fan-noise-level-on-the-eee-pc-901-1000-1000h/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Owners of the Asus eee pc 901 may have noticed that it makes quite alot of noise when the fan is on. In Ubuntu / Xubuntu / Kubuntu there are ways to control the fan that (almost) eliminates this. Read on for more.</p>
<p><font color=red>Update:</font> version two of eeefan has been released. Check it out <a href="http://hartvig.de/2008/howto-reduce-fan-noise-level-on-the-eee-pc-900-1000-1000h-part-ii/"> here </a></p>
<div class="wp-caption aligncenter" style="width: 426px"><img src="http://www.hartvig.de/files/images/eeefancontrol.png" alt="Every blog post should have a nice image. This shows an eee pc and a fan." width="416" height="256" /><p class="wp-caption-text">An old friend once told me, that every blog post should have a nice image. This one shows an eee pc and a fan.</p></div>
<p><span id="more-159"></span><br />
The first thing you need to do is to install Adams custom kernel for the eeepc. He has a nice guide on how to do that <a href="http://array.org/ubuntu/setup.html">here</a>. Then,  we need to do is to load the Asus drivers and turn on manual fan contro. Issue the following commands in a terminall
<pre class="prettyprint">sudo modprobe asus_eee
sudo echo 1 > /proc/eee/fan_manual</pre>
<p>To set the fan to run at 100% and 0% respectively run</p>
<pre class="prettyprint">sudo echo 100 > /proc/eee/fan_speed
sudo echo 0 > /proc/eee/fan_speed</pre>
<p>To automate the fan adjustment, I have written a small script (with the name <strong>eeefan</strong>) which can be seen below. You may copy-paste it, or download it <a href="http://www.hartvig.de/files/eeefan/eeefan">here</a>. I suggest that you put it in you ~/bin/ folder. Once you have done this, add the following line to the file /etc/crontab:</p>
<pre class="prettyprint">
*/1 * 	* * * 	root 	sh /home/username/bin/eeefan
</pre>
<p>Remember to replace username by your real user name. Also, add the line</p>
<pre class="prettyprint">
asus_eee
</pre>
<p>to the file /etc/modules. Now, the fan speed will be automatically adjusted every 10 seconds. Try to play around with the value of TEMP_CRITICAL to get the best results.</p>
<p><strong>eeefan Code:</strong></p>
<pre class="prettyprint">
#!/bin/sh
# K.H. Jensen 2008
# Released under the GPL
# eeefan - eee pc 901 / 1000 / 1000H fan control utility

temperature_reading=/proc/eee/temperature
fan_control=/proc/eee/fan_speed
fan_manual_switch=/proc/eee/fan_manual
# Set critical temperature where the fan starts
TEMP_CRITICAL=62
# Set fan speed above TEMP_CRITICAL
FAN_SPEED_CRITICAL=65
# Set fan speed below TEMP_CRITICAL
FAN_SPEED_SUBCRITICAL=25

eeefanupdate() {
    # Get temperature reading
    TEMP=$(cat $temperature_reading)
    # Compa re to the critical temperature
    if [ $TEMP -ge  $TEMP_CRITICAL ];then
        # High fan speed
        echo $FAN_SPEED_CRITICAL > $fan_control
    else
    # Low fan speed
        echo $FAN_SPEED_SUBCRITICAL > $fan_control
    fi
}

# cron jobs can only be executed once every minute,
# so we have to use the sleep command
# Turn on manual fan control
echo 1 > $fan_manual_switch
# Run eeefanu, then wait 10 seconds.
eeefanupdate
sleep 10
eeefanupdate
sleep 10
eeefanupdate
sleep 10
eeefanupdate
sleep 10
eeefanupdate
</pre>
]]></content:encoded>
			<wfw:commentRss>http://hartvig.de/2008/howto-reduce-fan-noise-level-on-the-eee-pc-901-1000-1000h/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

