Date: Mon, 21 Mar 2005 00:03:28 +0100 From: Marius =?ISO-8859-1?Q?N=FCnnerich?= <marius.nuennerich@gmx.net> To: freebsd-stable@freebsd.org Subject: Re: USB Mouse not working Message-ID: <20050321000328.4db691fa@olaf.hackerzberg.dyndns.org> In-Reply-To: <200503201340.07373.mistry.7@osu.edu> References: <20050320154644.15099866@olaf.hackerzberg.dyndns.org> <200503201340.07373.mistry.7@osu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Sun, 20 Mar 2005 13:39:59 -0500
Anish Mistry <mistry.7@osu.edu> wrote:
> Is the code setting the UMS_T flags? If not, then force it in after
> the detection routine section:
> /* The Microsoft Wireless Intellimouse 2.0 reports it's wheel
> * using 0x0048 (i've called it HUG_TWHEEL) and seems to expect
> * you to know that the byte after the wheel is the tilt axis.
> * There are no other HID axis descriptors other than X,Y and
> * TWHEEL */
> if (hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP,
> HUG_TWHEEL),
> hid_input, &sc->sc_loc_t, &flags)) {
> sc->sc_loc_t.pos = sc->sc_loc_t.pos + 8;
> sc->flags |= UMS_T;
> }
> sc->flags |= UMS_T; /* <--- Add this to force MS Intellimouse Mode */
No, it isn't set by the code itself. I tried what you suggested, I get
the same results as before:
- jerky movement
- need to scroll the mousewheel two positions to get one event
- button pressing isn't recognized if the mouse isn't moving
If I plug the mouse into the PS/2 connector it works as I
expect. But thats not an option :(
Anyhow, thank you very much for your suggestions.
Marius
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFCPgFMFqu2z7AvZZQRAvaMAKCS40f5c+aBPjsfV1DkqV/+rujxLwCdFWvl
nkt8oOJcPrtt1QGiq9Tynzs=
=bAjQ
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050321000328.4db691fa>
