From patchwork Wed Nov 14 16:53:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Tissoires X-Patchwork-Id: 1742921 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 6BD8ADF264 for ; Wed, 14 Nov 2012 16:54:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932929Ab2KNQyH (ORCPT ); Wed, 14 Nov 2012 11:54:07 -0500 Received: from mail-wg0-f44.google.com ([74.125.82.44]:37519 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932701Ab2KNQyG (ORCPT ); Wed, 14 Nov 2012 11:54:06 -0500 Received: by mail-wg0-f44.google.com with SMTP id dr13so332926wgb.1 for ; Wed, 14 Nov 2012 08:54:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=QHW5OcDHTIPu7z3vOb+5a/XqY3HX5SjTe88yvI2Fa0c=; b=Xm9Peytxbe6fRlgxKKoYFCmaMetLimHG893pB4z8/h58wcLi4fUhiE5qipS2IuiYWt TtvNxcQYhySX9Sw0LZ7AvTHTH4Yn9wnvLSDcOgEOt9C+F+QuXukIP2A3BR+3EH6+h78l q5oYpeQ09RUHTQyUB/qXBtKfjJ1GK0RVhzBKfeOHT0tjwTMXV0bKne4f3R5UwmBza7VX Keb9pdI9XaxNAzScBkaVNE+5alInp0OEsTgi/okmlN3W1ZmqePQw+oWfEkkesdadgAo9 zSakzx9m5ft7FGIHEyL65/Mj2eyP1MsWG3PSBoJKNN8wOVynwINJii90isDy5xH2ERxr 564g== Received: by 10.216.136.157 with SMTP id w29mr1928101wei.148.1352912044700; Wed, 14 Nov 2012 08:54:04 -0800 (PST) Received: from localhost.localdomain.com (lan31-8-82-247-176-67.fbx.proxad.net. [82.247.176.67]) by mx.google.com with ESMTPS id r10sm3266420wiz.0.2012.11.14.08.54.02 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Nov 2012 08:54:03 -0800 (PST) From: Benjamin Tissoires To: "benjamin.tissoires" , Jiri Kosina , Stephane Chatty , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Chris MacDonald Subject: [PATCH] HID: usbhid: add quirk HID_QUIRK_NOGET to TPV optical touchscreen Date: Wed, 14 Nov 2012 17:53:56 +0100 Message-Id: <1352912036-6670-1-git-send-email-benjamin.tissoires@gmail.com> X-Mailer: git-send-email 1.8.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Without this, the device is blocked in dmesg at: hid-multitouch 0003:25AA:8883.000X: usb_submit_urb(ctrl) failed: -1 hid-multitouch 0003:25AA:8883.000X: timeout initializing reports Signed-off-by: Benjamin Tissoires --- Hi guys, Even if Chris did not answered, I had the confirmation that this device works with the quirk in place. Cheers, Benjamin drivers/hid/hid-ids.h | 3 +++ drivers/hid/usbhid/hid-quirks.c | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 30bc2db..56d5528 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -765,6 +765,9 @@ #define USB_VENDOR_ID_TOUCHPACK 0x1bfd #define USB_DEVICE_ID_TOUCHPACK_RTS 0x1688 +#define USB_VENDOR_ID_TPV 0x25aa +#define USB_DEVICE_ID_TPV_OPTICAL_TOUCHSCREEN 0x8883 + #define USB_VENDOR_ID_TURBOX 0x062a #define USB_DEVICE_ID_TURBOX_KEYBOARD 0x0201 #define USB_DEVICE_ID_TURBOX_TOUCHSCREEN_MOSART 0x7100 diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c index 11c7932..38a7cdd 100644 --- a/drivers/hid/usbhid/hid-quirks.c +++ b/drivers/hid/usbhid/hid-quirks.c @@ -82,6 +82,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, HID_QUIRK_NOGET }, { USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_1, HID_QUIRK_NOGET }, { USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_2, HID_QUIRK_NOGET }, + { USB_VENDOR_ID_TPV, USB_DEVICE_ID_TPV_OPTICAL_TOUCHSCREEN, HID_QUIRK_NOGET }, { USB_VENDOR_ID_TURBOX, USB_DEVICE_ID_TURBOX_KEYBOARD, HID_QUIRK_NOGET }, { USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_PF1209, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U, HID_QUIRK_MULTI_INPUT },