USB Device identification in dmesg and usbconfig

Tom Judge tom at tomjudge.com
Wed Sep 23 22:45:27 UTC 2009


Hi,

I have been working on getting at least some support for the Function 
(F1-12) keys on my MS Natural 4000 keyboard. Here is the original PR on 
the subject: usb/116947.  My patch can be found here: 
http://svn.tomjudge.com/freebsd/patches/ms-natural-4000/usb-natural4000.patch 
and I have submitted an update to the PR.


When I reboot into the kernel the quirk is detected correctly and the 
function keys work.

However the device does not seem to be correctly identified here is the 
dmesg output:

ugen2.3: <vendor 0x045e> at usbus2
ukbd0: <vendor 0x045e product 0x00db, class 0/0, rev 2.00/1.73, addr 3> 
on usbus2
kbd2 at ukbd0
uhid0: <vendor 0x045e product 0x00db, class 0/0, rev 2.00/1.73, addr 3> 
on usbus2

Here is usbconfig list output:

ugen2.3: <product 0x00db vendor 0x045e> at usbus2, cfg=0 md=HOST spd=LOW 
(1.5Mbps) pwr=ON


How do I get the output to match other devices like this:

ugen2.4: <Microsoft> at usbus2
ums0: <Microsoft Microsoft Optical Mouse with Ti, class 0/0, rev 
2.00/1.20, addr 4> on usbus2
ums0: 3 buttons and [XYZ] coordinates ID=17


Thanks

Tom




More information about the freebsd-hackers mailing list