diff -urN oldtree/drivers/usb/input/Kconfig newtree/drivers/usb/input/Kconfig --- oldtree/drivers/usb/input/Kconfig 2006-03-27 13:28:15.000000000 -0500 +++ newtree/drivers/usb/input/Kconfig 2006-03-28 10:38:10.438010750 -0500 @@ -24,6 +24,42 @@ To compile this driver as a module, choose M here: the module will be called usbhid. +config USB_HID_MOUSE_POLLING_INTERVAL + int "USB HID Mouse Interrupt Polling Interval" + depends on USB_HID + default 10 + help + The "USB HID Mouse Interrupt Polling Interval" is the interval, at + which your USB HID mouse is to be polled at. The interval is + specified in milliseconds. + + Decreasing the interval will, of course, give you a much more + precise mouse. + + Generally speaking, a polling interval of 2 ms should be more than + enough for most people, and is great for gaming and other things + that require high precision. + + An interval lower than the default is not guaranteed work on your + specific piece of hardware. If you want to play it safe, don't + change this value. + + Now, if you indeed want to feel the joy of a precise mouse, the + following mice are known to work without problems, when the interval + is set to at least 2 ms: + + * Logitech's MX-family + * Logitech Mouse Man Dual Optical + * Logitech iFeel + * Microsoft Intellimouse Explorer + * Microsoft Intellimouse Optical 1.1 + + Please note, that this option can be overridden by passing a parameter + to the usbhid module. Consult + for more information regarding this. + + If unsure, do not set this. + comment "Input core support is needed for USB HID input layer or HIDBP support" depends on USB_HID && INPUT=n diff -urN oldtree/drivers/usb/input/hid-core.c newtree/drivers/usb/input/hid-core.c --- oldtree/drivers/usb/input/hid-core.c 2006-03-27 13:28:15.000000000 -0500 +++ newtree/drivers/usb/input/hid-core.c 2006-03-28 10:38:10.446011250 -0500 @@ -50,7 +50,7 @@ * Module parameters. */ -static unsigned int hid_mousepoll_interval; +static unsigned int hid_mousepoll_interval = CONFIG_USB_HID_MOUSE_POLLING_INTERVAL; module_param_named(mousepoll, hid_mousepoll_interval, uint, 0644); MODULE_PARM_DESC(mousepoll, "Polling interval of mice");