[lkml]   [2003]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Input issues - key down with no key up
On Monday August 18, wrote:
> How about this patch? It tries to be a bit clever, but hopefully not too
> much ...

Uhmm.. mixed.

It behaved REALLY strangly until I fixed these typoes:

> + mod_timer(&atkbd->timer,
> + (test_bit(atkbd->keycode[code], &atkbd->dev.key)
> + ? HZ/30 : HZ/4) + HZ/100);

should be

> + mod_timer(&atkbd->timer, jiffies +
> + (test_bit(atkbd->keycode[code], atkbd->dev.key)
> + ? HZ/30 : HZ/4) + HZ/100);

Then it sort-of worked - my problem keys gave nice up/down

However the hardware autorepeat and the software autorepeat seemed to
interfere with each other and auto-repeat was rather erratic.

More of a problem was that control and shift would auto-repeat, and
would often appear to be "up" when I was holding them "down", so
control-X keys strokes were not reliable.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.169 / U:8.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site