Message ID | 599B8ED80200004700018555@prv-mh.provo.novell.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2031456qge; Mon, 21 Aug 2017 18:56:46 -0700 (PDT) X-Received: by 10.36.45.136 with SMTP id x130mr2192838itx.81.1503367006413; Mon, 21 Aug 2017 18:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503367006; cv=none; d=google.com; s=arc-20160816; b=pod3TgpGEF3WxilG7R7oNoyC0K4xRGx4i8ZgvKuCWTyePAO3HCVqCSQ/K9BixZKry2 BgVjmb3YQHbGs4Y6kuRR+vjM7rpXQlRW+taQ3OhR1C2nQIqEhkB5tLTYcFZZFjIasvue xpb5BHygsOWJwtLpIAr4RUpEZZW4Wb+XFRrq51+zUxervBzKak7bt6zHltlVcRtjNkgh 7kqs53b+vQjCL+pm7uVrMnBkCoWVmrxwCr+FvxDlLw4h2BMSVujmqcbFH+GIVcci7Xd5 y5n+tD7eOZ7AXe9c+CWEu8XJ9d6SIQKweXRmes1uTmroKfZ7T1xrdOwCE2HIm3FRXPAh 73eQ== 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=a+Bhu9u8Hz8lVHqmpwRDm5kYBkdmDu75j3Qtfo4rKrE=; b=p4UFAqRnKAm/CVu/P206z4OsaZrRwnpXhuARG38pE66GT8GEassQ6zgekmXS2epIPB gMxCE4QvzY29nkP+nm+Q7u4UM4VfZIHXcpgkyKoKXCikV9pIhmTWot2JiDYbXlOeM6kI oqAmQxibk6HpTVvTG4GHhAPAtwfWgrRa82imAJjJKwkqBr1BtcOVC3q3YcfZhYDhAru9 7oGXW5l0uPZ3eKVh79saS00jS6kU0hajzPw04V1xQ8ywMdf7m0mZ5waCXysdO6MfC6gH 7fxct5jlCjZT/pFva02igp5/VPFiWeG5clK0p24D8uv2lF0qQNW1rG7i2e65lGgLI34q f94w== 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 w185si4110770ith.201.2017.08.21.18.56.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Aug 2017 18:56:46 -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 1djyOt-0004Og-3d; Tue, 22 Aug 2017 01:54:39 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <lyan@suse.com>) id 1djyOr-0004Oa-V8 for xen-devel@lists.xenproject.org; Tue, 22 Aug 2017 01:54:38 +0000 Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id E3/A1-01993-DDE8B995; Tue, 22 Aug 2017 01:54:37 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrEIsWRWlGSWpSXmKPExsXS6fjDS/dO3+x Ig+nbBS2+b5nM5MDocfjDFZYAxijWzLyk/IoE1oyjiwMLFkhXbP63hbGBcbVEFyMnh5BAnsTD Z4tZQWxeATuJS2/nsYHYEgKGEqcX3mQBsVkEVCUObewDs9kEFCXWbl/F2MXIxSEisJhR4mT3N SCHg0NYIETi72IrEFNIoEiifUMGiMkrICjxd4cwSCcz0PSXj16zTGDkmoWQmYUkA2G7SDSfaW GDsLUkHv66BRXXlli28DUzhK0mcXvbVXZUcQ4gW1KicX7lAkaOVYwaxalFZalFuoYGeklFmek ZJbmJmTlAnqlebmpxcWJ6ak5iUrFecn7uJkZg6DEAwQ7GNVOdDzFKcjApifJuSJ0VKcSXlJ9S mZFYnBFfVJqTWnyIUYODQ2DbrtUXGKVY8vLzUpUkeDN7Z0cKCRalpqdWpGXmAKMDplSCg0dJh FesByjNW1yQmFucmQ6ROsVozHHo94nvTBzHQKQQ2CQpcV5xkEkCIKUZpXlwg2BRe4lRVkqYlx HoTCGegtSi3MwSVPlXjOIcjErCvNtApvBk5pXA7XsFdAoT0CmGrdNATilJREhJNTCKlaksPDh 3/R5988zfF0usNuh1pTjOOLBao0yUQTJGpZ8zacvdn18PJkhvj1f+fF9kw/rjAge/sd8/Wrnu Orf3KsfuB7eE2E9N+b4+b/OmRpaLjGe1OP1nrVjY+/NJ/4MQMf+HZZGHrXkZQk4qOsyqrzF6w nkkaYlRuInLwmSe+5EbNh69UaajxFKckWioxVxUnAgAVjjdUtUCAAA= X-Env-Sender: lyan@suse.com X-Msg-Ref: server-7.tower-206.messagelabs.com!1503366874!105340166!1 X-Originating-IP: [137.65.248.74] X-SpamReason: No, hits=0.6 required=7.0 tests=BODY_RANDOM_LONG, HTML_50_60,HTML_MESSAGE X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 27041 invoked from network); 22 Aug 2017 01:54:35 -0000 Received: from prv-mh.provo.novell.com (HELO prv-mh.provo.novell.com) (137.65.248.74) by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 22 Aug 2017 01:54:35 -0000 Received: from INET-PRV-MTA by prv-mh.provo.novell.com with Novell_GroupWise; Mon, 21 Aug 2017 19:54:33 -0600 Message-Id: <599B8ED80200004700018555@prv-mh.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 14.2.2 Date: Mon, 21 Aug 2017 19:54:32 -0600 From: "Liang Yan" <lyan@suse.com> To: <dmitry.torokhov@gmail.com>,<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> <599B8ED80200004700018555@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartECD423C8.2__=" 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 ... Up". 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