kern/123510: [ums] Mouse Wheel Fails to Work [regression]

Oleg Sidorkin osidorkin at gmail.com
Sat May 17 14:20:03 UTC 2008


The following reply was made to PR kern/123510; it has been noted by GNATS.

From: Oleg Sidorkin <osidorkin at gmail.com>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: kern/123510: [ums] Mouse Wheel Fails to Work [regression]
Date: Sat, 17 May 2008 17:45:51 +0400

 Hello,
 
 This patch seems working for me (it's corrects a typo in ums.c)
 
 --- ums.c.orig  2008-04-15 11:09:02.000000000 +0400
 +++ ums.c       2008-04-22 09:53:12.000000000 +0400
 @@ -313,7 +313,7 @@ ums_attach(device_t self)
                         }
                 }
         } else if (hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP,
 -                                                    HUG_Z),
 +                                                    HUG_TWHEEL),
                                hid_input, &sc->sc_loc_z, &flags)) {
                 if ((flags & MOUSE_FLAGS_MASK) != MOUSE_FLAGS) {
                         printf("\n%s: Z report 0x%04x not supported\n",


More information about the freebsd-usb mailing list