Messages in this thread | | | Date | Fri, 19 Sep 2003 13:38:24 +0200 | From | Vojtech Pavlik <> | Subject | Re: Another keyboard woes with 2.6.0... |
| |
On Sat, Sep 13, 2003 at 11:40:47PM +0200, Petr Vandrovec wrote: > On Sat, Sep 13, 2003 at 08:52:44PM +0200, Andries Brouwer wrote: > > On Fri, Sep 12, 2003 at 08:33:24PM +0200, Petr Vandrovec wrote: > > > > > Andries is already gathering info for this one. This problem (missed > > > key release) happens to me on all systems I have (Athlon + via, P3 + i440BX, > > > P4 + 845...), most often when I do alt+right-arrow for walking through > > > consoles (and for Andries: hitting key stops this, otherwise it > > > endlessly switches all VTs around, and while kernel thinks that key > > > is down, keyboard actually does not generate any IRQs, so keyboard knows > > > that all keys are released). > > > > OK. It seems to me the two main hypotheses are: (i) problem with timers, > > (ii) problem with keyboard. > > > > In other words: could you (and/or anybody else who can reproduce this > > at will) change the #undef DEBUG in i8042.c to #define DEBUG, recreate > > the problem, and post or mail the resulting file with keystrokes? > > > > [of course: cut away parts corresponding to login sequences etc.] > > > > This will probably allow us to decide whether the missing key release > > was never sent by the keyboard, or was lost by the kernel. > > Unfortunately I'm at home, while box is at work, so I could only reboot it, > and confirm that it happened again. Unfortunately I cannot go to the box > and hit any key to get some more data. But I'll enable this on my workstation, > and if I'll get some "unexpected keycode" or "keyboard reconnect" errors again, > I'll have more data in the hand. > > >From log it looks like that switch likes 0x41 a lot: it reports ID 0x41AB, > it reports current scan set 0x41, and when we enable it, it returns spurious > 0x41... And the last 0x41 is one which confuses everything.
I've just sent a patch to Linus that should fix this. Please try ... (either get the patch from LKML or wait for next Linus's release).
-- Vojtech Pavlik SuSE Labs, SuSE CR - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |