lkml.org 
[lkml]   [2006]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 27 Jun 2006 13:34:26 -0400
From"Dmitry Torokhov" <>
SubjectRe: broken auto-repeat on PS/2 keyboard
On 6/27/06, Paolo Ornati <ornati@fastwebnet.it> wrote:
> Hello,
>
> with current git kernel keyboard repeat for my plain PS/2 keyboard
> stopped working.
>
> Reverting
> 0ae051a19092d36112b5ba60ff8b5df7a5d5d23b
>
> fixes the problem...
>

Paolo,

Thank you for identifying the problem commit. Please try the attached
patch, it should fix the problem.

--
Dmitry
Input: atkbd - fix hardware autorepeat

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---
drivers/input/keyboard/atkbd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/drivers/input/keyboard/atkbd.c
===================================================================
--- linux.orig/drivers/input/keyboard/atkbd.c
+++ linux/drivers/input/keyboard/atkbd.c
@@ -459,7 +459,7 @@ static irqreturn_t atkbd_interrupt(struc
}

input_regs(dev, regs);
- input_report_key(dev, keycode, value);
+ input_event(dev, EV_KEY, keycode, value);
input_sync(dev);

if (value && add_release_event) {
\
 
 \ /
  Last update: 2006-06-27 19:36    [from the cache]
©2003-2010