Dell USB keyboard

Israel Jacques mrkotfw at gmail.com
Sun Aug 23 00:39:04 UTC 2009


Hello all.

I have the following keyboard:
http://support.dell.com/support/edocs/acc/P76379/sk8135.jpg and I
would like to add support for the hot keys and the multimedia buttons
including the knob.

dmesg:
uhub1: <Dell Dell USB Keyboard Hub, class 9/0, rev 1.10/2.00, addr 3> on uhub0
uhub1: 3 ports with 2 removable, bus powered
ukbd0: <Dell Dell USB Keyboard, class 0/0, rev 1.10/2.00, addr 4> on uhub1
kbd2 at ukbd0
uhid0: <Dell Dell USB Keyboard, class 0/0, rev 1.10/2.00, addr 4> on uhub1

usbdevs -v:
 port 2 addr 3: full speed, power 100 mA, config 1, Dell USB Keyboard
Hub(0x1003), Dell(0x413c), rev 2.00
 port 1 addr 4: full speed, power 50 mA, config 1, Dell USB
Keyboard(0x2010), Dell(0x413c), rev 2.00

I tried xev and nothing worked.

My question is, how do I go about writing a userland application to
access the extra buttons? Would I have to use ioctl(2) to poll
/dev/ukbd0? I would like to write the userland application in order to
map them to:
XF86Back
XF86Forward
XF86Stop
XF86Refresh
XF86HomePage
XF86Mail
XF86MyComputer
XF86Calculator
XF86AudioMute
XF86AudioStop
XF86AudioPrev
XF86AudioNext
XF86AudioPlay
XF86AudioLowerVolume
XF86AudioRaiseVolume

Any suggestions?


More information about the freebsd-drivers mailing list