dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: keep HDD spinning

Re: keep HDD spinning

From: <>
Date: Wed, 26 Jan 2005 17:04:48 -0000 (GMT)

hdparm can set spindown time and powersave mode. Unfortunately it is then
up to do the device (the drive itself) on how those values are interpreted
.. setting powersave mode does not necessarily guarantee that a drive
will spin down (because powersave modes are interpreted different by
different makes, and possibly models, of drive).

> Linus,
> 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.
> John
> On Wed, 26 Jan 2005 10:49:54 +0100, Linus Nielsen Feltzing <>
> wrote:
>>Ivo Burkart wrote:
>>> I don't really honw about IDE, but isn't there a register in the HDD,
>>> wich
>>> contains the spindown-time. Couldn't Rockbox set this timer in the
>>> USB-connect event just before going to the USB-Screen?
>>As a matter of fact we do. However, there are many ways of doing it, and
>>the current way isn't the best solution. Someone with some time to spare
>>should have a look at it.
>>My idea is to set the powersave mode instead of calling ATA_STANDBY.
> ---
> John De Armond
> Cleveland, Occupied TN
> _______________________________________________

Received on 2005-01-26

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy