<?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>NostraDistro &#187; Spin Up</title>
	<atom:link href="http://nostradistro.com/tag/spin-up/feed/" rel="self" type="application/rss+xml" />
	<link>http://nostradistro.com</link>
	<description>Foreseeing Your Linux Needs...</description>
	<lastBuildDate>Sun, 03 Apr 2011 03:10:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Gateway MT6451 Power Management &#8211; Disc Spin Up/Down Problem</title>
		<link>http://nostradistro.com/2008/05/29/gateway-mt6451-power-management-disc-spin-updown-problem/</link>
		<comments>http://nostradistro.com/2008/05/29/gateway-mt6451-power-management-disc-spin-updown-problem/#comments</comments>
		<pubDate>Fri, 30 May 2008 01:47:01 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Driver Issues]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Gateway]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[Heron]]></category>
		<category><![CDATA[MT6451]]></category>
		<category><![CDATA[Power Management]]></category>
		<category><![CDATA[Spin Down]]></category>
		<category><![CDATA[Spin Up]]></category>

		<guid isPermaLink="false">http://nostradistro.com/?p=7</guid>
		<description><![CDATA[Well, since my IBM Thinkpad decided to explode and die on me a few weeks ago, I obtained my fiance&#8217;s almost new but broken Gateway.Â  The main problem with this computer was that the computer could not charge or operate on AC power.Â  I fixed the issue by simply taking the computer completely apart and [...]]]></description>
			<content:encoded><![CDATA[<p>Well, since my IBM Thinkpad decided to explode and die on me a few weeks ago, I obtained my fiance&#8217;s almost new but broken Gateway.Â  The main problem with this computer was that the computer could not charge or operate on AC power.Â  I fixed the issue by simply taking the computer completely apart and re-soldering the power port on the motherboard.Â  After doing so, the computer now takes a charge and works off of AC.Â  This was not the issue of the this topic though. (However, if you would like any help or guidance on performing this yourelf, please feel free to contact me.)Â  The issue after repairing the computer was a slight clicking noise 2-3 times per minute coming from the inside of the computer.Â  The only issue I could come up with would be the power management for laptops being set too aggressively and spinning the hard discs up and down too often.Â  This can cause an extremely short life for your hard drive and in my case, higher than normal temperatures in your laptop.Â  This fix is for Hardy Heron with hda.Â  Substitute sda if you had a SATA drive.Â  Here&#8217;s the fix:</p>
<p>Create a configuration file to manage hdd power management.Â  In Terminal type:</p>
<blockquote><p>sudo gedit /etc/pm/config.d/disk</p></blockquote>
<p>Within this file, create the following:</p>
<blockquote><p># Configure the hdd power management settings to ensure<br />
# long disk life and acceptable power management.<br />
#<br />
# Space delimited list of disk devices this affects.<br />
#<br />
DEVICES_DISK_PM_NAMES=&#8221;/dev/hda&#8221;<br />
#<br />
#<br />
# Power management modes<br />
#<br />
# Powersave mode off<br />
# Disable APM and spin-down &#8211; Not completely disabled<br />
#<br />
DEVICES_DISK_PM_POWERSAVE_OFF=&#8221;hdparm -q -B 254 -q -S 242&#8243;<br />
#<br />
# Powersave mode on<br />
# Enable APM to conservative 200 and set spin-down for 21 minutes<br />
#<br />
DEVICES_DISK_PM_POWERSAVE_ON=&#8221;hdparm -q -B 200 -q -S 252&#8243;</p></blockquote>
<p>Now create the Power Management script.Â  In terminal type:</p>
<p>sudo gedit /etc/pm/power.d/disk<strong><br />
</strong></p>
<p>Within this file, create the following:</p>
<blockquote><p>#!/bin/bash<br />
. /usr/lib/pm-utils/functions<br />
. /etc/pm/config.d/disk</p>
<p>if test -z &#8220;${DEVICES_DISK_PM_NAMES}&#8221;; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit 1<br />
fi</p>
<p>case &#8220;$1&#8243; in<br />
true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#8220;**enabled pm for harddisk&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for DISK_NAME in `echo ${DEVICES_DISK_PM_NAMES}`; do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${DEVICES_DISK_PM_POWERSAVE_ON} ${DISK_NAME}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;done ;;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#8220;**disabled pm for harddisk&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for DISK_NAME in `echo ${DEVICES_DISK_PM_NAMES}`; do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${DEVICES_DISK_PM_POWERSAVE_OFF} ${DISK_NAME}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;done ;;<br />
esac</p></blockquote>
<p>And now make this script executable.Â  In terminal, type:</p>
<blockquote><p>Sudo chmod +x /etc/pm/power.d/disc</p></blockquote>
<p>Voila!Â  That is it.</p>
]]></content:encoded>
			<wfw:commentRss>http://nostradistro.com/2008/05/29/gateway-mt6451-power-management-disc-spin-updown-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

