From patchwork Fri May 20 10:58:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jimmy Hon X-Patchwork-Id: 803122 X-Patchwork-Delegate: jikos@jikos.cz Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4KAvUjB027139 for ; Fri, 20 May 2011 10:57:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754237Ab1ETK53 (ORCPT ); Fri, 20 May 2011 06:57:29 -0400 Received: from mail-qy0-f181.google.com ([209.85.216.181]:33505 "EHLO mail-qy0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752839Ab1ETK53 (ORCPT ); Fri, 20 May 2011 06:57:29 -0400 Received: by qyg14 with SMTP id 14so2050032qyg.19 for ; Fri, 20 May 2011 03:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:content-type:content-transfer-encoding; bh=k5QudaldLsPUSF/DG3iUOVvXcHHIjp5sOMdZ5VbbaFw=; b=U9hYnoY1gJRj/azM+Oa10UGPfI5kznCNxvwMOgbUzozlkoUWMdVPFNmITZbqs+kRw8 cym2cbaWaWfseEiyJIwRMwvy6wRRgFVnELElOB/sfR7NNwOLtBd8cqiwaH0s9wtcxz3F Wpa8UQt/Ns+Ts5uWQsqYHvnvAXGLULva/7KOQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=m+Id7wfxBSpUVQ8xmtfFY5SKnLCQDoq9SafzRwFPHuqsIf4ovP3yhKDFQ17vbTn1g2 Ak14ZixSkXWKCFyWsi1C5S0ArBLaoDhWow7Fibtk15gd0wkb6wg2j4v2/2nwcBfZln9t kRg2km3hmwDYNDubVzc/y7B2zxUvkvs4DZpbg= Received: by 10.224.205.138 with SMTP id fq10mr3186706qab.91.1305889047789; Fri, 20 May 2011 03:57:27 -0700 (PDT) Received: from [192.168.20.50] ([74.67.74.66]) by mx.google.com with ESMTPS id c27sm2159426qck.22.2011.05.20.03.57.26 (version=SSLv3 cipher=OTHER); Fri, 20 May 2011 03:57:27 -0700 (PDT) Message-ID: <4DD6494A.6010102@gmail.com> Date: Fri, 20 May 2011 06:58:18 -0400 From: Jimmy Hon Reply-To: honj@alum.rpi.edu User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110503 Thunderbird/3.1.10 MIME-Version: 1.0 To: Jiri Kosina CC: linux-input@vger.kernel.org Subject: [PATCH 2.6.38.6 1/1] usbhid: add quirks for HyperPen 10000U 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 (demeter2.kernel.org [140.211.167.43]); Fri, 20 May 2011 10:57:31 +0000 (UTC) Add 5543:0064 UC-Logic Technology Corp. Aiptek HyperPen 10000U to quirks with HID_QUIRK_MULTI_INPUT. Originally the device is reporting the x,y coordinates on Z and RX. By adding this quirk, there will be two kernel devices. The first one is muted and the second device will report coordinates on X and Y. --- HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_WP5540U, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_WP8060U, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH, HID_QUIRK_MULTI_INPUT }, -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -ur a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h --- a/drivers/hid/hid-ids.h 2011-05-20 06:31:15.471495292 -0400 +++ b/drivers/hid/hid-ids.h 2011-05-20 05:51:38.598147606 -0400 @@ -559,6 +559,7 @@ #define USB_VENDOR_ID_UCLOGIC 0x5543 #define USB_DEVICE_ID_UCLOGIC_TABLET_PF1209 0x0042 #define USB_DEVICE_ID_UCLOGIC_TABLET_KNA5 0x6001 +#define USB_DEVICE_ID_UCLOGIC_TABLET_TWA60 0x0064 #define USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U 0x0003 #define USB_DEVICE_ID_UCLOGIC_TABLET_WP5540U 0x0004 #define USB_DEVICE_ID_UCLOGIC_TABLET_WP8060U 0x0005 diff -ur a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c --- a/drivers/hid/usbhid/hid-quirks.c 2011-05-20 04:01:28.541441025 -0400 +++ b/drivers/hid/usbhid/hid-quirks.c 2011-05-20 04:10:21.881444247 -0400 @@ -71,6 +71,7 @@ { 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 }, { USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_KNA5, HID_QUIRK_MULTI_INPUT }, + { USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_TWA60,