Date: Tue, 22 Apr 2008 10:23:43 +0400 From: Oleg Sidorkin <osidorkin@gmail.com> To: freebsd-usb@freebsd.org Subject: [ums][patch] mouse wheel doesn't work on -STABLE after recent update Message-ID: <200804221023.44519.OSidorkin@gmail.com>
index | next in thread | raw e-mail
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",
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804221023.44519.OSidorkin>
