Date: Sun, 26 Jul 2009 16:46:16 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org, Alastair Hogge <agh@coolrhaug.com> Subject: Re: usb/137129: SteelSeries Ikari USB laser mouse not attaching Message-ID: <200907261646.17843.hselasky@c2i.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907261646.17843.hselasky>