From patchwork Mon Oct 11 14:54:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anisse Astier X-Patchwork-Id: 245581 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 o9BEt9WD019293 for ; Mon, 11 Oct 2010 14:55:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754387Ab0JKOzJ (ORCPT ); Mon, 11 Oct 2010 10:55:09 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:43233 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754137Ab0JKOzI (ORCPT ); Mon, 11 Oct 2010 10:55:08 -0400 Received: by wye20 with SMTP id 20so525176wye.19 for ; Mon, 11 Oct 2010 07:55:07 -0700 (PDT) Received: by 10.216.1.17 with SMTP id 17mr3728595wec.99.1286808906181; Mon, 11 Oct 2010 07:55:06 -0700 (PDT) Received: from destiny.ordissimo (mar92-5-82-225-147-143.fbx.proxad.net [82.225.147.143]) by mx.google.com with ESMTPS id o84sm4468019wej.13.2010.10.11.07.55.04 (version=SSLv3 cipher=RC4-MD5); Mon, 11 Oct 2010 07:55:05 -0700 (PDT) Date: Mon, 11 Oct 2010 16:54:55 +0200 From: Anisse Astier To: linux-input@vger.kernel.org Cc: Jiri Kosina , Pierre BAILLY Subject: [PATCH] HID: Add MULTI_INPUT quirk for MozArt touchscreen Message-ID: <20101011165455.1e13789c@destiny.ordissimo> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 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.3 (demeter1.kernel.org [140.211.167.41]); Mon, 11 Oct 2010 14:55:23 +0000 (UTC) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 31601ee..4df6036 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -483,6 +483,7 @@ #define USB_VENDOR_ID_TURBOX 0x062a #define USB_DEVICE_ID_TURBOX_KEYBOARD 0x0201 +#define USB_DEVICE_ID_TURBOX_TOUCHSCREEN_MOSART 0x7100 #define USB_VENDOR_ID_TWINHAN 0x6253 #define USB_DEVICE_ID_TWINHAN_IR_REMOTE 0x0100 diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c index 5f5aa39..a22e38c 100644 --- a/drivers/hid/usbhid/hid-quirks.c +++ b/drivers/hid/usbhid/hid-quirks.c @@ -34,6 +34,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_ALPS, USB_DEVICE_ID_IBM_GAMEPAD, HID_QUIRK_BADPAD }, { USB_VENDOR_ID_CHIC, USB_DEVICE_ID_CHIC_GAMEPAD, HID_QUIRK_BADPAD }, { USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH, HID_QUIRK_MULTI_INPUT }, + { USB_VENDOR_ID_TURBOX, USB_DEVICE_ID_TURBOX_TOUCHSCREEN_MOSART, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_MOJO, USB_DEVICE_ID_RETRO_ADAPTER, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_DRIVING, HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_FLYING, HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT },