It is currently Tue, 14 Jul 2020 00:36:05 GMT



 
Author Message
 HDD power states + kernel
hi,

i need to implement powering down of the Hard Disk in the linux kernel. i
understand that using "hdparm" i could set a timeout and power down the
HDD after a certain idle time.

but then HDD has 4 power states and instead of powering down to the lowest
power state, i would like to power down one state at a time based on
certain timeout values.  

i'm not sure where to start with this. would i have to play around with
"llrwblk.c"? and what would i have to do here in order to monitor disk
inactivity (idleness)? or should i look into APM stuff?

any help or pointers in this direction would be of great help.

thanks in advance,
mukesh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at   http://www.**-**.com/
Please read the FAQ at   http://www.**-**.com/



 Wed, 24 Nov 2004 07:01:54 GMT   
 HDD power states + kernel

The various standby modes of IDE disks are exported to userland via
ioctl()s (WIN_STANDBYNOW* and friends).  For a userland solution see
http://noflushd.sourceforge.net.  A first stab at a kernel
implementation was recently posted by Andrew Morton to linux-kernel
(June 4th, look out for "laptop mode").  Neither code makes use of
multiple power states, but you could start hacking from there.

Regards,

Daniel.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



 Thu, 25 Nov 2004 02:40:06 GMT   
 
   [ 2 post ] 

Similar Threads

1. Hazards of power management (HDD power down)

2. hdd-kernel-parameters & hdd-geometry

3. Solid State HDD

4. change power save state

5. Device model update (with power state transitions)

6. power down hdd

7. power off hdd / ide not 100% native


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software