Two keyboards with different Layout

Alain alain.tissot at gmx.ch
Thu Sep 28 11:51:40 PDT 2006


X originally is not designed for multiple keyboards.
Have a look at xdmx. It acts like a proxy.

Alain.

----- Original Message ----- 
From: "Dieter Ripp" <ripp at systecnet.com>
To: <xorg at lists.freedesktop.org>
Sent: Thursday, 28. September 2006 18:01
Subject: Two keyboards with different Layout


> We are using on our embedded device Linux 2.6.12 with the x-server 6.8.2. 
> This device has a fixed Matrix-keyboard and the user can add an additional language depended USB-keyboard. 
> Both keyboards can be used parallel on the x-server. So far so good. 
> But if we change the layout of the PC keyboard (for Example German PC keyboard map), 
> the keys on the matrix-keyboard are also changed. I tried serveral things in the xorg.conf files 
> with the InputDevice Section (see below). But without success. 
> 
> My question is now. Can I support two keyboards with different Layout ?
> Any information you can provide me would be greatly appreciated.
> 
> 
> Thanks in advance.
> 
> Dieter Ripp
> 
> 
> part of xorg.conf
> 
> # Matrix keyboard
> Section "InputDevice"
>        Identifier      "Keyboard0"
>        Driver          "kbd"
>        Option          "Dev Phys"      "it9000e/input0"
>        Option          "XkbRules"      "xorg"
>        Option          "XkbModel"      "pc105"
>        Option          "XkbLayout"     "us"
> #        Option          "XkbVariant"    "nodeadkeys"
> EndSection
> 
> Section "InputDevice"
>        Identifier      "Keyboard1"
>        Driver          "kbd"
>        Option          "XkbRules"      "xorg"
>        Option          "XkbModel"      "pc105"
>        Option          "XkbLayout"     "de"
>        Option          "XkbVariant"    "nodeadkeys"
> EndSection
> Section "ServerLayout"
>  Identifier   "Layout[all]"
>  InputDevice  "Keyboard0" "CoreKeyboard"
>  InputDevice  "Keyboard1" "ExtraKeyboard"
> EndSection
> 
> 
> The both input devices are found by 
> cat /proc/bus/input/devices
> 
> I: Bus=0003 Vendor=046a Product=0001 Version=0908
> N: Name="046a:0001"
> P: Phys=usb-pxa27x-1/input0
> H: Handlers=kbd 
> B: EV=120003 
> B: KEY=e080ffdf 1cfffff ffffffff fffffffe 
> B: LED=7 
> 
> I: Bus=0019 Vendor=0001 Product=0001 Version=0001
> N: Name="it9000e device driver"
> P: Phys=it9000e/input0
> H: Handlers=kbd 
> B: EV=3 
> B: KEY=9680 180001d fa37f47f d3ffdffd 
> 
> 
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>



More information about the xorg mailing list