From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 9 00:53:02 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 ECC9916A4CE for ; Wed, 9 Mar 2005 00:53:02 +0000 (GMT) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C754143D1F for ; Wed, 9 Mar 2005 00:53:01 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost [IPv6:::1]) by niobe.ijs.si (Postfix) with ESMTP id 064551DD56E; Wed, 9 Mar 2005 01:53:01 +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 06708-01-31; Wed, 9 Mar 2005 01:52:48 +0100 (CET) Received: from metatron.ijs.si (metatron.ijs.si [193.2.4.152]) by niobe.ijs.si (Postfix) with ESMTP id 4A1551DD6D0; Wed, 9 Mar 2005 01:52:47 +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 EBCFF1C00715; Wed, 9 Mar 2005 01:52:46 +0100 (CET) From: Dejan Lesjak To: "Michael G. Jung" Date: Wed, 9 Mar 2005 01:52:45 +0100 User-Agent: KMail/1.7.2 References: <9D7F0DF3FB16D41184010050DA90E00001C874CE@neo.confluentasp.local> In-Reply-To: <9D7F0DF3FB16D41184010050DA90E00001C874CE@neo.confluentasp.local> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503090152.46323.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, 09 Mar 2005 00:53:03 -0000 On Wednesday 09 of March 2005 01:33, Michael G. Jung wrote: > Ok, let me clarify - I put in the config file ( it was probed without > these values ) > > Option "XkbRules" "xorg" > Option "XkbModel" "pc104" > Option "XkbLayout" "us" > > in the configuration generated from X -configure during my bouts trying > to get X working. (some weeks ago)..... > > I just re-ran "X -configure" and only modified my mouse for serial use... > it probed keyboard type > > pc101 - which works also... Here is the bit of X.log I think you would be > interested in - > > this is from "X -configure" with your single patch as of this evening. > > (**) Keyboard0: Core Keyboard > (**) Option "Protocol" "standard" > (**) Keyboard0: Protocol: standard > (**) Option "AutoRepeat" "500 30" > (**) Option "XkbRules" "xorg" > (**) Keyboard0: XkbRules: "xorg" > (**) Option "XkbModel" "pc101" > (**) Keyboard0: XkbModel: "pc101" > (**) Option "XkbLayout" "us" > (**) Keyboard0: XkbLayout: "us" > (**) Option "CustomKeycodes" "off" > (**) Keyboard0: CustomKeycodes disabled > (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) > (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE) > > the keyboard section created from "X -configure" now is > > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > EndSection > > ------------------------------------------------------------------- Indeed it uses pc101 model. I kind of assumed it would use sun type5 model, and didn't even consider suggesting using one of pc models, go figure :) > > I do have one strange behaviour I've noticed in K - this may be a K > issue.... > > In KWord shift of 0-9 displays drop-down-menus.... Hmmmmm.... Judging by what you get from xev, this would be K related. Any special settings in kcontrol (Regional & Accesibility -> Keyboard Layout)? > Shift 0-9 keys work fine in xterm and vi and display ~!@#$%.... etc. > > as expected. > > Here is some more xev sequences using keyboard "pc101" layout "us" > > note that 0-9, a-z, A-Z, PG/UP, keypad shifted and unshifted seem ok, > > function key F1 still brings up KHELP.......... > > This is the output for SHIFT-1 above the letter Q > > KeyPress event, serial 23, synthetic NO, window 0x1000001, > root 0x34, subw 0x1000002, time 907418, (53,34), root:(549,54), > state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, > XLookupString gives 0 bytes: > > KeyPress event, serial 26, synthetic NO, window 0x1000001, > root 0x34, subw 0x1000002, time 908178, (53,34), root:(549,54), > state 0x11, keycode 10 (keysym 0x21, exclam), same_screen YES, > XLookupString gives 1 bytes: (21) "!" > > KeyRelease event, serial 26, synthetic NO, window 0x1000001, > root 0x34, subw 0x1000002, time 908322, (53,34), root:(549,54), > state 0x11, keycode 10 (keysym 0x21, exclam), same_screen YES, > XLookupString gives 1 bytes: (21) "!" > > KeyRelease event, serial 26, synthetic NO, window 0x1000001, > root 0x34, subw 0x1000002, time 908734, (53,34), root:(549,54), > state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, > XLookupString gives 0 bytes: > > This is the output for SHIFT-2 above the letter W > > KeyPress event, serial 26, synthetic NO, window 0x1000001, > root 0x34, subw 0x1000002, time 919331, (53,34), root:(549,54), > state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, > XLookupString gives 0 bytes: > > KeyPress event, serial 26, synthetic NO, window 0x1000001, > root 0x34, subw 0x1000002, time 920043, (53,34), root:(549,54), > state 0x11, keycode 11 (keysym 0x40, at), same_screen YES, > XLookupString gives 1 bytes: (40) "@" > > KeyRelease event, serial 26, synthetic NO, window 0x1000001, > root 0x34, subw 0x1000002, time 920147, (53,34), root:(549,54), > state 0x11, keycode 11 (keysym 0x40, at), same_screen YES, > XLookupString gives 1 bytes: (40) "@" > > KeyRelease event, serial 26, synthetic NO, window 0x1000001, > root 0x34, subw 0x1000002, time 920345, (53,34), root:(549,54), > state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, > XLookupString gives 0 bytes: > > Do these scan codes look correct? Yes, these are expected cedes from those keys. I don't know why K remaps them or something though. > Thanks again! No no no, Thank you! By now I would probably be recreating keymaps on sun keyboards from scratch if you haven't pointed out the model that gets used by default on sparc keyboards on FreeBSD :) Dejan