From owner-freebsd-stable@FreeBSD.ORG Sun Mar 20 23:03:44 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D6E316A4CE for ; Sun, 20 Mar 2005 23:03:44 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0BE2243D3F for ; Sun, 20 Mar 2005 23:03:43 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 20 Mar 2005 23:03:41 -0000 Received: from pD9E5FD64.dip.t-dialin.net (EHLO olaf.hackerzberg.dyndns.org) [217.229.253.100] by mail.gmx.net (mp026) with SMTP; 21 Mar 2005 00:03:41 +0100 X-Authenticated: #5707313 Date: Mon, 21 Mar 2005 00:03:28 +0100 From: Marius =?ISO-8859-1?Q?N=FCnnerich?= To: freebsd-stable@freebsd.org 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> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Signature_Mon__21_Mar_2005_00_03_28_+0100_e=UQ22h+v3XTR5Id"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Y-GMX-Trusted: 0 Subject: Re: USB Mouse not working X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2005 23:03:44 -0000 --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 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--