lkml.org 
[lkml]   [2006]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectUSB input ati_remote autorepeat problem
    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-06-27 21:54    [W:4.346 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site