[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: multiple keyboards with different bindings
From:       Peter Hutterer <peter.hutterer () who-t ! net>
Date:       2011-05-26 22:17:03
Message-ID: 20110526221702.GA17792 () barra ! bne ! redhat ! com
[Download RAW message or body]

On Thu, May 26, 2011 at 07:51:47AM -0700, Peter Sanford wrote:
> Ahh. Under GDM I have the problem, but with startx the two keyboards
> are configured correctly. I guess I'll take this issue over to the
> fine GDM folks.

CC-ing xorg list, so the solution is public.

Cheers,
  Peter
 
> On Tue, May 24, 2011 at 8:24 PM, Peter Hutterer
> <peter.hutterer@who-t.net> wrote:
> > 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
> > _______________________________________________
> > xorg@lists.freedesktop.org: X.Org support
> > Archives: http://lists.freedesktop.org/archives/xorg
> > Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> > Your subscription address: psanford@gmail.com
> > 
> 
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic