I'm attaching a very small adaptation of your patch (re-added the
repeat_count check and a small comment, compile & run-time tested).
Works fine for me...
:
--- drivers/usb/input/ati_remote.c.orig 2007-04-04 22:05:10.000000000 +0200
+++ drivers/usb/input/ati_remote.c 2007-04-04 22:35:59.000000000 +0200
@@ -174,6 +179,8 @@^^^^^^^^ space warning!
unsigned char old_data[2]; /* Detect duplicate events */
unsigned long old_jiffies;
unsigned long acc_jiffies; /* handle acceleration */
+ unsigned long first_jiffies;