diff mbox

Patch adding NOGET quirk for CH Products industrial joystick

Message ID 4ADCD25B.4060508@signatureresearchinc.com (mailing list archive)
State New, archived
Headers show

Commit Message

Keith Rutkowski Oct. 19, 2009, 8:55 p.m. UTC
None
diff mbox

Patch

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 },