From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934175AbdCUTrV (ORCPT ); Tue, 21 Mar 2017 15:47:21 -0400 Received: from mail-vk0-f68.google.com ([209.85.213.68]:36759 "EHLO mail-vk0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932734AbdCUTpk (ORCPT ); Tue, 21 Mar 2017 15:45:40 -0400 MIME-Version: 1.0 In-Reply-To: References: <1487081876-9743-1-git-send-email-martyn.welch@collabora.co.uk> From: Dmitry Torokhov Date: Tue, 21 Mar 2017 12:45:38 -0700 Message-ID: Subject: Re: [PATCH] HID: Accutouch: Add driver for ELO Accutouch 2216 USB Touchscreens To: Jiri Kosina Cc: Martyn Welch , Benjamin Tissoires , "linux-input@vger.kernel.org" , lkml Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 21, 2017 at 7:04 AM, Jiri Kosina 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