Skip site navigation (1)Skip section navigation (2)
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
--Signature_Mon__21_Mar_2005_00_03_28_+0100_e=UQ22h+v3XTR5Id
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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=20
> 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=20
> 	 * TWHEEL */
> 	if (hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP,=20
> HUG_TWHEEL),
> 			hid_input, &sc->sc_loc_t, &flags)) {
> 			sc->sc_loc_t.pos =3D sc->sc_loc_t.pos + 8;
> 			sc->flags |=3D UMS_T;
> 	}
> sc->flags |=3D 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

--Signature_Mon__21_Mar_2005_00_03_28_+0100_e=UQ22h+v3XTR5Id
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCPgFMFqu2z7AvZZQRAvaMAKCS40f5c+aBPjsfV1DkqV/+rujxLwCdFWvl
nkt8oOJcPrtt1QGiq9Tynzs=
=bAjQ
-----END PGP SIGNATURE-----

--Signature_Mon__21_Mar_2005_00_03_28_+0100_e=UQ22h+v3XTR5Id--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050321000328.4db691fa>