9.3: Keyboard keymaps and xorg
Here is a quick summary of a keyboard configuration problem I have exposed to the Suse support team, and the suse-linux-e mailing list (with so far, no solution on sight): I recently installed successfully the Suse 9.3 Pro distribution. During the installation, I choose and test with success an azerty, Belgium layout keyboard. All the installation went fine. But now the installation is completed (and online updates done), the keyboard is no more working properly under KDE (nor under FVWM). I can still use it as an AZERTY keyboard, but the Belgium layout is missing (I can not e.g. print the e acute or the aroba, located on the "2" key.) The keyboard is working properly from a console at runlevel 3 thought. There is no way I can configure the keyboard using yast as none of the changes I make are taken in account. From Yast > Monitor and Screen (Sax2), I got the following message after the test stage: (WW) MGA(0): Option "CalcAlgorithm" is not used (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap I cannot use SaX from runlevel 3 as I'm faced to black screen with just the mouse pointer showing up. When I left click, a small banner displaying "Desk: 0 geometry" pops up, but nothing else works, I have to reset the computer to get out.
From a console, the command "setxkbmap -v 10" return this:
Setting verbose level to 10 locale is C Applied rules from xfree86: model: pc104 layout: be variant: basic Trying to build keymap using the following components: keycodes: sfree86+aliases(azerty) types: complete compat: complete symbols: pc/pc(104)+pc/be(basic) geometry: pc(pc104) Error loading new keyboard description I tried to re-install the main xorg package, but it failed. Here is the error output: ERROR(InstTarget:E_RpmDB_subprocess_failed) --- /etc/permissions.easy /etc/permissions.local setting /usr/X11R6/bin/Xorg to root:root 4711. (wrong permissions 0711) Finished. moving XF86Config to XF86Config-20050615 2005-06-15 11:06:43 xorg-x11-6.8.2-30.i586.rpm install failed rpm output: error: unpacking of archive failed on file /etc/X11/xkb/compat/accessx: cpio: rename failed - Permission denied I noticed these lines from /var/log/Xorg.0.log : (**) Option "CoreKeyboard" (**) Keyboard[0]: Core Keyboard (**) Option "Protocol" "Standard" (**) Keyboard[0]: Protocol: Standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xfree86" (**) Keyboard[0]: XkbRules: "xfree86" (**) Option "XkbModel" "pc104" (**) Keyboard[0]: XkbModel: "pc104" (**) Option "XkbLayout" "be" (**) Keyboard[0]: XkbLayout: "be" (**) Option "CustomKeycodes" "off" (**) Keyboard[0]: CustomKeycodes disabled (**) Option "Protocol" "explorerps/2" (**) Mouse[1]: Device: "/dev/input/mice" (**) Mouse[1]: Protocol: "explorerps/2" (**) Option "CorePointer" (**) Mouse[1]: Core Pointer (**) Option "Device" "/dev/input/mice" (==) Mouse[1]: Emulate3Buttons, Emulate3Timeout: 50 (==) Mouse[1]: Buttons: 3 (II) XINPUT: Adding extended input device "Mouse[1]" (type: MOUSE) (II) XINPUT: Adding extended input device "Keyboard[0]" (type: KEYBOARD) (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap And from /var/log/SaX.log : 13-Jun 23:23:57 <X> Logging File contents: /tmp/sax2-8841/xorg.conf [ <content of xorg.conf here> ] sh: -c: line 0: unexpected EOF while looking for matching `'' sh: -c: line 1: syntax error: unexpected end of file 13-Jun 23:24:10 <X> Logging File contents: /var/log/xlog [ < ... > (**) Option "CoreKeyboard" (**) Keyboard[0]: Core Keyboard (**) Option "Protocol" "Standard" (**) Keyboard[0]: Protocol: Standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xfree86" (**) Keyboard[0]: XkbRules: "xfree86" (**) Option "XkbModel" "pc104" (**) Keyboard[0]: XkbModel: "pc104" (**) Option "XkbLayout" "be" (**) Keyboard[0]: XkbLayout: "be" (**) Option "CustomKeycodes" "off" (**) Keyboard[0]: CustomKeycodes disabled (**) Option "Protocol" "explorerps/2" (**) Mouse[1]: Device: "/dev/input/mice" (**) Mouse[1]: Protocol: "explorerps/2" (**) Option "CorePointer" (**) Mouse[1]: Core Pointer (**) Option "Device" "/dev/input/mice" (==) Mouse[1]: Emulate3Buttons, Emulate3Timeout: 50 (==) Mouse[1]: Buttons: 3 (II) XINPUT: Adding extended input device "Mouse[1]" (type: MOUSE) (II) XINPUT: Adding extended input device "Keyboard[0]" (type: KEYBOARD) The XKEYBOARD keymap compiler (xkbcomp) reports: > Error: Can't find file "pc" for geometry include > Exiting > Abandoning geometry file "default" Errors from xkbcomp are not fatal to the X server (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap < ... > ] I also tried to change the Option "XkbLayout" "be" to Option "XkbLayout" "be-latin1" in the files: /etc/X11/xorg.conf /etc/X11/xorg.conf-Linux1 /etc/X11/xorg.conf.saxsave /etc/X11/XF86Config hit CTRL-ALT-BACKSPACE and re-log in ... No improvement. (I restored everything to the initial "be" as to not further mess the X config, and because of the "Please do not edit this file" :-) ) BTW, the "be-latin1" for XkbLayout is linked to the file /usr/share/kbd/keymaps/i386/azerty/be-latin1.map.gz Am I right ? I haven't found a be-latin1 file somewhere else.) Any idea as to what is wrong here (and how to solve this) ? AmigaPhil, world citizen. _No MS-HTML mail please_ PGP key: 0x9C07F6C1 -----BEGIN NSA TEASER----- The following garbage may or may not contain crypted message. At least you now know I'm an advocate for the respect of privacy. StSlHpnWJvtpHrntyWyVtMbxHHCIvk5nayVYyqRza5FFHHtHvBLlROy0cVTAFFovAEpVDUH0 EUGzMxjUzMxOtVqOzUEVFPtdpShIlDTvtD1MVAJlpVyIRISlFRAOvEzqOB1tcKD3EIpqIlaF RyOVHjIVRJpttSJOWIzd5byIMVELFD6JW2xMOy5zILqOFODvMKRalGM3EHNtOVpvvOuPGf== -----END NSA TEASER----- DREAM: Just testing my brain!! zzzzzzzzzz
On Jun 15, 05 23:47:27 +0100, AmigaPhil@ping.be wrote:
Here is a quick summary of a keyboard configuration problem I have exposed to the Suse support team, and the suse-linux-e mailing list (with so far, no solution on sight):
Missing /etc/X11/xorg.conf. And /var/log/Xorg.0.log.
I cannot use SaX from runlevel 3 as I'm faced to black screen with just the mouse pointer showing up. When I left click, a small banner displaying "Desk: 0 geometry" pops up, but nothing else works, I have to reset the computer to get out.
This sounds like you have an ATI card with two connectors. You could see the SaX2 interface on the other connector.
Setting verbose level to 10 locale is C Applied rules from xfree86: model: pc104 layout: be variant: basic Trying to build keymap using the following components: keycodes: sfree86+aliases(azerty)
Hm - sfree86 - is this a typo, or a sax error? Marcus?
types: complete compat: complete symbols: pc/pc(104)+pc/be(basic) geometry: pc(pc104) Error loading new keyboard description
The XKEYBOARD keymap compiler (xkbcomp) reports: > Error: Can't find file "pc" for geometry include
Check whether you have /usr/lib/X11/xkb/geometry/pc. If not, there's something wrong with your installation.
I also tried to change the
Option "XkbLayout" "be" to Option "XkbLayout" "be-latin1"
This will *not* work.
BTW, the "be-latin1" for XkbLayout is linked to the file /usr/share/kbd/keymaps/i386/azerty/be-latin1.map.gz Am I right ? I haven't found a be-latin1 file somewhere else.)
The X keymaps have nothing to do with the console keymaps. At the moment. Matthias -- Matthias Hopf <mhopf@suse.de> __ __ __ Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@mshopf.de Phone +49-911-74053-715 __) |_| __) |__ labs www.mshopf.de
participants (2)
-
AmigaPhil@ping.be
-
Matthias Hopf