From owner-freebsd-sparc64@FreeBSD.ORG Mon Feb 28 17:48:55 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 8C18716A4CE for ; Mon, 28 Feb 2005 17:48:55 +0000 (GMT) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2EB543D54 for ; Mon, 28 Feb 2005 17:48:54 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost [IPv6:::1]) by niobe.ijs.si (Postfix) with ESMTP id E86F51DD41C; Mon, 28 Feb 2005 18:48:53 +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 ESMTP id 36943-01; Mon, 28 Feb 2005 18:48:43 +0100 (CET) Received: from metatron.ijs.si (metatron.ijs.si [193.2.4.152]) by niobe.ijs.si (Postfix) with ESMTP id E8D651DD578; Mon, 28 Feb 2005 18:48:37 +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 DCC601C00726; Mon, 28 Feb 2005 18:48:36 +0100 (CET) From: Dejan Lesjak To: Matthias Muthmann Date: Mon, 28 Feb 2005 18:48:35 +0100 User-Agent: KMail/1.7.2 References: <200502240244.03104.dejan.lesjak@ijs.si> <200502262246.43689.dejan.lesjak@ijs.si> <1109520399.19005.4.camel@localhost> In-Reply-To: <1109520399.19005.4.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502281848.36373.dejan.lesjak@ijs.si> X-Virus-Scanned: amavisd-new at ijs.si cc: Aaron Dudek 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: Mon, 28 Feb 2005 17:48:55 -0000 On Sunday 27 of February 2005 17:06, Matthias Muthmann wrote: > On Sa, 2005-02-26 at 22:46 +0100, Dejan Lesjak wrote: > > Hmm, can you try patch at http://www.ijs.si/~lesi/xorg/patch-bsd_kbd.c in > > addition to previous one. These are copied over from old keyboard driver > > code. The keys you've mentioned - do they not work at all or do they > > produce weird codes? > > > > > > Dejan > > Your 2nd patch does'nt seem to do anything... but I could be wrong > because I cant't do very much without the last row of letters. They > still don't work: The don't do anything - no strange letters, no beeps > no other effects. I hope this helped - and thanks for your efforts! If I > have time I will try out any other patches for the keyboard driver. Gah, I was afraid of that. This was so far copy-pasted from old keyboard 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 that are not working produce any events. The ones we're looking for are KeyPress and KeyRelease and from those, keycode and keysym are interesting. Unfortunately syscons doesn't work on my Ultra5 so I can't check myself. If keycodes do come we'll have to make them translate to proper keysyms. If there are no events sent at all, you could also try this without any patches and see if those break getting keycodes (in which case I've botched copy-paste in the first place)... Dejan