From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 24 12:15:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 779A1A06 for ; Sat, 24 Nov 2012 12:15:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id EB7F88FC15 for ; Sat, 24 Nov 2012 12:15:25 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 349241070; Sat, 24 Nov 2012 13:15:23 +0100 From: Hans Petter Selasky To: freebsd-hackers@freebsd.org Subject: Re: Questions about USB, uhid, ukbd and quirks Date: Sat, 24 Nov 2012 13:17:00 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <50B0001C.6050202@daemonic.se> <201211241213.49794.hselasky@c2i.net> In-Reply-To: <201211241213.49794.hselasky@c2i.net> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201211241317.00568.hselasky@c2i.net> Cc: Niclas Zeising X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 12:15:26 -0000 On Saturday 24 November 2012 12:13:49 Hans Petter Selasky wrote: > On Saturday 24 November 2012 00:00:44 Niclas Zeising wrote: > > Hi! > > I have a couple of questions about USB. > > I recently bought a new USB keyboard, a Logitech K120. When attaching > > this to a FreeBSD system, however, it is detected as a hid device > > (attaching to uhid) rather than a keyboard (attaching to ukbd). The > > keyboard works fine, but I'm just curious as to why it doesn't use ukbd. > > > The output from usbconfig for this keyboard is: > Hi, > > It seems the UHID driver needs to be synced with UMS and UKBD regarding the > detection logic. Can you try the attached patch and report back. > > --HPS One more thing to check: /etc/devd/usb.conf Is perhaps auto-loading uhid before ukbd, and that might also be part of the issue. --HPS