usb/137129: SteelSeries Ikari USB laser mouse not attaching

Hans Petter Selasky hselasky at c2i.net
Sun Jul 26 14:46:27 UTC 2009


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



More information about the freebsd-usb mailing list