Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Mar 2005 08:16:44 +0100
From:      Matthias Muthmann <mmuthmann@gmx.net>
To:        freebsd-sparc64@freebsd.org
Cc:        Dejan Lesjak <dejan.lesjak@ijs.si>
Subject:   Re: Problems with X..
Message-ID:  <1109661404.19204.8.camel@localhost>
In-Reply-To: <200502281848.36373.dejan.lesjak@ijs.si>
References:  <200502240244.03104.dejan.lesjak@ijs.si> <200502262246.43689.dejan.lesjak@ijs.si> <1109520399.19005.4.camel@localhost> <200502281848.36373.dejan.lesjak@ijs.si>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-zmnX72h7XaiPV4xv67sb
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mo, 2005-02-28 at 18:48 +0100, Dejan Lesjak wrote:
> > have time I will try out any other patches for the keyboard driver.
>=20
> Gah, I was afraid of that. This was so far copy-pasted from old keyboard=20
> driver. Well at least some keys work...:)
> Could you get X server up and then run xev(1) from console and see if the=
 keys=20
> that are not working produce any events. The ones we're looking for are=20
> KeyPress and KeyRelease and from those, keycode and keysym are interestin=
g.=20
> Unfortunately syscons doesn't work on my Ultra5 so I can't check myself. =
If=20
> keycodes do come we'll have to make them translate to proper keysyms. If=20
> there are no events sent at all, you could also try this without any patc=
hes=20
> and see if those break getting keycodes (in which case I've botched=20
> copy-paste in the first place)...
>=20
>=20
> Dejan
>=20
Well, I just played a little bit on my keyboard and all ef the key
(except the "cut"-key) produce events. An example: Pressing "h" and then
"n" gives:

KeyPress event, serial 20, synthetic YES, window 0xe00001,
    root 0x34, subw 0x40005f, time 497408, (7,4), root:(739,37),
    state 0x0, keycode 89 (keysym 0x68, h), same_screen YES,
    XLookupString gives 1 bytes: (68) "h"

KeyPress event, serial 20, synthetic YES, window 0xe00001,
    root 0x34, subw 0x40005f, time 497691, (7,4), root:(739,37),
    state 0x0, keycode 199 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

Some things I noticed: On the num-pad only the "+-*/" work, return
doesn't (work state 0x0, keycode 156 (keysym 0x0, NoSymbol) ) and shift
doesn't (work state 0x0, keycode 205 (keysym 0x0, NoSymbol) ).


--=20
Matthias Muthmann <mmuthmann@gmx.net>

--=-zmnX72h7XaiPV4xv67sb
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBCJBbceA8bkj+29gMRAvr4AJ93MKkdWUgHGUmWWLIgUSacg6VvMACbBdSb
07Ix5k5KOd2XiII0TVfpmjo=
=VkFc
-----END PGP SIGNATURE-----

--=-zmnX72h7XaiPV4xv67sb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1109661404.19204.8.camel>