Subject: Re: Sun Type6 USB keyboard & X
To: Michael <macallan18@earthlink.net>
From: Sean Davis <dive@endersgame.net>
List: current-users
Date: 10/24/2005 12:21:40
On Mon, Oct 24, 2005 at 12:45:56AM -0400, Michael wrote:
> Hello,
> 
> > > I've recently switched to a type6 usb keyboard on my PC. Using wskbd
> > > @ ukbd is working just fine for console and X, however I'm
> > > wondering.. where do I need to dig around if I'd like to use the sun
> > > buttons (the L pad on the left, and the volume controls/sleep button
> > > on the right)? I was looking at output from xev, and nothing happens
> > > when those keys are punched. I would like to bind them to perform
> > > useful functions (or at least keystrokes) but I don't see how I
> > > could do that with xmodmap if xev isn't even picking up
> > > keypress/release events.
> > > 
> > > Any pointers would be much appreciated.
> > 
> > Do you get any other uhid devices? (The whole probe output from the
> > keyboard would be good to see) Sometimes keyboards with "extra"
> > magic keys have them show up as non-keyboard HID input widgets.
> 
> This is a bug ( or a misfeature ) in XFree's USB keymap and has been
> fixed in 3.0. In 2.x and older the Sun keys are simply mapped to nothing
> and there's no way to change this short of recompiling part of the
> Xserver. 

NetBSD 3.0?
XFree86 Version 4.5.0
NetBSD jane.endersgame.net 3.99.10 NetBSD 3.99.10 (JANE) #8: Sun Oct 23
20:59:00 EDT 2005  dive@jane.endersgame.net:/sys/arch/i386/compile/JANE i386

So I just need to rebuild xsrc, I guess? (also, what is this usb keymap you
speak of? :)