Re: broken auto-repeat on PS/2 keyboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/27/06, Paolo Ornati <[email protected]> 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 <[email protected]>
---
 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) {

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux