public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* USB input ati_remote autorepeat problem
@ 2006-06-27 19:51 Marko Macek
  2006-06-27 20:09 ` John Daiker
  2006-06-27 21:46 ` Nish Aravamudan
  0 siblings, 2 replies; 6+ messages in thread
From: Marko Macek @ 2006-06-27 19:51 UTC (permalink / raw)
  To: vojtech, thoffman; +Cc: vanackere, linux-kernel

Hello!

I have problems with autorepeat in ati_remote (drivers/usb/input) driver 
in "recent" kernels: all keys start repeating immediately without some 
delay.

This makes some things, like changing the channel prev/next or toggling 
fullscreen, etc... impossible/hard.

The problem seems to be related to FILTER_TIME and HZ=250 (which I 
forgot to change).

FILTER_TIME is defined to HZ / 20, and since 250 is not divisible by 20, 
the time will be too short to ignore enough events.

Defining FILTER_TIME to HZ / 20 + 1 seems to fix things, but I'm not 
sure if there are any bad side effects.

    Mark

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-07-02 19:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-27 19:51 USB input ati_remote autorepeat problem Marko Macek
2006-06-27 20:09 ` John Daiker
2006-06-27 21:46 ` Nish Aravamudan
2006-06-28  6:52   ` Vojtech Pavlik
2006-07-02 18:37     ` Marko Macek
2006-07-02 19:18       ` Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox