From patchwork Tue Feb 1 13:25:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Tissoires X-Patchwork-Id: 522561 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p11DQ7i4001613 for ; Tue, 1 Feb 2011 13:26:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756871Ab1BANZy (ORCPT ); Tue, 1 Feb 2011 08:25:54 -0500 Received: from mail-ww0-f44.google.com ([74.125.82.44]:54419 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756867Ab1BANZx (ORCPT ); Tue, 1 Feb 2011 08:25:53 -0500 Received: by wwa36 with SMTP id 36so7025299wwa.1 for ; Tue, 01 Feb 2011 05:25:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=RSOWD/00Qy66Smc/KntEStKXHDaxvqg/VNiaZvO81Sc=; b=VHyxAdBDyw9R8OgQ2iJOP+FAWUojh4QsYHNih52ydkRHPkKqo5PaJAP3Ap+2SPc9NN gfsLMC98xF/LWiTk9QqdrCdvkwmxOt5IlCIPYH0IP2z6h8DjHK3k+7XT6xlz7Iz0Gp89 92N/2eE9GFaYLxSRtmGLexs9j9BXhqio65460= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SEwxV835dfTnBxcKTjmxayk70vQg+9bhGKWpBk8iHsl9rbEm+TICFKW47DRv0JR51l ifOHhNhr/HFI9xywE+1LKuN+cd3GjNSugpcbbcP/7rTH2Y2jnL2G9wHDqB191+4TEgso dkUnM0EoUhOxcP7W+e8RnD0C17hfsF5okyCUY= MIME-Version: 1.0 Received: by 10.227.146.142 with SMTP id h14mr7672085wbv.106.1296566751265; Tue, 01 Feb 2011 05:25:51 -0800 (PST) Received: by 10.227.27.226 with HTTP; Tue, 1 Feb 2011 05:25:51 -0800 (PST) In-Reply-To: <1296561717.15349.5.camel@novo.hadess.net> References: <1296485689.7756.9.camel@novo.hadess.net> <20110131212842.GB1603@polaris.bitmath.org> <1296561717.15349.5.camel@novo.hadess.net> Date: Tue, 1 Feb 2011 14:25:51 +0100 Message-ID: Subject: Re: Elo TouchSystems touchscreen support? (04e7:0022) From: Benjamin Tissoires To: Bastien Nocera Cc: Henrik Rydberg , linux-input@vger.kernel.org Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 01 Feb 2011 13:26:07 +0000 (UTC) From e398db4b75f1164e8a684f0a1b15218eaabb5606 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Tue, 1 Feb 2011 14:07:12 +0100 Subject: [PATCH] hid-multitouch: Introduce Elo TouchSystems 2515 IntelliTouch Plus This patch adds support for Elo TouchSystems 2515 IntelliTouch Plus that can be found in Lenovo A700 all-in-one. Signed-off-by: Benjamin Tissoires --- drivers/hid/Kconfig | 1 + drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + drivers/hid/hid-multitouch.c | 5 +++++ 4 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index a0b117d..d373635 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -303,6 +303,7 @@ config HID_MULTITOUCH Say Y here if you have one of the following devices: - Cypress TrueTouch panels + - Elo TouchSystems IntelliTouch Plus panels - Hanvon dual touch panels - IrTouch Infrared USB panels - Pixcir dual touch panels diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index d678cf3..e701e57 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1334,6 +1334,7 @@ static const struct hid_device_id hid_have_special_driver[] = { { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH3) }, { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH4) }, { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_BM084) }, + { HID_USB_DEVICE(USB_VENDOR_ID_ELO, USB_DEVICE_ID_ELO_TS2515) }, { HID_USB_DEVICE(USB_VENDOR_ID_EMS, USB_DEVICE_ID_EMS_TRIO_LINKER_PLUS_II) }, { HID_USB_DEVICE(USB_VENDOR_ID_EZKEY, USB_DEVICE_ID_BTC_8193) }, { HID_USB_DEVICE(USB_VENDOR_ID_GAMERON, USB_DEVICE_ID_GAMERON_DUAL_PSX_ADAPTOR) }, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index b1dd7ad..7780c48 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -216,6 +216,7 @@ #define USB_VENDOR_ID_DREAM_CHEEKY 0x1d34 #define USB_VENDOR_ID_ELO 0x04E7 +#define USB_DEVICE_ID_ELO_TS2515 0x0022 #define USB_DEVICE_ID_ELO_TS2700 0x0020 #define USB_VENDOR_ID_EMS 0x2006 diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 69f8744..a721710 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -466,6 +466,11 @@ static const struct hid_device_id mt_devices[] = { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_TRUETOUCH) }, + /* Elo TouchSystems IntelliTouch Plus panel */ + { .driver_data = MT_CLS_DEFAULT, + HID_USB_DEVICE(USB_VENDOR_ID_ELO, + USB_DEVICE_ID_ELO_TS2515) }, + /* GeneralTouch panel */ { .driver_data = MT_CLS_DUAL_INRANGE_CONTACTNUMBER, HID_USB_DEVICE(USB_VENDOR_ID_GENERAL_TOUCH, -- 1.7.3.4