Rockbox mail archiveSubject: Re: keep HDD spinning
Re: keep HDD spinning
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Wed, 26 Jan 2005 20:23:48 +0100
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
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.
Received on 2005-01-26