Subject: Re: Sun Type6 USB keyboard & X
To: Michael <macallan18@earthlink.net>
From: Sean Davis <dive@endersgame.net>
List: current-users
Date: 10/25/2005 09:48:59
On Mon, Oct 24, 2005 at 02:46:34PM -0400, Michael wrote:
> Hello,
> 
> > I'm seeing the events in xev now, however, every sun key gives the
> > exact same thing:
> > 
> > KeyPress event, serial 33, synthetic NO, window 0x2800001,
> >     root 0x40, subw 0x2800002, time 282992, (55,29), root:(59,742),
> >     state 0x0, keycode 8 (keysym 0x0, NoSymbol), same_screen YES,
> >     XLookupString gives 0 bytes:
> >     XmbLookupString gives 0 bytes:
> >     XFilterEvent returns: False
> > 
> > KeyRelease event, serial 33, synthetic NO, window 0x2800001,
> >     root 0x40, subw 0x2800002, time 283160, (55,29), root:(59,742),
> >     state 0x0, keycode 8 (keysym 0x0, NoSymbol), same_screen YES,
> >     XLookupString gives 0 bytes:
> 
<snip> 
> No idea why it doesn't identify the keyboard as Sun Microsystems Type 6
> USB anymore but it's the US version with PC layout. Maybe I forgot
> USB_VERBOSE or something similar in my kernel.
> 
> So, maybe you should update xsrc and rebuild X.

Yup, that did it. Now I'm getting sane keycodes. Now I just need to bind the
keys using xmodmap, right? (this is a type 6 US with UNIX layout)

-Sean