From patchwork Mon Oct 19 20:55:55 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keith Rutkowski X-Patchwork-Id: 54824 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9JKtvr6031596 for ; Mon, 19 Oct 2009 20:55:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757553AbZJSUzw (ORCPT ); Mon, 19 Oct 2009 16:55:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757570AbZJSUzw (ORCPT ); Mon, 19 Oct 2009 16:55:52 -0400 Received: from mta31.charter.net ([216.33.127.82]:37483 "EHLO mta31.charter.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757553AbZJSUzv (ORCPT ); Mon, 19 Oct 2009 16:55:51 -0400 Received: from imp11 ([10.20.200.11]) by mta31.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20091019205555.XQXG25738.mta31.charter.net@imp11>; Mon, 19 Oct 2009 16:55:55 -0400 Received: from [10.0.1.181] ([24.213.19.43]) by imp11 with smtp.charter.net id ukvv1c0090vlvZk05kvvSd; Mon, 19 Oct 2009 16:55:55 -0400 X-Authority-Analysis: v=1.0 c=1 a=cVvwK2yxu6kA:10 a=fy69EgtKAAAA:8 a=tt6-IcSGEuD6F0cq_V0A:9 a=eb5poBEPtf63q29Po6EA:7 a=iiCZ0dcJNNI6ek8xorQKaK9My3oA:4 a=k7AROgp0TWwA:10 a=ucgkW7BHTW0A:10 a=i9fUqlUPiNoA:10 a=_wSCb_0-8zAA:10 a=VMjJbOPCACgA:10 a=R4zrONDOWFcA:10 a=C1BAhgYVwo4A:10 a=zpNh6jJH5KaZQ2yqPIsA:9 a=QOARvHxfVFPNz6S30Rkzd3-b_bgA:4 Message-ID: <4ADCD25B.4060508@signatureresearchinc.com> Date: Mon, 19 Oct 2009 16:55:55 -0400 From: Keith Rutkowski User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4 MIME-Version: 1.0 To: linux-input@vger.kernel.org, jkosina@suse.cz Subject: Patch adding NOGET quirk for CH Products industrial joystick Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org diff -uNrp kernel-2.6.30.orig/drivers/hid/hid-ids.h kernel-2.6.30.new/drivers/hid/hid-ids.h --- kernel-2.6.30.orig/drivers/hid/hid-ids.h 2009-10-19 11:39:11.506562098 -0400 +++ kernel-2.6.30.new/drivers/hid/hid-ids.h 2009-10-19 11:30:56.272437148 -0400 @@ -117,6 +117,7 @@ #define USB_DEVICE_ID_CH_PRO_PEDALS 0x00f2 #define USB_DEVICE_ID_CH_COMBATSTICK 0x00f4 #define USB_DEVICE_ID_CH_FLIGHT_SIM_YOKE 0x00ff +#define USB_DEVICE_ID_CH_3AXIS_5BUTTON_STICK 0x00d3 #define USB_VENDOR_ID_CHERRY 0x046a #define USB_DEVICE_ID_CHERRY_CYMOTION 0x0023 diff -uNrp kernel-2.6.30.orig/drivers/hid/usbhid/hid-quirks.c kernel-2.6.30.new/drivers/hid/usbhid/hid-quirks.c --- kernel-2.6.30.orig/drivers/hid/usbhid/hid-quirks.c 2009-10-19 11:39:28.337562028 -0400 +++ kernel-2.6.30.new/drivers/hid/usbhid/hid-quirks.c 2009-10-19 11:30:40.810436422 -0400 @@ -53,6 +53,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_COMBATSTICK, HID_QUIRK_NOGET }, { USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_FLIGHT_SIM_YOKE, HID_QUIRK_NOGET }, { USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_PRO_PEDALS, HID_QUIRK_NOGET }, + { USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_3AXIS_5BUTTON_STICK, HID_QUIRK_NOGET }, { USB_VENDOR_ID_DMI, USB_DEVICE_ID_DMI_ENC, HID_QUIRK_NOGET }, { USB_VENDOR_ID_ELO, USB_DEVICE_ID_ELO_TS2700, HID_QUIRK_NOGET }, { USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, HID_QUIRK_NOGET },