[ums][patch] mouse wheel doesn't work on -STABLE after recent update
Oleg Sidorkin
osidorkin at gmail.com
Tue Apr 22 06:52:59 UTC 2008
Hello,
my IntelliMouse Explorer 4.0 wheel stops working after recent update. Rolling
back ums.c to the previous (1.96.2.1) version fixes the problem.
I think, there is a typo in the latest version of ums.c: HUG_Z is verified
twice instead of HUG_TWHEEL in previous version. The following patch seems
working for me:
diff -u ums.c.orig 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 @@
}
}
} 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