since the merging of the new USB HID code (hid.c -> hid-core.c) in ac4,
the mouse wheel has been broken (losing events).
this patch, by Micheal <leahcim@ntlworld.com>, fixes the problem.
Alan, please consider applying to the next -ac release.
thanks,
-- Robert M. Love rml@ufl.edu rml@tech9.net--=-36teO5XABZUHvdAqbHQK Content-ID: 991519500.681.1.camel@phantasy Content-Description: Content-Type: text/plain Content-Disposition: inline; filename=patch-2.4.5ac6-rml-USB-mouse-wheel-fix.txt Content-Transfer-Encoding: 7bit
--- linux.vanilla/drivers/usb/hid-core.c Sat Jun 2 21:47:35 2001 +++ linux/drivers/usb/hid-core.c Sat Jun 2 21:46:00 2001 @@ -773,10 +773,11 @@
if (HID_MAIN_ITEM_VARIABLE & field->flags) {
- if ((field->flags & HID_MAIN_ITEM_RELATIVE) && !value[n]) - continue; - if (value[n] == field->value[n]) - continue; + if (field->flags & HID_MAIN_ITEM_RELATIVE) { + if (!value[n]) continue; + } else { + if (value[n] == field->value[n]) continue; + } hid_process_event(hid, field, &field->usage[n], value[n]); continue; }
--=-36teO5XABZUHvdAqbHQK--
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/