Date: Sat, 24 Nov 2012 13:54:45 +0100 From: Niclas Zeising <zeising+freebsd@daemonic.se> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-hackers@freebsd.org Subject: Re: Questions about USB, uhid, ukbd and quirks Message-ID: <50B0C395.8060809@daemonic.se> In-Reply-To: <50B0BC44.2090609@daemonic.se> References: <50B0001C.6050202@daemonic.se> <201211241213.49794.hselasky@c2i.net> <201211241317.00568.hselasky@c2i.net> <50B0BC44.2090609@daemonic.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/24/12 13:23, Niclas Zeising wrote: > On 11/24/12 13:17, Hans Petter Selasky wrote: >> 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. >> > > Hi! > Having ukbd in the kernel, and not uhid, makes uhid load as a module > during boot and attach to the keyboard, even with your patch. I'm > recompiling the kernel now with uhid as part of the kernel to see if it > makes a difference. I'm not too confortable hacking /etc/devd/usb.conf, > but if you can point me in the right direction I'll have a go at it. > Regards! Having uhid in the kernel did not make a difference, it attached to the keyboard (or rather, the keyboard attached to the uhid driver, I guess). Regards! -- Niclas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B0C395.8060809>