Repeated keystrokes after suspend

Philipp Weis pweis at
Mon Oct 19 07:54:21 PDT 2009

On 2009-10-19 14:40, Peter Hutterer <peter.hutterer at> wrote:
> On Sun, Oct 18, 2009 at 10:48:22PM -0400, Philipp Weis wrote:
> > after my laptop wakes up from suspend-to-ram, it's keyboard is not
> > usable since all keystrokes are repeated at least three times,
> > sometimes four times, sometimes only twice. I can still switch to a
> > console, and after restarting the xserver from there everything is
> > fine again.
> > 
> > I attached my xserver log, and the output of xev after the suspend
> > from typing "abc". There are MappingNotify events that don't appear
> > there usually, and some of the key presses show as "^A" instead of
> > "a".
> > 
> > This is on a Dell Latitude D430, running Debian unstable with
> > xserver-xorg 1:7.4+4 and xserver-xorg-core 2:1.6.5-1.
> > 
> > Any ideas what this could be?
> AutoEnableDevices means the server doesn't enable devices when they're added
> to the server. If you VT switch or suspend, all devices are disabled and
> upon resume enabled - even those that were disabled before*.
> as a result, you get  the xorg.conf keyboard enabled and the automatically
> added keyboards. typing on one of the keyboards results in an event on both
> X server devices, with key repeat that gives you one extra repeat for the
> duplicate event.

Great, thanks a lot. Enabling AutoEnableDevices solves the problem.


> * yeah, not perfect. but this is such a narrow use-case that no-one has
>   really bothered to actually test this much.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <>

More information about the xorg mailing list