From: Ken Moffat <zarniwhoop@ntlworld.com>
To: linux-kernel@vger.kernel.org
Subject: keyboard problems with 3.0 (xorg, evdev)
Date: Wed, 3 Aug 2011 02:02:11 +0100 [thread overview]
Message-ID: <20110803010211.GA27283@milliways> (raw)
I guess my situation is unusual - I use a kvm switch to share a
monitor between my desktop boxes. For a long time, there have been
intermittent mouse problems in X (typically, the mouse goes apeshit
and highlights everything), usually cured by cycling through the kvm
positions [ I usually only use one machine at a time ] and dropping
back to a tty before going back to X. The key word is
*intermittent* - sometimes I can go weeks without problems. Mostly,
I only use one box at a time.
With 3.0, the problems are much worse - I'm getting keyboard
problems in vim (in urxvt) : the cursor keys stop working, as does
ESC [ although, bizzarely, Ctrl-C then takes over the ESC function
so I can sort-of continue editing ].
The first time I saw this was my first boot of 3.0 on my ppc64. I
initially assumed something in the keyboard area was horribly broken
there, but after coming back to it when I had time and paper-and-pen,
everything in both showkey and xev looked identical to previous
kernels, so I assumed it was a hardware glitch.
Tonight, it started doing the same thing on an x86_64 box which had
been ok with 3.0. This time, the first problem was that the mouse
clicks stopped working, and the loss of keys in vim happened later (I
clicked on a preview in the gimp/ufraw and thought things were slow
because my nfs drive with the photos I was editing spins down when
idle overnight, so I went to a different desktop to do something else
in vim, and then I again saw the loss of cursor and ESC keys).
After a lot of cycling thorough the kvm positions, and back to a tty,
it eventually all sorted itself and I was able to finish what I was
doing, but this time the following was in the system log:
Aug 3 00:10:48 ac30 kernel: psmouse.c: Wheel Mouse at
isa0060/serio1/input0 lost synchronization, throwing 3 bytes away.
Aug 3 00:12:47 ac30 kernel: psmouse.c: Wheel Mouse at
isa0060/serio1/input0 lost synchronization, throwing 3 bytes away.
Aug 3 00:12:47 ac30 kernel: psmouse.c: resync failed, issuing
reconnect request
Aug 3 00:12:49 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x71 on isa0060/serio0).
Aug 3 00:12:49 ac30 kernel: atkbd serio0: Use 'setkeycodes 71
<keycode>' to make it known.
Aug 3 00:12:49 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x71 on isa0060/serio0).
Aug 3 00:12:49 ac30 kernel: atkbd serio0: Use 'setkeycodes 71
<keycode>' to make it known.
Aug 3 00:12:55 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:12:55 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:12:55 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:12:55 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:01 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:01 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:01 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:01 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:04 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:04 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:04 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:04 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:05 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:05 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:05 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:05 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:11 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:11 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:11 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:11 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:12 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:12 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:12 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:12 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:14 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:14 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:14 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:14 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:14 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:14 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:14 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x64 on isa0060/serio0).
Aug 3 00:13:14 ac30 kernel: atkbd serio0: Use 'setkeycodes 64
<keycode>' to make it known.
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x55 on isa0060/serio0).
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Use 'setkeycodes 55
<keycode>' to make it known.
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x55 on isa0060/serio0).
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Use 'setkeycodes 55
<keycode>' to make it known.
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x55 on isa0060/serio0).
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Use 'setkeycodes 55
<keycode>' to make it known.
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x55 on isa0060/serio0).
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Use 'setkeycodes 55
<keycode>' to make it known.
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x55 on isa0060/serio0).
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x55 on isa0060/serio0).
Aug 3 00:13:26 ac30 kernel: atkbd serio0: Use 'setkeycodes 55
<keycode>' to make it known.
Aug 3 00:13:27 ac30 kernel: atkbd serio0: Unknown key pressed
(translated set 2, code 0x71 on isa0060/serio0).
Aug 3 00:13:27 ac30 kernel: atkbd serio0: Use 'setkeycodes 71
<keycode>' to make it known.
Aug 3 00:13:27 ac30 kernel: atkbd serio0: Unknown key released
(translated set 2, code 0x71 on isa0060/serio0).
this seems to repeat for keycodes 64, 55, 71 and then I got
Aug 3 00:18:24 ac30 kernel: psmouse.c: Wheel Mouse at
isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
Aug 3 00:18:25 ac30 kernel: psmouse.c: resync failed, issuing
reconnect request
which seems to be associated with the end of the problem.
Keycodes 64, 55, 71 are 'Alt', 'v', and 'F8' (I'm using evdev).
This is a pain in the proverial, but it's far too intermittent to
bisect. I'm hoping it turns out to be very infrequent, because it's
a real annoyance, and I'm short of time (going on holiday soon).
ken
--
das eine Mal als Tragödie, das andere Mal als Farce
reply other threads:[~2011-08-03 1:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110803010211.GA27283@milliways \
--to=zarniwhoop@ntlworld.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox