Re: Logitech Mouseman Dual Optical defaults to 400cpi

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Tue Jun 11 2002 - 01:34:47 EST


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
-
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/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:21 EST