Evdev keyboard sends keycodes but no keysyms

Peter Hutterer peter.hutterer at who-t.net
Wed Nov 17 19:17:45 PST 2010


On Thu, Nov 18, 2010 at 12:26:27AM +0100, Simon Thum wrote:
> On 11/17/10 00:01, Peter Hutterer wrote:
> > 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.
> That seems strange - I got an empty /var/cache/xkb (except for a
> README.compiled, might be installed by gentoo). Yet still, I'm getting
> that messag three timese: XKB: Reusing cached keymap.
> 
> From my reading of the code that means it's initializing 4 keyboards?

It's a server bug, tracked it down to the merge commit (see below) but I
need to figure out whether it's the conflicts I fixed in that commit that
broke it or just a bad bisect. If you find the time - please go for it.
(note that the topmost commit is a local one, the rest is from the public
tree)

git bisect start
# bad: [6f2753fbcfb3aabe3c32199f0e77bbaabcc5fd21] xkb: random constification all over the place.
git bisect bad 6f2753fbcfb3aabe3c32199f0e77bbaabcc5fd21
# good: [693e92d4049ee76d074737480f3fc1bb236f4278] xfree86: add xf86OptionListDuplicate()
git bisect good 693e92d4049ee76d074737480f3fc1bb236f4278
# good: [32de0c19075b886c2fc03f6ad73d9c15df1b2309] Move replay-window check from ComputeFreezes to CheckDeviceGrabs.
git bisect good 32de0c19075b886c2fc03f6ad73d9c15df1b2309
# good: [a52efb096e166e325deb3d6b502671f339a4fa15] Merge remote branch 'sthibaul/master-iopl'
git bisect good a52efb096e166e325deb3d6b502671f339a4fa15
# good: [4ed4915bc0fbe9b4419ca4a0d4e43c2fee032ae9] Merge remote branch 'whot/for-keith'
git bisect good 4ed4915bc0fbe9b4419ca4a0d4e43c2fee032ae9
# bad: [5cf3b654fccf09de63a3f983c85096cda78fb693] input: move proximity state into ProximityClassRec.
git bisect bad 5cf3b654fccf09de63a3f983c85096cda78fb693
# bad: [9696c782c8cb86b06d12949899582533a2e04cfe] test: valuator_mask tests.
git bisect bad 9696c782c8cb86b06d12949899582533a2e04cfe
# bad: [675f4a8525d29ebad783351e17be785b2f32b2e8] Abstract valuator masks through a set of APIs.
git bisect bad 675f4a8525d29ebad783351e17be785b2f32b2e8
# bad: [675f4a8525d29ebad783351e17be785b2f32b2e8] Abstract valuator masks through a set of APIs.
git bisect bad 675f4a8525d29ebad783351e17be785b2f32b2e8
# good: [23229c7ce5970516b97a1cc12e65257ff65ab9a7] test: Fix make distcheck when not building unit tests
git bisect good 23229c7ce5970516b97a1cc12e65257ff65ab9a7
# bad: [fc48a8f9f5f66e591b3e39211d44ce68267303f8] Add CountBits() to the server.
git bisect bad fc48a8f9f5f66e591b3e39211d44ce68267303f8
# bad: [eaf0b6a4d83d49930d21d5191f335fcac962632e] Merge branch 'master' into input-api
git bisect bad eaf0b6a4d83d49930d21d5191f335fcac962632e


Cheers,
  Peter




More information about the xorg mailing list