From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 2 09:50:47 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 1B50216A4CE for ; Wed, 2 Mar 2005 09:50:47 +0000 (GMT) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D9DB43D4C for ; Wed, 2 Mar 2005 09:50:46 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost [IPv6:::1]) by niobe.ijs.si (Postfix) with ESMTP id 5B0791DD42D; Wed, 2 Mar 2005 10:50:45 +0100 (CET) Received: from niobe.ijs.si ([127.0.0.1]) by localhost (niobe.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71005-01-58; Wed, 2 Mar 2005 10:50:36 +0100 (CET) Received: from metatron.ijs.si (metatron.ijs.si [193.2.4.152]) by niobe.ijs.si (Postfix) with ESMTP id A4E691DD41C; Wed, 2 Mar 2005 10:50:36 +0100 (CET) Received: from idefix.ijs.si (idefix.ijs.si [193.2.4.33]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by metatron.ijs.si (Postfix) with ESMTP id 158371C0073C; Wed, 2 Mar 2005 10:50:36 +0100 (CET) From: Dejan Lesjak To: Matthias Muthmann Date: Wed, 2 Mar 2005 10:50:35 +0100 User-Agent: KMail/1.7.2 References: <200502240244.03104.dejan.lesjak@ijs.si> <200502281848.36373.dejan.lesjak@ijs.si> <1109661404.19204.8.camel@localhost> In-Reply-To: <1109661404.19204.8.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503021050.35620.dejan.lesjak@ijs.si> X-Virus-Scanned: amavisd-new at ijs.si cc: freebsd-sparc64@freebsd.org 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: Wed, 02 Mar 2005 09:50:47 -0000 On Tuesday 01 of March 2005 08:16, Matthias Muthmann wrote: > 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) ). Aha, so at least the keys work, they are only being mapped to strange codes. There's one thing I've missed when trying to bring sparc related stuff from keyboard driver. Can you try the whole reinstall fun with additional patch here: http://www.ijs.si/~lesi/xorg/patch-bsd_KbdMap.c This is supposed to prevent remapping so called "internet keys" for PC keyboards on sparc. Those events above were with patches applied, right? If the above patch fails, could you also try getting keycodes and keysyms with plain xorg-server version from ports? (I don't know if I'll be able to come with final solution in which case this data would be valuable when submitting bug report to X.Org.) Dejan