problems with keyboard-layout: evdev-Problem?

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 19 00:59:53 PST 2013


On Mon, Nov 04, 2013 at 01:42:03PM +0100, Daniel Spannbauer wrote:
> 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

silly question, but do any other layouts work? is the log different for the
other keyboards?

if you don't have a desktop environment changing the layout then the above
should work, provided the input class is applied.

Cheers,
   Peter

> 
> 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
 


More information about the xorg mailing list