USB Mouse not working

MariusNünnerich marius.nuennerich at gmx.net
Sun Mar 20 15:03:44 PST 2005


On Sun, 20 Mar 2005 13:39:59 -0500
Anish Mistry <mistry.7 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050321/b50448d9/attachment.bin


More information about the freebsd-stable mailing list