From owner-freebsd-usb@FreeBSD.ORG Sun Jul 26 14:46:26 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 659DB10656E1 for ; Sun, 26 Jul 2009 14:46:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id F27EC8FC1B for ; Sun, 26 Jul 2009 14:46:25 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=-gZE2kl7ImYA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=ousrC4rJJkL-K6QFYOwA:9 a=Zq7zyqHrxm6SbH23-_kA:7 a=iBArQSa7M4fUSlrl8OdhPH-GoFoA:4 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1279285054; Sun, 26 Jul 2009 16:46:24 +0200 To: freebsd-usb@freebsd.org, Alastair Hogge Content-Disposition: inline From: Hans Petter Selasky Date: Sun, 26 Jul 2009 16:46:16 +0200 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200907261646.17843.hselasky@c2i.net> Cc: Subject: Re: usb/137129: SteelSeries Ikari USB laser mouse not attaching X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2009 14:46:27 -0000 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