Message ID | 599AFF3A02000047000184DE@prv-mh.provo.novell.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp4224156obb; Mon, 21 Aug 2017 08:46:50 -0700 (PDT) X-Received: by 10.36.69.13 with SMTP id y13mr641367ita.100.1503330410321; Mon, 21 Aug 2017 08:46:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503330410; cv=none; d=google.com; s=arc-20160816; b=kL0bysv0hRWbH4SwX1osAU7R/3RmyFk4D6uNsgmsCGdgp/3y3zYuv6ouIXDff9jh2+ SJwbYa4W+qo6tPE5GYbaOQzO8D/hWErnJ3QjLlrljB8ZJ4OqGgW7y3y6QFyN34WvIXdn F5akhmFM202wU4jsHdrh5qYqS/MWNscdtW+0IK3ABHsoeeSMYLC8TTAtR/G0VNNYs2U8 WtZroeAJvkFuGXEzvMdlGSKUQWpGrfv6JDMeyxMCC+KrYn7+NFJ+jsS+jSJSLkl3o7Ql tGxcQfpHHzS2SDwmcPB1qsXphn/xsiUy6lBkhMlbJ/Ohfct0ajH4ESxG9UiG24AzewPt IlEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post :list-unsubscribe:list-id:precedence:subject:mime-version:references :to:from:date:message-id:arc-authentication-results; bh=AQxn8DTTI0cMVkyQ+afCjjfS4gGnYKGQ5WyffFYmfBc=; b=y50S+HCL8HCNgS3pHts/v/DPTeQDomAi1Epny6ZhN7yqICcP9v8MSeS0k2qFd4S2L8 irENQrQeN6RjObWGTKEeuZs8/+ZIT5j+66pTVk86o5P+4qlajnbLornwQwVt1xoHWT4T UyWU+dBsLJSYa0iWh+Ombh8odKmpFTKyjRCVSUz17wvolTnoRbc2suc66ABl902KXXpS RxJO6qDAqEFvG91aFK6OztF+gndGzpy0VwiZKOPWSiiLaROpYY6hBVkZ6b83Sumumqca CWE2hsmiR2g5jh+voHZBRxR0HMV5Hho+jP4hJOo8CtP+40S41KFWTvHhmIe3lz2N6BOg 4otg== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Return-Path: <xen-devel-bounces@lists.xen.org> Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id h70si9086025itc.100.2017.08.21.08.46.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Aug 2017 08:46:50 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1djosf-0007Gg-SC; Mon, 21 Aug 2017 15:44:45 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <lyan@suse.com>) id 1djops-0007E2-Lq for xen-devel@lists.xenproject.org; Mon, 21 Aug 2017 15:41:52 +0000 Received: from [85.158.143.35] by server-7.bemta-6.messagelabs.com id 6B/A6-03557-F3FFA995; Mon, 21 Aug 2017 15:41:51 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOIsWRWlGSWpSXmKPExsXS6fjDS9fu/6x Igw+PuCy+b5nM5MDocfjDFZYAxijWzLyk/IoE1oxF9/YyFrRJVbQcKmhgnCvexcjJISSQJ9Fy 8RsLiM0rYCdxavUHZhBbQsBQ4vTCm2BxFgFVicO/lrGC2GwCihJrt69i7GLk4hARaGWUOHniN FCCg0NYIETi72IriJl2EueWPmQHCfMKCEr83SEMEmYGCi87s5xpAiPXLITMLCQZCNtF4samrS wQtpbEw1+3oGxtiWULXzND2GoSt7ddZUcV5wCyJSUa51cuYORYxahRnFpUllqka2isl1SUmZ5 RkpuYmaNraGCml5taXJyYnpqTmFSsl5yfu4kRGHwMQLCD8cuygEOMkhxMSqK8G1JnRQrxJeWn VGYkFmfEF5XmpBYfYpTh4FCS4OX6B5QTLEpNT61Iy8wBxgFMWoKDR0mE99EfoDRvcUFibnFmO kTqFKMxx6HfJ74zcRwDkUIsefl5qVLivDf+ApUKgJRmlObBDYLF5yVGWSlhXkag04R4ClKLcj NLUOVfMYpzMCoJ8/KB3MOTmVcCt+8V0ClMQKcYtk4DOaUkESEl1cC4/eY2cY058W/rpz0zijz 1aTvf4Z9Maccqp225s2wKr7VG4R1T0+tdy2a8Yliwb9eC12e59babn7XiW/PuIvtbaxeBAwIz v1eGX63cpOBrZiDeeXL94R1LC88v3mUkeUnsxWbLvWtt1r075sBzWV/rGkNr+fe+vSKptarRz PVBG/dlGKg9OqJqocRSnJFoqMVcVJwIAFWBoznKAgAA X-Env-Sender: lyan@suse.com X-Msg-Ref: server-14.tower-21.messagelabs.com!1503330108!72211714!1 X-Originating-IP: [137.65.248.74] X-SpamReason: No, hits=1.1 required=7.0 tests=BODY_RANDOM_LONG, HTML_40_50,HTML_MESSAGE X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 27691 invoked from network); 21 Aug 2017 15:41:49 -0000 Received: from prv-mh.provo.novell.com (HELO prv-mh.provo.novell.com) (137.65.248.74) by server-14.tower-21.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 21 Aug 2017 15:41:49 -0000 Received: from INET-PRV-MTA by prv-mh.provo.novell.com with Novell_GroupWise; Mon, 21 Aug 2017 09:41:48 -0600 Message-Id: <599AFF3A02000047000184DE@prv-mh.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 14.2.2 Date: Mon, 21 Aug 2017 09:41:46 -0600 From: "Liang Yan" <lyan@suse.com> To: <xen-devel@lists.xenproject.org>,<boris.ostrovsky@oracle.com>, "Juergen Gross" <jgross@suse.com>, <linux-kernel@vger.kernel.org> References: <599AFF3A02000047000184DE@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part7E46B02A.0__=" X-Mailman-Approved-At: Mon, 21 Aug 2017 15:44:44 +0000 Subject: [Xen-devel] [PATCH] XEN/xen-kbdfront: Enable auto repeat for xen keyboard front driver X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> |
diff --git a/drivers/input/misc/xen-kbdfront.c b/drivers/input/misc/xen-kbdfront.c index fa130e7b734c..0dce9830e2f4 100644 --- a/drivers/input/misc/xen-kbdfront.c +++ b/drivers/input/misc/xen-kbdfront.c @@ -248,6 +248,7 @@ static int xenkbd_probe(struct xenbus_device *dev, kbd->id.product = 0xffff; __set_bit(EV_KEY, kbd->evbit); + __set_bit(EV_REP, kbd->evbit); for (i = KEY_ESC; i < KEY_UNKNOWN; i++) __set_bit(i, kbd->keybit); for (i = KEY_OK; i < KEY_MAX; i++)
Long pressed key could not show right in XEN vncviewer after tigervnc client changed the way how to send repeat keys, from "Down Up Down Up ..." to "Down Down Dow." By enable EV_REP bit here, XEN keyboard device will trigger default auto repeat process from input subsystem, and make auto repeat keys work correctly. Signed-off-by: Liang Yan <lyan@suse.com> --- drivers/input/misc/xen-kbdfront.c | 1 + 1 file changed, 1 insertion(+) -- 2.14.0