Re: [regression] 2.6.30 leaking keys on console switch

From: Dmitry Torokhov
Date: Wed Oct 14 2009 - 01:00:32 EST


[ressurecting old thread...]

On Wed, Jul 08, 2009 at 01:20:23PM +0200, Jiri Kosina wrote:
> On Tue, 7 Jul 2009, Dmitry Torokhov wrote:
>
> > > > One new issue I see in 2.6.30 (I think I saw it in some rc*s) too is
> > > > that console switch often leaks the Fkey of the console switch into the
> > > > target console.
> > > >
> > > > The symptome is that e.g. firefox if it was active and you're switching
> > > > into X displays its help screen (F1 = help). It happens on non X
> > > > consoles too, but of course the symptoms are different here.
> > > >
> > > > That's a regression against 2.6.29; I don't remember it in .29
> > > >
> > > > Haven't investigated code.
> > >
> > > Are you seeing with a specific keyboard type(s), or is this a general
> > > problem? Could you confirm whether it is specific either
> > > to PS2 or USB keyboards only, or it does happen for both?
> >
> > Can't think of any input chnages in this timeftrame that would cause
> > such effect. Maybe TTY changes?
>
> For completness, Andi sent me the following evtest output off-list
> yesterday. The LeftAlt being autorepeated at time 1246964430.448470 is a
> little bit suspicious, as it is preceeded by release ... I don't see how
> this could be causing the behavior Andi is observing though.
>
> I am not able to reproduce the problem myself.
>

...

> Event: time 1246964431.804460, -------------- Report Sync ------------
> Event: time 1246964431.828598, type 4 (Misc), code 4 (ScanCode), value 70040
> Event: time 1246964431.828602, type 1 (Key), code 65 (F7), value 1
> Event: time 1246964431.828604, -------------- Report Sync ------------
> Event: time 1246964431.832468, type 17 (LED), code 0 (NumLock), value 0
> Event: time 1246964431.832470, -------------- Report Sync ------------
> Event: time 1246964431.988595, type 4 (Misc), code 4 (ScanCode), value 700e0
> Event: time 1246964431.988601, type 1 (Key), code 29 (LeftControl), value 0
> Event: time 1246964431.988603, type 4 (Misc), code 4 (ScanCode), value 700e2
> Event: time 1246964431.988605, type 1 (Key), code 56 (LeftAlt), value 0
> Event: time 1246964431.988608, type 4 (Misc), code 4 (ScanCode), value 70040
> Event: time 1246964431.988610, type 1 (Key), code 65 (F7), value 0
> Event: time 1246964431.988611, -------------- Report Sync ------------

Btw, what kind of keyboard is this? I was playing today but I could not
get my USB keyboards to report release of more than 1 key per report....

--
Dmitry
--
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/