multiple keyboards with different bindings

Peter Hutterer peter.hutterer at who-t.net
Tue May 24 20:24:45 PDT 2011


On Thu, May 19, 2011 at 06:56:09PM -0700, Peter Sanford wrote:
> I went ahead and changed the config like you suggested (separate
> xorg.conf.d files using MatchUSBID). I have the same problem as
> before: which ever config is applied second get applied to both
> keyboards (overriding the first setting). I confirmed this by
> testing with a different keyboard that caused the configuration to
> be applied in the opposite order from my first test.
> 
> Does this mean that the XkbOptions are being applied to the virtual
> core keyboard instead of the slave keyboards?
> 
> Here is the log output:
> 
> [   990.609] (**) Apple Inc. Apple Internal Keyboard / Trackpad:
> Applying InputClass "evdev keyboard catchall"
> [   990.609] (**) Apple Inc. Apple Internal Keyboard / Trackpad:
> Applying InputClass "Apple Keyboards"
> [   990.609] (II) Using input driver 'evdev' for 'Apple Inc. Apple
> Internal Keyboard / Trackpad'
> [   990.609] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
> [   990.609] (**) Apple Inc. Apple Internal Keyboard / Trackpad:
> always reports core events
> [   990.609] (**) Apple Inc. Apple Internal Keyboard / Trackpad:
> Device: "/dev/input/event8"
> [   990.610] (--) Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
> [   990.610] (II) Apple Inc. Apple Internal Keyboard / Trackpad:
> Configuring as keyboard
> [   990.610] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb4/4-3/4-3:1.0/input/input8/event8"
> [   990.610] (II) XINPUT: Adding extended input device "Apple Inc.
> Apple Internal Keyboard / Trackpad" (type: KEYBOARD)
> [   990.610] (**) Option "xkb_rules" "evdev"
> [   990.610] (**) Option "xkb_model" "pc105"
> [   990.610] (**) Option "xkb_layout" "us"
> [   990.610] (**) Option "xkb_options" "altwin:swap_lalt_lwin,caps:super"
> ...
> [   990.753] (**) KINESIS FREESTYLE KB700 KB700 Kinesis Freestyle:
> Applying InputClass "evdev keyboard catchall"
> [   990.753] (**) KINESIS FREESTYLE KB700 KB700 Kinesis Freestyle:
> Applying InputClass "Keyboard Catch All"
> [   990.753] (II) Using input driver 'evdev' for 'KINESIS FREESTYLE
> KB700 KB700 Kinesis Freestyle'
> [   990.753] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
> [   990.753] (**) KINESIS FREESTYLE KB700 KB700 Kinesis Freestyle:
> always reports core events
> [   990.753] (**) KINESIS FREESTYLE KB700 KB700 Kinesis Freestyle:
> Device: "/dev/input/event9"
> [   990.754] (--) KINESIS FREESTYLE KB700 KB700 Kinesis Freestyle:
> Found keys
> [   990.754] (II) KINESIS FREESTYLE KB700 KB700 Kinesis Freestyle:
> Configuring as keyboard
> [   990.754] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.1/usb2/2-4/2-4.2/2-4.2:1.0/input/input9/event9"
> [   990.754] (II) XINPUT: Adding extended input device "KINESIS
> FREESTYLE KB700 KB700 Kinesis Freestyle" (type: KEYBOARD)
> [   990.754] (**) Option "xkb_rules" "evdev"
> [   990.754] (**) Option "xkb_model" "pc105"
> [   990.754] (**) Option "xkb_layout" "us"
> [   990.754] (**) Option "xkb_options" "caps:super,terminate:ctrl_alt_bksp"
> 
> You can see in the log that the apple keyboard got the "Apple
> Keyboards" input class and the kinesis keyboard got the "Keyboard
> Catch All" class. But when I actually use the keyboards both act as
> if they are using the "Keyboard Catch All" class.

is this on a plain X server or with a desktop environment running? if so,
does the DE overwrite the keyboard settings?
 
Cheers,
  Peter



More information about the xorg mailing list