auto-standby for HDs under ACPI

Peter L. Peres plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Mon Nov 15 03:54:03 UTC 2004


use hdparm, see manual for options.

Peter

On Sun, 14 Nov 2004, Jing Su wrote:

> Hello All,
>
> I recently got a new computer, and with it this new fangled ACPI interface
> instead of the old fashioned APM.  What I can't figure out is how to get
> my HDs to spin down and go into standby after a set amount of inactivity.
> With the old APM interface, I told the BIOS to power-down the device after
> 20 minutes of non-activity.  But there is no such option in this new BIOS.
>
> I've got ACPI compiled into the kernel (2.6.9) under Gentoo.  But I can't
> figure out how to detect/issue HD standby.  Maybe I'm brain-dead, but I've
> googgled for ACPI, and I've only found examples on making the system as a
> whole go into standby or sleep.  Nothing specific for HD standby.
>
> I know that I can manually make the HDs go into standby by doing (as root)
> hdparm -y /dev/hdb
> But I want the system to do this automatically for me after 20 (or
> whatever) minutes of inactivity.
>
> Any help appreciated!
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list