sumofungus

mainly linux, some windows…

stopped clicking hp laptop on ubuntu linux 9.10

leave a comment »

Managed to re-do the fix for the clicking hard disk in my HP latitude laptop under ubuntu 9.10.

Used the information from here;

http://www.thinkwiki.org/wiki/Problem_with_hard_drive_clicking#Wake-up_settings

All I needed to do to stop the power saving changing back to 128 when hiberating (check using sudo hdparm -B /dev/sda) was to create the script “/etc/pm/sleep.d/50_hdparm-pm“;

#!/bin/sh
if [ -n "$1" ] && ([ "$1" = "resume" ] || [ "$1" = "thaw" ]); then
        hdparm -B 255 /dev/your-hard-drive > /dev/null
fi

Advertisements

Written by Steve

September 5, 2010 at 2:22 AM

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: