Evdev keyboard sends keycodes but no keysyms

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 16 15:01:08 PST 2010


On Wed, Nov 17, 2010 at 01:33:34AM +0100, Simon Thum wrote:
> Hi all,
> 
> no dice so far. I get some additional lines:
> 
> [ 16085.444] (II) config/udev: Adding input device AT Translated Set 2
> keyboard (/dev/input/event4)
> [ 16085.444] (**) AT Translated Set 2 keyboard: Applying InputClass
> "evdev keyboard catchall"
> [ 16085.444] (**) AT Translated Set 2 keyboard: Applying InputClass
> "keyboard-de"
> [ 16085.444] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
> [ 16085.444] (**) AT Translated Set 2 keyboard: always reports core events
> [ 16085.444] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event4"
> [ 16085.448] (--) AT Translated Set 2 keyboard: Found keys
> [ 16085.448] (II) AT Translated Set 2 keyboard: Configuring as keyboard
> [ 16085.448] (**) Option "config_info"
> "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
> [ 16085.448] (II) XINPUT: Adding extended input device "AT Translated
> Set 2 keyboard" (type: KEYBOARD)
> [ 16085.448] (**) Option "xkb_rules" "evdev"
> [ 16085.448] (**) Option "xkb_model" "evdev"
> [ 16085.448] (**) Option "xkb_layout" "us"
> [ 16085.448] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
> [ 16085.448] (II) XKB: Reusing cached keymap
> [ 16085.448] (II) config/udev: Adding input device SynPS/2 Synaptics
> TouchPad (/dev/input/event7)
> 
> I even added the option "xkb_layout", recompiled the whole stuff and so on.
> 
> I'm using startx -- -logverbose, is that OK?

try -logverbose 12 or something, otherwise you'll just increase by one.
also, try to remove the cached keymaps, I wonder if something goes wrong
there.

Cheers,
  Peter
 
> On 11/15/10 06:34, Dan Nicholson wrote:
> > On Sun, Nov 14, 2010 at 8:19 PM, Peter Hutterer
> > <peter.hutterer at who-t.net> wrote:
> >> On Sun, Nov 14, 2010 at 02:11:25PM -0800, walt wrote:
> >>> On 11/14/2010 09:11 AM, Simon Thum wrote:
> >>>> Hi all,
> >>>>
> >>>> yesterday I recompiled xorg, updating from a ca. 3 week old install
> >>>> using gentoo's live ebuilds. I went into an amusing bug which I narrowed
> >>>> down a bit.
> >>>>
> >>>> I'm having the following xorg.conf.d fragment:
> >>>>
> >>>> Section "InputClass"
> >>>>         Identifier "keyboard-de"
> >>>>         MatchIsKeyboard "on"
> >>>>         Option "XKBOptions" "terminate:ctrl_alt_bksp"
> >>>>         #Option "XKBVariant" "nodeadkeys"
> >>>>         Option "XKBLayout" "de"
> >>>> EndSection
> >>>>
> >>>> Funny enough, invoking
> >>>>
> >>>>> setxkbmap -rules evdev -layout de -variant nodeadkeys
> >>>>
> >>>> brings back my keyboard as intended!
> >>>
> >>> I notice that your Xorg log says
> >>>
> >>> [  4702.616] (**) Option "xkb_rules" "evdev"
> >>> [  4702.616] (**) Option "xkb_model" "evdev"
> >>> [  4702.616] (**) Option "xkb_layout" "us"   <================ ???
> >>> [  4702.616] (**) Option "xkb_variant" "nodeadkeys"
> >>> [  4702.616] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
> >>
> >> yeah, I noticed this as well. there's no nodeadkeys variant for us, which
> >> would explain the NoSymbol issue. Now the real issue is why it doesn't take
> >> your "de" setting...
> > 
> > Running with -logverbose will give more details on the merging of
> > InputClass settings.
> > 
> > --
> > Dan



More information about the xorg mailing list