From owner-freebsd-sparc64@FreeBSD.ORG Fri Sep 10 10:27:58 2004 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 63BE016A4CE for ; Fri, 10 Sep 2004 10:27:58 +0000 (GMT) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C6BE43D64 for ; Fri, 10 Sep 2004 10:27:57 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost.ijs.si [127.0.0.1]) by niobe.ijs.si (Postfix) with ESMTP id 8242F1DD5D4; Fri, 10 Sep 2004 12:27:56 +0200 (CEST) Received: from niobe.ijs.si ([193.2.4.66]) by localhost (niobe.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 78142-08; Fri, 10 Sep 2004 12:27:52 +0200 (CEST) Received: from metatron.ijs.si (metatron.ijs.si [193.2.4.152]) by niobe.ijs.si (Postfix) with ESMTP id A72601DD754; Fri, 10 Sep 2004 12:27:52 +0200 (CEST) Received: from idefix.ijs.si (clj8-144.dial-up.arnes.si [194.249.52.144]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by metatron.ijs.si (Postfix) with ESMTP id 2E3FA1C03590; Fri, 10 Sep 2004 12:27:52 +0200 (CEST) From: Dejan Lesjak To: Marius Strobl Date: Fri, 10 Sep 2004 12:27:51 +0200 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409101227.51303.dejan.lesjak@ijs.si> X-Virus-Scanned: by amavisd-new at ijs.si cc: freebsd-sparc64@freebsd.org Subject: Re: xorg-server anyone? 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: Fri, 10 Sep 2004 10:27:58 -0000 Marius Strobl wrote: > I guess you are refering to the former patch-xf86Events.c. It's part > of XFree 4.4 and Xorg 6.7 but I don't get why this was sufficient to > make Sun keyboards on FreeBSD working. Both XFree and Xorg have two > keyboard drivers, the old "built-in keyboard driver" and the new "kbd" > driver with MD modules. Both drivers basically assumes that every key- > board is a PC/AT one on FreeBSD. I think part of the explanation why > the XFree port works is that it uses the new driver while the Xorg port > uses the old one. Actually both "drivers" are splattered over a lot of > source and it's a bit hard to get which snippet belonges to what > driver. I also didn't find the knob to use either the old or the new > one, yet. I wrote an email to Eric hoping he has more insight and > could help clarify this but didn't get an answer, yet. > > Marius ABout the keyboard driver being used: both xfree 4.4 and xorg 6.7 use old 'keyboard' driver, xorg 6.8 will use the new 'kbd' driver. You can switch between them in "InputDevice" section for keyboard - for old driver: Driver "keyboard" for new one: Driver "kbd" Does switching between those two result in any difference?