Re: [PATCH] HID: Accutouch: Add driver for ELO Accutouch 2216 USB Touchscreens

From: Dmitry Torokhov
Date: Tue Mar 21 2017 - 15:48:58 EST


On Tue, Mar 21, 2017 at 7:04 AM, Jiri Kosina <jikos@xxxxxxxxxx> wrote:
>
> On Tue, 14 Feb 2017, Martyn Welch wrote:
>
> > The Accutouch 2216 is reporting BTN_LEFT/BTN_MOUSE rather than BTM_TOUCH
> > in it's capabilities, which is what user space expects a touchscreen
> > device to report. This is causing udev to consider the device to be a
> > "VMware's USB mouse" rather than as a touchscreen, which results in a
> > mouse cursor being displayed in Weston.
> >
> > This patch adds a special driver for the device to correct the
> > capabilities reported.
>
> Applied to for-4.12/accutouch. Thanks,

Hmm, can't we fix usage code from udev, like we do with other keymaps?
Kernel memory is quite precious.

Thanks.

--
Dmitry