Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1716846

Re: [PATCH] XEN/xen-kbdfront: Enable auto repeat for xen keyboard front driver

From Dmitry Torokhov <dmitry.torokhov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] XEN/xen-kbdfront: Enable auto repeat for xen keyboard front driver
Date 2017-08-21 22:30 +0200
Message-ID <uh1uH-Ac-37@gated-at.bofh.it> (permalink)
References <uh0Ih-8tH-19@gated-at.bofh.it> <uh0Ih-8tH-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 21, 2017 at 12:30 PM, Boris Ostrovsky
<boris.ostrovsky@oracle.com> wrote:
>
> Adding maintainer (Dmitry).

I can't seem to find the original in my mailbox nor in patchwork. Can
you please resend?

>
>
> -boris
>
> On 08/21/2017 11:41 AM, Liang Yan wrote:
> > 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(+)
> >
> > 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++)
> > --
> > 2.14.0
> >
>

Thanks.

-- 
Dmitry

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] XEN/xen-kbdfront: Enable auto repeat for xen keyboard  front driver Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-08-21 21:40 +0200
  Re: [PATCH] XEN/xen-kbdfront: Enable auto repeat for xen keyboard  front driver Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-08-21 22:30 +0200

csiph-web