lkml.org 
[lkml]   [2006]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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    [W:0.076 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site