Re: [linux-pm] intermittent suspend problem again

From: Stefan Seyfried
Date: Wed Dec 02 2009 - 07:27:40 EST


On Wed, 02 Dec 2009 02:58:41 +0100
Ferenc Wagner <wferi@xxxxxxx> wrote:

> Btw. s2disk has a strange effect of simulating enters during suspend.
> It looks like this in a terminal:
>
> $ sudo s2disk

...

>
>
>
>
>
>
> $
> $
> $

...

> $
> $
> $
> $
> $ <cursor is here>
>
> Can you also see this?

That's an old "bug" in X (but fixed for me since quite some time) IIUC:
you type s2disk <enter>, s2disk switches to console 1, while enter is
still pressed.
=> X does not know that enter got "released" and will only notice after
resume finished. The X internal key autorepeat does the rest.

Does not happen for me since at least one year, I'd guess, but I am
always running the latest and greatest bleeding edge of everything ;)

HTH,

seife
--
Stefan Seyfried

"Any ideas, John?"
"Well, surrounding them's out."
--
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/