problems with keyboard-layout: evdev-Problem?

Daniel Spannbauer ds at marco.de
Mon Nov 4 04:42:03 PST 2013


Hello,

on a Machine with opensuse 12.3 (X.Org X Server 1.13.2) the keyboard
layout is not always set correctly.
WIth our self developed keyboard (for explosive environments, connected
via usb) the layout is always US on a plain X-Server (started with
/usr/bin/X :0 vt07 -r -br -dpms -s off) with a started xterm.
In xorg.conf.d there is a german keyboard configured:

Section "InputClass"
        Identifier "LocalKeyboard"
        MatchIsKeyboard "on"
        Option  "XkbLayout"     "de"
        Option  "XkbVariant"    "nodeadkeys"
EndSection

According to xorg.0.log the keyboard is recognized correctly and the
german layout is used:

[    12.142] (II) XINPUT: Adding extended input device "USB-Serial
Controller" (type: KEYBOARD, id 9)
[    12.142] (**) Option "xkb_rules" "evdev"
[    12.142] (**) Option "xkb_model" "evdev"
[    12.142] (**) Option "xkb_layout" "de"
[    12.142] (**) Option "xkb_variant" "nodeadkeys"

But the layout is definitly a US-Layout (the "/"-Key gives a "-", etc...).

If i connect a normaly usb-keyboard (microsoft USB keyboard, our
keyboard is also connected), the layout is correct. After pressing only
one button (doesn't matter which one) on the microsoft keyboard then the
layout on our keyboard is also german.

Any hints about this? there is also a bug-report on opensuse where
others have also a similar problem (but with bluetooth keyboards)
https://bugzilla.novell.com/show_bug.cgi?id=682903

Regards

Daniel


-- 
Daniel Spannbauer                         Systemadministration
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4-6, D 87727 Babenhausen     Mobil +49 171 4033220
http://www.marco.de/                      Email ds at marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München


More information about the xorg mailing list