Re: suspend, power save or saving, hibernate mode in Indpiron 5160
- To: email@example.com
- Subject: Re: suspend, power save or saving, hibernate mode in Indpiron 5160
- From: Koen Vermeer <firstname.lastname@example.org>
- Date: Tue, 16 Nov 2004 11:38:15 +0100
- Message-id: <1100601495.3945.18.camel@zibal>
- In-reply-to: <Pine.LNX.4.61.0411161122370.2627@wr-linux02>
- References: <email@example.com> <20041022064606.GA5187@dementia.proulx.com> <Pine.LNX.4.61.0411161122370.2627@wr-linux02>
Op di 16-11-2004, om 11:26 schreef Andreas Tille:
> > Not unless you had an event script to activate suspend upon the lid
> > closing event. See the 'acpid' for one way to handle this.
> Is there any hint how to exactly do this with SoftwareSuspend2?
What he probably means is that you need acpid to receive the acpi events
and call a script. This script would then call the hibernate script
(maybe you can just have the acpi daemon call the hibernate script),
which in turn calls the swsusp2 code.
> I only found the hibernate script which suspends to disk which is
> a nice function for the power button IMHO. But I'm seeking for the
> equivalent for the old APM function which just switched of my monitor
> and turned of the harddisk once I closed the lid. Thus it was
> easy to move around with the laptop and very quickly restore your
> session by just pressing the power button. This "sleeping" modus
> was a very good thing and I wonder how I can get this back with ACPI?
Sounds kind of strange to me, but that's probably because you left some
stuff out of the description of this 'sleeping' modus. If the computer
is still running, there is no way you can guarantee that the harddisk
stays off all the time. What if a program decides to load some file? If
you mean something like suspend-to-ram (which means that the computer
isn't running anymore), then that should be possible with ACPI as well.
However, I didn't get it to function on my machine, but you might have
more luck. Try Google and suspend-to-ram.