Re: Suspend with 2.6.0-test7-mm1

From: Måns Rullgård
Date: Mon Oct 20 2003 - 04:13:46 EST


David Härdeman <david@xxxxxxxx> writes:

> I've been playing with the suspend features of 2.6.0-test7-mm1 and I
> can't get it to work. When I do "echo -n standby > /sys/power/state",
> the screen flickers briefly and then the system is back to normal. In
> the logs I see the following message:
>
> Now, I wonder, what is causing the kernel to exit from the suspend
> immediately? Is it error in suspend code, drivers that doesn't support
> suspend or some program that is interrupting the sleep? How do I debug
> this further?

I've seen this, too. Try "sleep 1; echo -n standby > /sys/power/state".
I theory I thought of, is that the system suspends before you have
time to release the enter key, and the key release triggers a wakeup.
Does this seem reasonable to those more knowledgeable?

--
Måns Rullgård
mru@xxxxxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/