Subject: Re: Sun Type6 USB keyboard & X
To: Sean Davis <dive@endersgame.net>
From: Michael <macallan18@earthlink.net>
List: current-users
Date: 10/24/2005 14:46:34
--Signature_Mon__24_Oct_2005_14_46_34_-0400_f2Z3Nu5HE_vF2mDu
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> I'm seeing the events in xev now, however, every sun key gives the
> exact same thing:
>=20
> 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
>=20
> 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:

This is odd. I get this:
KeyPress event, serial 34, synthetic NO, window 0x3600002,
    root 0x59, subw 0x0, time 151418, (77,102), root:(81,149),
    state 0x0, keycode 142 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3600002,
    root 0x59, subw 0x0, time 151490, (77,102), root:(81,149),
    state 0x0, keycode 142 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

KeyPress event, serial 34, synthetic NO, window 0x3600002,
    root 0x59, subw 0x0, time 151834, (77,102), root:(81,149),
    state 0x0, keycode 143 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3600002,
    root 0x59, subw 0x0, time 151890, (77,102), root:(81,149),
    state 0x0, keycode 143 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

for the volume up/down keys.=20

That's the keyboard:
uhidev1 at uhub1 port 4 configuration 1 interface 0
uhidev1: vendor 0x0430 product 0x0005, rev 1.00/1.02, addr 4, iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0

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.

have fun
Michael


--Signature_Mon__24_Oct_2005_14_46_34_-0400_f2Z3Nu5HE_vF2mDu
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ10sCspnzkX8Yg2nAQJ3Qwf/Q+btcBXajFdU20nZfUiTRfUK2K5zywSz
TcJsLvJjdlzNRD4MJFPSj0qdvJnt5/42wilUWCEf3rLjvMujFJ9PstRnFsSoIsJV
hB0lVqWK1Xv/ZuEhY2KozVX1uq5BgFQLZ4HSBQWaNmdzyzxJKz2jMQdWsltocMrZ
1QRox/9ztxdQBJRtEiFFbZD8Z4XELCrOLEQIENQsDvKa2NV7zjnw5Q+Nhlv/tw94
y9NCEMnrt+wL+yoNzM2hOurVK7LNb6NJq5Bj/7WD7Jb4w+0YeMAMLPW/9EJf4TUu
ijP1CHuT+J8WRQmBPjPTmuWTkeVWdN7IHEnxb5m61gHOkJnt9OosAQ==
=ABXU
-----END PGP SIGNATURE-----

--Signature_Mon__24_Oct_2005_14_46_34_-0400_f2Z3Nu5HE_vF2mDu--