* [off topic - RFC] APM suspend + hdparam
@ 2002-06-17 8:24 Soewono Effendi
2002-06-17 8:33 ` Russell King
0 siblings, 1 reply; 2+ messages in thread
From: Soewono Effendi @ 2002-06-17 8:24 UTC (permalink / raw)
To: linux-kernel
Hello there,
I've been playing around with hdparam.
With one of these parameter, one can enjoy the __silence__ stolen by his/her
beloved computer :(
-y put IDE drive in standby mode
-Y put IDE drive to sleep
e.g.
hdparm -Y /dev/hda
(assume you have only one hard disk, and your linux is there)
But...
As soon as the kernel accesses the hard disk (bflush? kswapd? etc.), gone is
the __silence__ :(
So I tried this:
apm -s & hdparm -Y /dev/hda &
sometime it works, sometime not. I know that "software suspend" is on the
way, but till denn, this might be easier to "fix".
Idea:
One can __FREEZE__ the kernel, put IDE drive to sleep and then __sus
pend__ the system, just like "apm -s" does.
If the system wakes up again, waits till IDE is waken up (or maybe le
ts the kernel wakes it up), and just continue to work as normal, stealin
g your __silence__ again.
Requirement:
APM must work ;).
ACPI never tested before.
Purpose:
To have ONE BIG BUTTON(TM) that give you a break!
and just like magic, on an instant your are back on work again!
If you lose your power during this suspend,
then may the penguin be with you ;)
I would like to call this feature HOT SUSPEND(TM) :)
Best regards,
Soewono Effendi
DISCLAIMER:
I take no responsibilities in any case of data and/or hardware lost
if you try these experiments :)
-----------------
SEffendi(a)web.de
=================
______________________________________________________________________________
FreeMail in der Premiumversion! Mit mehr Speicher, mehr Leistung, mehr
Erlebnis und mehr Pramie. Jetzt unter http://club.web.de/?mc=021105
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [off topic - RFC] APM suspend + hdparam
2002-06-17 8:24 [off topic - RFC] APM suspend + hdparam Soewono Effendi
@ 2002-06-17 8:33 ` Russell King
0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2002-06-17 8:33 UTC (permalink / raw)
To: Soewono Effendi; +Cc: linux-kernel
On Mon, Jun 17, 2002 at 10:24:03AM +0200, Soewono Effendi wrote:
> So I tried this:
> apm -s & hdparm -Y /dev/hda &
If your APM BIOS doesn't spin down the disks when entering standby/suspend,
your APM BIOS implementation is broken (or if its a desktop machine, maybe
you didn't configure the APM BIOS settings correctly?)
You might try: hdparm -S 12 /dev/hda && apm -s; hdparm -S 0 /dev/hda
This should put a 1 minute inactivity timeout on the drive, then suspend
the machine. 1 minute later, the drive should spin down. When you resume,
the following hdparm will turn off the inactivity timeout.
> I would like to call this feature HOT SUSPEND(TM) :)
No coding required. No extra commands required with a non-broken APM bios.
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-17 8:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-17 8:24 [off topic - RFC] APM suspend + hdparam Soewono Effendi
2002-06-17 8:33 ` Russell King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox