Date: Mon, 11 Aug 2008 13:40:03 GMT From: Kai Wang <kaiwang27@gmail.com> To: freebsd-usb@FreeBSD.org Subject: Re: kern/123510: [ums] Mouse Wheel Fails to Work [regression] Message-ID: <200808111340.m7BDe3gh067505@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/123510; it has been noted by GNATS. From: Kai Wang <kaiwang27@gmail.com> To: bug-followup@FreeBSD.org, tmdraney@verizon.net Cc: Subject: Re: kern/123510: [ums] Mouse Wheel Fails to Work [regression] Date: Mon, 11 Aug 2008 15:10:01 +0200 Hello Merritt, Since /usr/src/sys/dev/usb/ums.c rev 1.96.2.1 worked for you, I guess this might be caused by rev 1.97 which removed "TWHEEL" stuff. Could you please try the patch below and see if it also fix the problem? (Patch should apply to latest -STABLE or -CURRENT) Thanks, Kai --- /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?200808111340.m7BDe3gh067505>