From owner-freebsd-sparc64@FreeBSD.ORG Tue Mar 1 07:16:43 2005 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38CAC16A4CE for ; Tue, 1 Mar 2005 07:16:43 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3105F43D2F for ; Tue, 1 Mar 2005 07:16:42 +0000 (GMT) (envelope-from mmuthmann@gmx.net) Received: (qmail invoked by alias); 01 Mar 2005 07:16:40 -0000 Received: from p548058CF.dip.t-dialin.net (EHLO [192.168.0.2]) (84.128.88.207) by mail.gmx.net (mp022) with SMTP; 01 Mar 2005 08:16:40 +0100 X-Authenticated: #1009348 From: Matthias Muthmann To: freebsd-sparc64@freebsd.org 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zmnX72h7XaiPV4xv67sb" Date: Tue, 01 Mar 2005 08:16:44 +0100 Message-Id: <1109661404.19204.8.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 X-Y-GMX-Trusted: 0 cc: Dejan Lesjak Subject: Re: Problems with X.. X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 07:16:43 -0000 --=-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 --=-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--