AbtZ, the guide of ubuntu_demon doesn't work anymore on Hardy.
The "normal" way to set your hd power management setting is through /etc/hdparm.conf. Unfortunately, because of
https://bugs.launchpad.net/ubuntu/+s...rm/+bug/199094 , these settings will be lost upon suspend/resume. But, i have posted a patch there that should fix this issue.
You could test the patch, stop the klicking, help fix bug 199094 by:
1.
Code:
sudo gedit /etc/hdparm.conf
Add
Code:
/dev/sda {
apm = 254
}
to the end of the file.
2. Save
http://launchpadlibrarian.net/14195287/30hdparm to /tmp/30hdparm . Then,
Code:
sudo install /tmp/30hdparm /etc/pm/sleep.d/
(Note: /usr/lib/pm-utils/sleep.d/ also works, but /etc/ is the cleaner solution)
3. Suspend/Resume or reboot to make it take effect.
4. Report back here.
That's it. You can undo it by deleting /usr/lib/pm-utils/sleep.d/30hdparm . Don't forget that this makes your hd more vulnerable to bumps.
Bookmarks