Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2007 15:16:03 +0100
From:      Rui Paulo <rpaulo@fnop.net>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 123399 for review
Message-ID:  <46978923.6010009@fnop.net>
In-Reply-To: <200707131604.22648.hselasky@c2i.net>
References:  <200707121918.l6CJIFkI094946@repoman.freebsd.org> <200707130713.14525.hselasky@c2i.net> <4697815C.2080103@fnop.net> <200707131604.22648.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hans Petter Selasky wrote:
> Remove all USB device drivers from your kernel config file, except "device 
> ugen". All your USB devices should show up like "ugenX" devices. Then 
> install "/usr/ports/sysutils/udesc_dump" and run this command on 
> all /dev/ugenX instances. Redirect the contents to a set of files and upload 
> them somewhere. I want to have a look at the descriptors. Maybe there is a 
> USB descriptor that you can detect, that makes a keyboard an Apple keyboard. 
> That will be more generic than adding these quirks!

Well, I can do that but it will take some time.
Regarding to the keyboard, it's not a descriptor but an HID usage:

hid_locate(desc, size, HID_USAGE2(HUP_CUSTOM, UC_FNKEY)

           hid_input, &sc->sc_loc_fn, &flags))

> Have you configured your system to detect Bluetooth Keyboard and Mouse ?

No. I'm not using them.

-- 
Rui Paulo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46978923.6010009>