Evdev keyboard sends keycodes but no keysyms
Simon Thum
simon.thum at gmx.de
Wed Nov 17 15:26:27 PST 2010
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?
Full log attached.
>
> 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
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Xorg.0.log
URL: <http://lists.x.org/archives/xorg/attachments/20101118/f94c8d2d/attachment.ksh>
More information about the xorg
mailing list