[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [FC2] How do I suspend?

I have a partial answer (to myself).

On Fri, May 21, 2004 at 01:54:19PM +1000, Norman Gaywood wrote:
> I have acpid running. I can see that hitting the suspend button on my
> laptop triggers an event:
> [Fri May 21 13:34:44 2004] received event "button/sleep SBTN 00000080 00000001"
> [Fri May 21 13:34:44 2004] completed event "button/sleep SBTN 00000080 00000002"

> I can also see I need to put something in /etc/acpi/events/ to tell the
> system to suspend on the event.
> What command should I use to suspend?

You can tell what sleep options your ACPI BIOS supports with: "cat
/proc/acpi/sleep". My Dell C600 laptop says:

S0 S1 S3 S4 S4bios S5

An S3 is a software suspend I believe. This is what I think I had going
before in RH8.0/RH9/FC1 when I hit the "suspend button".

In the 2.6 kernel with ACPI, you can start a suspend by doing:

echo 3 > /proc/acpi/sleep

But that is not the whole story. X on my system does not handle this
properly. Perhaps I need to do some sort of preparation before the echo 3?

I'm beginning to get the feeling that suspend has not quite been finished
in the 2.6 kernel.

I wonder why (software) suspend worked reasonably well for me in the
2.4 kernel of RH8.0/9 and FC1?

Norman Gaywood, Systems Administrator
School of Mathematics, Statistics and Computer Science
University of New England, Armidale, NSW 2351, Australia

norm turing une edu au            Phone: +61 (0)2 6773 2412
http://turing.une.edu.au/~norm    Fax:   +61 (0)2 6773 3312

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]