Date: Mon, 27 Jul 2009 00:11:04 +0800 From: Alastair Hogge <agh@coolrhaug.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb/137129: SteelSeries Ikari USB laser mouse not attaching Message-ID: <200907270011.04356.agh@coolrhaug.com> In-Reply-To: <200907261646.17843.hselasky@c2i.net> References: <200907261646.17843.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907270011.04356.agh>
