Re: Logitech Mouseman Dual Optical defaults to 400cpi

Vojtech Pavlik
2002-06-11T06:38:10Z

On Tue, Jun 11, 2002 at 02:30:28AM -0400, Chris Faherty wrote:

> On Tuesday 11 June 2002 01:56 am, Vojtech Pavlik wrote:
>
> > Btw, for more frequent reporting it's enough to modify the irq interrupt
> > rate in the HID driver, works for any mouse.
>
> I want I want! But I can't figure it out. Can you give me an example of
> how I would change the irq interrupt rate so that my mouse reports at 200Hz
> in kernel 2.2.20? Thanks.

Change the last argument of

FILL_INT_URB(hid->urbin, dev, pipe, hid->inbuf, 0, hid_irq_in, hid, endpoint->bInterval);

to 5. The normal value is 10. And it's milliseconds per poll of the
mouse. This may be made a quirk also.

--
Vojtech Pavlik
SuSE Labs