2003-09-16 13:34:13

by Behdad Esfahbod

[permalink] [raw]
Subject: standby and suspend with acpi in 2.6.0-test5

[please keep me CCed]
Hi again,

With 2.6.0-test5, reading the docs, I found that to standby of
suspend, I should try writing to /sys/power/state, but doing so
makes it to try load apm module as it opens /dev/apmbios. So the
questions are:

* Is swsusp patches merged with the kernel?
* How should I suspend/standby with acpi enabled?
* Where is /proc/acpi/sleep gone? It used to kinda work.

behdad


2003-09-16 16:04:08

by Patrick Mochel

[permalink] [raw]
Subject: Re: standby and suspend with acpi in 2.6.0-test5


> With 2.6.0-test5, reading the docs, I found that to standby of
> suspend, I should try writing to /sys/power/state, but doing so
> makes it to try load apm module as it opens /dev/apmbios. So the
> questions are:
>
> * Is swsusp patches merged with the kernel?
> * How should I suspend/standby with acpi enabled?
> * Where is /proc/acpi/sleep gone? It used to kinda work.

Please try -test5-mm2, it has the latest updates to all the PM code.

Thanks,


Pat

2003-09-22 06:13:39

by Behdad Esfahbod

[permalink] [raw]
Subject: Re: standby and suspend with acpi in 2.6.0-test5

On Tue, 16 Sep 2003, Patrick Mochel wrote:
> > With 2.6.0-test5, reading the docs, I found that to standby of
> > suspend, I should try writing to /sys/power/state, but doing so
> > makes it to try load apm module as it opens /dev/apmbios. So the
> > questions are:
> >
> > * Is swsusp patches merged with the kernel?
> > * How should I suspend/standby with acpi enabled?
> > * Where is /proc/acpi/sleep gone? It used to kinda work.
>
> Please try -test5-mm2, it has the latest updates to all the PM code.

Didn't helped. I have /proc/acpi/sleep back. echo 3 >
/proc/acpi/sleep seems to work but I cannot wake it up! So I
remove the battery and AC adaptor to get it off. echo 4 and 5 do
nothing. The /sys/power/state is not doing anything anymore.

> Thanks,
> Pat


Thanks to you,
behdad