Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2017 07:34:53 +0200
From:      =?UTF-8?Q?Jan_Kokem=c3=bcller?= <jan.kokemueller@gmail.com>
To:        Anthony Jenkins <Scoobi_doo@yahoo.com>, Vladimir Kondratyev <vladimir@kondratyev.su>
Cc:        current@freebsd.org, freebsd-mobile@freebsd.org
Subject:   Re: CFT: EVDEV support in psm(4) driver
Message-ID:  <7b6cf8e4-e330-9149-8fae-dfde5e9e01bf@gmail.com>
In-Reply-To: <420c37d0-79bf-ac53-58aa-dcf1b99bd5c7@yahoo.com>
References:  <5fa9225de944d6cdac0b7e5749b452a9@kondratyev.su> <5446ec03-c501-a369-01fc-e58a7d8712d9@gmail.com> <420c37d0-79bf-ac53-58aa-dcf1b99bd5c7@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 08.06.2017 01:32, Anthony Jenkins wrote:
> I'm seeing flakiness in X11 (KDE) with evdev enabled - a couple keys are
> reporting multiple (wrong) events and some aren't emitting any events
> (or they are, but they're NoSymbol):

It is true that the Evdev drivers emit other keycodes compared to the
'legacy' drivers.
I'm using this command to specify the correct mapping ("-rules evdev" is
the important part):

    setxkbmap -rules evdev -layout us -variant altgr-intl -option ctrl:nocaps,compose:menu

I'm not sure if this is enough for KDE. I see 'Option "xkb_rules"
"evdev"' in your log, so the correct mapping should already be used?
Maybe KDE reverts this somehow. FWIW, when I press the arrow keys in xev
I see the following (correct) output:


KeyPress event, serial 33, synthetic NO, window 0x4200001,
    root 0xc2, subw 0x0, time 820816, (158,533), root:(960,556),
    state 0x0, keycode 113 (keysym 0xff51, Left), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4200001,
    root 0xc2, subw 0x0, time 820911, (158,533), root:(960,556),
    state 0x0, keycode 113 (keysym 0xff51, Left), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x4200001,
    root 0xc2, subw 0x0, time 821494, (158,533), root:(960,556),
    state 0x0, keycode 111 (keysym 0xff52, Up), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4200001,
    root 0xc2, subw 0x0, time 821565, (158,533), root:(960,556),
    state 0x0, keycode 111 (keysym 0xff52, Up), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False


Cheers,
Jan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7b6cf8e4-e330-9149-8fae-dfde5e9e01bf>