Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: keep HDD spinning

Re: keep HDD spinning

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: 2005-01-26

Neon John wrote:
> There is a Linux utility called "hdparm" that, among other things, does
> just that. I use it on my system to keep all my drive spun down after 5
> minutes of idleness. You might grab a copy of the sources and see how
> they do it.

You can also look at how we do it in our ATA driver. You see, Rockbox
*disables* the automatic ATA standby feature in the powersave settings,
to have complete control of the spindown. This should be restored in the
USB handler.

Someone with a clue and some spare time could just make use of the
already existing code in the ATA driver to restore the powersave settings.

Linus
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on Wed Jan 26 20:24:30 2005


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa