public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Bernard Blackham <bernard-4vSAtV5O1nc0n/F98K4Iww@public.gmane.org>
To: Alexander Sirotkin <demiurg-l0cyMroinI0@public.gmane.org>
Cc: ACPI List
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	Nathan Bryant <nbryant-p32f3XyCuykqcZcGjlUOXw@public.gmane.org>
Subject: Re: current ACPI status in 2.6.7 kernel
Date: Wed, 11 Aug 2004 21:56:04 +0800	[thread overview]
Message-ID: <20040811135604.GL8124@blackham.com.au> (raw)
In-Reply-To: <411A1CC5.5030401-p32f3XyCuykqcZcGjlUOXw@public.gmane.org>

On Wed, Aug 11, 2004 at 09:19:01AM -0400, Nathan Bryant wrote:
> > know how to do this. Is there an utility to put PC into
> > sleep/suspend ? I know I can switch to various S modes using
> > /proc entry, but what about all the peripherals and user mode
> > apps ?
> > I would venture that there has to be some kind of subsystem in
> > user mode to take care of all this. I probably did not phrase my
> > question right, but when I Asked if ACPI suspend/sleep status is
> > stable enough I was actually referring to the whole subsystem,
> > not just kernel support.
> 
> It's not that big of a deal for userspace, you just need scripts to 
> unload any problem device drives before suspend and reload them after 
> resume. You would also need to kill and restart any programs that will 
> be broken by those devices going away. APM already has config files that 
> specify a lot of this which could probably be adapted to ACPI. But the 
> ultimate goal is to get devices that don't even need to be unloaded, 
> since we now have proper suspend/resume hooks. ;)

For Software Suspend 2, I've written a package called hibernate
which can be used to activate Software Suspend 2, or alternately
utilise the /sys/power/state interface. (It doesn't manipulate
/proc/acpi/sleep, as I was under an impression it was getting
deprecated - on the other hand if it isn't, writing a plugin to do
so isn't hard).

http://developer.berlios.de/project/showfiles.php?group_id=1412
under "Current Scripts".

> I think there is a "pmsuspend" program floating around out there, don't 
> know how well it has been integrated with existing suspend/resume 
> scripts though.

Seems a Mandrake thing, but covers much the same ground as
hibernate. hibernate tries to cover most distributions.

> Oh, and there's that annoying little problem where acpid sees the button 
> press that I have to use to resume, as a shutdown event...

Does "rmmod button" just before suspending help?

Bernard.

-- 
 Bernard Blackham <bernard at blackham dot com dot au>


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

  parent reply	other threads:[~2004-08-11 13:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-10  8:05 current ACPI status in 2.6.7 kernel Alexander Sirotkin
     [not found] ` <411881B1.9000903-l0cyMroinI0@public.gmane.org>
2004-08-10 10:02   ` Nigel Cunningham
     [not found]     ` <1092132146.2666.3.camel-AdgCB+f5QAxwBzq2CxEN2SkBHpOjBR89@public.gmane.org>
2004-08-10 13:56       ` Alexander Sirotkin
     [not found]         ` <4118D40D.5030404-l0cyMroinI0@public.gmane.org>
2004-08-10 16:34           ` Nathan Bryant
     [not found]             ` <4118F918.7070909-p32f3XyCuykqcZcGjlUOXw@public.gmane.org>
2004-08-10 17:13               ` Nathan Bryant
     [not found]                 ` <4119024B.5060602-p32f3XyCuykqcZcGjlUOXw@public.gmane.org>
2004-08-11  7:48                   ` Alexander Sirotkin
     [not found]                     ` <4119CF6A.8020807-l0cyMroinI0@public.gmane.org>
2004-08-11 13:19                       ` Nathan Bryant
     [not found]                         ` <411A1CC5.5030401-p32f3XyCuykqcZcGjlUOXw@public.gmane.org>
2004-08-11 13:56                           ` Bernard Blackham [this message]
2004-08-11 14:10                           ` Herman Sheremetyev
2004-08-11 14:35               ` Nathan Bryant
     [not found]                 ` <411A2EA9.6000000-p32f3XyCuykqcZcGjlUOXw@public.gmane.org>
2004-08-12  3:48                   ` Len Brown
2004-08-12  7:48                     ` Karol Kozimor
2004-08-12 20:34                     ` Ow Mun Heng

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=20040811135604.GL8124@blackham.com.au \
    --to=bernard-4vsatv5o1nc0n/f98k4iww@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=demiurg-l0cyMroinI0@public.gmane.org \
    --cc=nbryant-p32f3XyCuykqcZcGjlUOXw@public.gmane.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