Re: Thoughts wanted on merging Software Suspend enhancements

Nigel Cunningham
2003-07-15T19:07:38Z

I already activate swsusp using either the sleep button (
/proc/acpi/events -> acpid -> script) or the gkrellm acpi addin that
monitors battery levels. I'm sure acpid could do the lid switch too.

That's for initiating the suspend, of course. As I said, I'm not about
to bloat swsusp further by adding code to test for the switches during
suspend.

Regards,

Nigel

On Wed, 2003-07-16 at 05:27, Jamie Lokier wrote:
> Kent Borg wrote:
> > On Sun, Jul 13, 2003 at 02:35:17PM +0100, Jamie Lokier wrote:
> > > I'd be inclined to initiate suspend-to-disk when the laptop's lid is
> > > closed
> >
> > Please don't suspend my notebook when the lid is closed.
>
> keep reading...
>
> > > or when I press the suspend button
> ~~
>
> I.e. switch between those two modes according to how the laptop is
> being used at the time. When travelling I use the lid switch to
> suspend (well I used to before I dropped it and broke the lid switch
> :) - at home I use the button.
>
> I'd hope that suspend-to-disk could be activated in the same way
> (whatever way it is) that suspend-to-ram is now.
>
> - Jamie
--
Nigel Cunningham
495 St Georges Road South, Hastings 4201, New Zealand

You see, at just the right time, when we were still powerless,
Christ died for the ungodly.
-- Romans 5:6, NIV.