From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [regression] 2.6.30 leaking keys on console switch Date: Tue, 13 Oct 2009 21:58:51 -0700 Message-ID: <20091014045851.GA32413@core.coreip.homeip.net> References: <87eiss7uhb.fsf@basil.nowhere.org> <20090708065325.GE3309@dtor-d630.eng.vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Jiri Kosina Cc: Andi Kleen , rjw@sisk.pl, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-input@vger.kernel.org [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