kern/123224: [ums] Scroll wheel breakage w/ USB MS Wireless
Intellimouse Explorer
Kai Wang
kaiwang27 at gmail.com
Mon Aug 11 14:20:05 UTC 2008
The following reply was made to PR kern/123224; it has been noted by GNATS.
From: Kai Wang <kaiwang27 at gmail.com>
To: bug-followup at FreeBSD.org, coxbrian at msu.edu
Cc:
Subject: Re: kern/123224: [ums] Scroll wheel breakage w/ USB MS Wireless
Intellimouse Explorer
Date: Mon, 11 Aug 2008 16:10:55 +0200
Hi Brian,
I think the regression you metioned is indeed there.
Could you please try the following patch against -CURRENT or -STABLE
and see if it fixes the problem?
--- /sys/dev/usb/ums.c 2008-05-05 20:25:42.000000000 +0200
+++ ums.c.new 2008-08-11 15:00:37.000000000 +0200
@@ -283,6 +283,9 @@
/* Try the wheel first as the Z activator since it's tradition. */
wheel = hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP,
HUG_WHEEL),
+ hid_input, &sc->sc_loc_z, &flags) ||
+ hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP,
+ HUG_TWHEEL),
hid_input, &sc->sc_loc_z, &flags);
if (wheel) {
More information about the freebsd-usb
mailing list