usb/121052: Microsoft Notebook Optical Mouse 3000 (model 1049)
doesn't work
Duane H. Hesser
duane.hesser at gmail.com
Mon Feb 25 18:19:34 UTC 2008
On Mon, 25 Feb 2008 17:56:28 +0100
Kai Wang <kaiwang27 at gmail.com> wrote:
> >
> > The ms3000 provides multiple input reports, and thus prepends and "ID"
> > byte to each report, so the button bits will start at 8, and the x.pos
> > will be at 16.
>
> You are right. But it does not count that ID byte when you set
> sc->sc_iid to a non-zero value.
>
> excerpt from ums_intr():
>
> } else {
> if (sc->sc_iid) {
> if (*ibuf++ != sc->sc_iid)
> return;
> }
> }
>
> Note that "*ibuf++"
>
> --
> Kai
>
Ahh, right. I revised that section of code weeks ago, so I was
unaware of the increment. The UMS_T branch which survives in the
current ums.c is quite spurious, since there are other mice besides
the Intellimouse which report on the Twheel usage (including the
Microsoft 3000). I would like to see the input reports on the
Intellimouse...the branch is unnecessary (in my revised driver)
unless the Intellimouse does something truly strange.
I think...
----------
Duane Hesser
More information about the freebsd-usb
mailing list