usb/137129: SteelSeries Ikari USB laser mouse not attaching
Alastair Hogge
agh at coolrhaug.com
Sun Jul 26 16:10:39 UTC 2009
On Sun July 26 2009 22:46:16 Hans Petter Selasky wrote:
> Hi, again.
Hey,
> I think I have found a more general solution. Can you remove the quirk and
> try the following patch instead to ukbd_probe():
Yep.
> ==== //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;
OK, that works.
> --HPS
More information about the freebsd-usb
mailing list