lkml.org 
[lkml]   [2004]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] hid-core: Configurable USB HID Mouse Interrupt Polling Interval
    On Sat, Dec 18, 2004 at 04:42:46AM +0000, Mikkel Krautz wrote:
    > Greg KH wrote:
    > >On Sat, Dec 18, 2004 at 02:12:50AM +0000, Mikkel Krautz wrote:
    > >>
    > >>This patch adds the option "USB HID Mouse Interrupt Polling Interval"
    > >>to drivers/usb/input/Kconfig, and a few lines of code to
    > >>drivers/usb/input/hid-core.c, to make the config option function.
    > >>
    > >>It allows people to change the interval, at which their USB HID mice
    > >>are polled at. This is extremely useful for people who require high
    > >>precision, or just likes the feeling of a very precise mouse. ;)
    > >>
    > >>As the Kconfig help implies, setting a lower polling interval is known
    > >>to work on several mice produced by Logitech and Microsoft. I only
    > >>have a Logitech MX500 to test it on. My results have been positive,
    > >>and so have many other people's.
    > >
    > >Why not just make it a sysfs file, so you can tune it per device? That
    > >way you also don't have to make it a Kconfig option.
    > >
    > I'm not too familiar with sysfs, so I really don't know.

    Poke around in it, I think it's the natural place for stuff like this.

    > The interval is set when the device is configured - that's only once.

    So it can never change? Why not add that feature at the same time?

    > Therefore I think a static value in Kconfig is fine. Wouldn't a sysfs
    > entry be a little overkill for this?

    What about makeing it a module paramater then, that is exported to
    sysfs? That makes it easier to adjust on the fly (before the mouse is
    inserted), and doesn't require the kernel to be rebuilt.

    Just trying to make things easier for users :)

    thanks,

    greg k-h
    -
    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: 2005-03-22 14:08    [W:0.024 / U:90.444 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site