> I am not sure to whom should I address this, it's about a buggy
> keyboard controller (I guess) found on <subj> laptops that has a
> peculiar behavior with some key sequences. Specifically, when you
> press a shift (ctrl, alt, shift) and a key - (mostly when you play a
> lot with shifts, like in emacs :-)) - sometimes the controller ignores
> the repeat delay and repeats the key, sending very close (tens of
> miliseconds) key_down interrups (kbd MAKEs).
Thanx for your investigation. It happened for me, too, on Toshiba
Satellite 4030cdt. I thought it is hardware error and ignored the
problem. I'm glad to see it is workaroundable.
> Anyway, I would be grateful if the person in charge (Linus?) would be
> so kind to accept this patch, so I will not be doomed to patch by hand
> each and every kernel from now on :-))
Well, we'll want to do autorepeat in software on one sunny day.
> static int prev_scancode = 0;
> static int stop_jiffies = 0;
>
> /* new scancode, trigger delay */
> if (scancode != prev_scancode)
> stop_jiffies = jiffies;
Are you sure that this works properly for arrow keys?
Pavel
-- I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel. Pavel Hi! I'm a .signature virus! Copy me into your ~/.signature, please!- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/