Why my USB keyboard doesn't generate scancodes?

Yuri yuri at rawbw.com
Wed Jan 30 22:26:45 UTC 2013


On 01/30/2013 01:40, Hans Petter Selasky wrote:
> Work for you:
>
> RID=22 (0x16) is the one you are receiving. This is a microsoft specific extension to the HID class.
> I don't have time to look at this right now, but if you can get documentation for this HID usage, then
> we could map it to a mouse button at least. Else press all the buttons on your mouse while recording USB
> trace information. Then reverse engineer the values, make a nice table and I can implement it for you in
> the ums driver.

So the keyboard signal comes to the mouse endpoint.
One possible solution is to have a quirk in ums driver that would post 
the event to the corresponding ukbd instance. Since these are really the 
keyboard signals.

Microsoft makes some of the best mice today (IMO, based on the research 
of what's available from all vendors). That's why I want FreeBSD to 
support their mice better.

I will do some research, also will try to partially reverse-engineer the 
protocol. It might be something in their protocol that makes keyboard 
signals be piped into the mouse pipe.

Yuri


More information about the freebsd-usb mailing list