phantom ESC key stream activity

Trevor Woerner twoerner at gmail.com
Thu Jan 5 17:19:55 UTC 2017


Hi X11 experts!

I'm running x11-xorg 7.6 on openSUSE 42.1. If I stop using my keyboard for a
couple minutes, I find the focused window suddenly receiving a rapid stream of
ESC key presses and releases until I press some key.

Here is a sample set of one pair of events captured in xev:

	KeyPress event, serial 37, synthetic NO, window 0x6e00001,
	    root 0x4b4, subw 0x0, time 181762344, (110,78), root:(2545,97),
	    state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
	    XLookupString gives 1 bytes: (1b) "
	mbLookupString gives 1 bytes: (1b) "
	FilterEvent returns: False

	KeyRelease event, serial 37, synthetic NO, window 0x6e00001,
	    root 0x4b4, subw 0x0, time 181762361, (110,78), root:(2545,97),
	    state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
	    XLookupString gives 1 bytes: (1b) "
	FilterEvent returns: False

This behaviour only started recently, I'm not sure exactly when it started,
but within the last week or two. However, on openSUSE 42.1 the xorg-x11-server
package has not been updated since May of 2016. Maybe I'm looking at the wrong
package?

My keyboard is a wireless Logitech K330 which I've had for almost 2 years and
it has been working just fine in that time (ignoring this recent issue). I
tried changing the batteries to fresh ones (verified with voltmeter) with no
change in behaviour. If, once the rapid stream starts, I switch my keyboard
OFF, the stream of characters continues unabated. If I then switch the
keyboard ON, the stream stops (like it does when a key is pressed). To me this
indicates it might not be the keyboard itself generating these events since
they continue even when the keyboard is powered off.

I made the effort to determine how long I have to wait between the last
keyboard activity and the start of the ESC stream. Having timed it just once,
the stream started after *exactly* 5 minutes of inactivity. My gut feeling
is that this time is the same (i.e. the stream seems to always start after
exactly 5 minutes of inactivity).

I realize this is probably something specific to my setup, but if I could get
some help diagnosing and/or debugging it that would be great. I haven't
overtly changed anything relating to my x11 setup, although maybe a recent
system update changed something. I can look at my system's update history to
know what changed and when if that helps.

Thanks!
	Trevor


More information about the xorg mailing list