Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 14:20:05 GMT
From:      Kai Wang <kaiwang27@gmail.com>
To:        freebsd-usb@FreeBSD.org
Subject:   Re: kern/123224: [ums] Scroll wheel breakage w/ USB MS Wireless Intellimouse Explorer
Message-ID:  <200808111420.m7BEK5Ze070213@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/123224; it has been noted by GNATS.

From: Kai Wang <kaiwang27@gmail.com>
To: bug-followup@FreeBSD.org, coxbrian@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) {



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