Hi, again.
I think I have found a more general solution. Can you remove the quirk and try
the following patch instead to ukbd_probe():
==== //depot/projects/usb/src/sys/dev/usb/input/ukbd.c#22 -
src/sys/dev/usb/input/ukbd.c ====
@@ -711,7 +711,15 @@
if (error)
return (ENXIO);
+ /*
+ * NOTE: we currently don't support USB mouse and USB keyboard
+ * on the same USB endpoint.
+ */
if (hid_is_collection(d_ptr, d_len,
+ HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_MOUSE))) {
+ /* most likely a mouse */
+ error = ENXIO;
+ } else if (hid_is_collection(d_ptr, d_len,
HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_KEYBOARD))) {
if (usb_test_quirk(uaa, UQ_KBD_IGNORE))
error = ENXIO;
--HPS
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"