mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Soewono Effendi <seffendi@web.de>
To: linux-kernel@vger.kernel.org
Subject: [off topic - RFC] APM suspend + hdparam
Date: Mon, 17 Jun 2002 10:24:03 +0200	[thread overview]
Message-ID: <200206170824.g5H8O3X25927@mailgate5.cinetic.de> (raw)

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


             reply	other threads:[~2002-06-17  8:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17  8:24 Soewono Effendi [this message]
2002-06-17  8:33 ` Russell King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200206170824.g5H8O3X25927@mailgate5.cinetic.de \
    --to=seffendi@web.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®