lkml.org 
[lkml]   [2000]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Notebook disk spindown
Date
Andre Hedrick writes:
> If apmd could issue a WIN_STANDBY value and execute WIN_STANDBYNOW1 then
> the drive would know the thresholds to attempt a "suspend". Where as an
> issue of WIN_SLEEPNOW1 would "hibernate" the drive.

Ok, so that deals with the hard drive, so the series of events
on hibernate is:

1. User hits hibernate key combination
2. Message gets sent from the APM bios to the kernel, and then to apmd
3. apmd tells the hard drive to hibernate
4. apmd tells the kernel that its all done
5. kernel acknowledges the request to the APM bios
6. APM bios then accesses the hard drive to write the memory contents
out to disk, spinning it up.

Therefore, making apmd send the "hibernate" command to the disk is
wrong.

Also, please note that I was talking about the whole machine, NOT just
the hard drive.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.055 / U:1.080 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site