From owner-freebsd-mobile@freebsd.org Thu Jun 8 05:34:58 2017 Return-Path: Delivered-To: freebsd-mobile@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30846BF6831; Thu, 8 Jun 2017 05:34:58 +0000 (UTC) (envelope-from jan.kokemueller@gmail.com) Received: from mail-ot0-x230.google.com (mail-ot0-x230.google.com [IPv6:2607:f8b0:4003:c0f::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3E6374FB5; Thu, 8 Jun 2017 05:34:57 +0000 (UTC) (envelope-from jan.kokemueller@gmail.com) Received: by mail-ot0-x230.google.com with SMTP id i31so17911985ota.3; Wed, 07 Jun 2017 22:34:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oO4h/+/tUBGQ3chNEc/2xgNE0s/X5JZKG2/0/uj/ZTI=; b=Yt5ViEaDyNn0YgAMU5E+pPkS2WPUP3zHT3t7nZfrYJ4araWaYkdbL5gDHnFvgxldgc wL8lQdCGFbenvV0vXSgemnM/HMS/8odPWundKX5rI5MZFJjGnyJS8msBRaJhJZqaN+e+ +LrCwu26nyzzGEUNMFwLVgTtmtmvZX6N/BbqLIjND17CbHfUpKHFXcpaJqjjgjP1BAUz OgV9DWEJ9r5E4jADH6kiVPbv/3QjQ059aC+tpUiwg9wLKRRacdT1xxFJAfZQz32TA3bh 1A5I36RJ5OmYnjehR1hDITZ7aNzSJ0j4YpsZGRNIM/zOArfYA7qhJgYcm3BKntLIoOod JFDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oO4h/+/tUBGQ3chNEc/2xgNE0s/X5JZKG2/0/uj/ZTI=; b=Wn2vracwixOS59dZhZUrXbZ+/4dXcQ0alZvUclnFLHdnovQzoDB9tGuc9G32EYh4Mm 5j/sEoqwobxQfqnaw1VP1qPXLKjCokCnOp0NS5soI9KKgeqt0geQZVrAgMDsqx2pLbJb /DlL8W3Tq7Op/FAQjZwUmEUPWLoDmTfwZA1QLI/gbdQVyeLz7j1abMRofDiXUWpdWIQK dnG5petr+vbV5dTSgJmb/Rh22qdtHxng7VNNzSwAmjrWf1QPg/zIp9Cj97yHDVpJ/5ZB honmOt8NAx+cC2WGNliwDWfRi6Ps2Jzx1QfDYdfoJGZmRwhlB22WENYHPdTevg4NGYva BGqA== X-Gm-Message-State: AKS2vOxismOwMRp9abBSE6v7vYTV9ePAZNx2y5fS1RBf7XD7W4l09KLi dMedhlOh4gvFSO5sVr8= X-Received: by 10.157.68.167 with SMTP id v39mr17075220ote.250.1496900097197; Wed, 07 Jun 2017 22:34:57 -0700 (PDT) Received: from ?IPv6:2003:d2:1bc8:2b00:182e:ccdc:1d71:9fbe? (p200300D21BC82B00182ECCDC1D719FBE.dip0.t-ipconnect.de. [2003:d2:1bc8:2b00:182e:ccdc:1d71:9fbe]) by smtp.googlemail.com with ESMTPSA id y31sm2131098ota.47.2017.06.07.22.34.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Jun 2017 22:34:56 -0700 (PDT) Subject: Re: CFT: EVDEV support in psm(4) driver To: Anthony Jenkins , Vladimir Kondratyev Cc: current@freebsd.org, freebsd-mobile@freebsd.org References: <5fa9225de944d6cdac0b7e5749b452a9@kondratyev.su> <5446ec03-c501-a369-01fc-e58a7d8712d9@gmail.com> <420c37d0-79bf-ac53-58aa-dcf1b99bd5c7@yahoo.com> From: =?UTF-8?Q?Jan_Kokem=c3=bcller?= Message-ID: <7b6cf8e4-e330-9149-8fae-dfde5e9e01bf@gmail.com> Date: Thu, 8 Jun 2017 07:34:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <420c37d0-79bf-ac53-58aa-dcf1b99bd5c7@yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2017 05:34:58 -0000 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