Date: Sat, 22 Aug 2009 18:33:07 -0700 From: Israel Jacques <mrkotfw@gmail.com> To: freebsd-usb@freebsd.org Subject: Dell USB keyboard Message-ID: <5cd4c4cd0908221833l49328086gaec8c45d95490500@mail.gmail.com> In-Reply-To: <5cd4c4cd0908221713y5d396946h5e4000ee11a48e0c@mail.gmail.com> References: <5cd4c4cd0908221713y5d396946h5e4000ee11a48e0c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 uh= ub0 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: =C2=A0port 2 addr 3: full speed, power 100 mA, config 1, Dell USB Keyboard Hub(0x1003), Dell(0x413c), rev 2.00 =C2=A0port 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5cd4c4cd0908221833l49328086gaec8c45d95490500>