Linux Input/HID development
 help / color / mirror / Atom feed
* Patch adding NOGET quirk for CH Products industrial joystick
@ 2009-10-19 20:55 Keith Rutkowski
  2009-10-20  0:33 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Rutkowski @ 2009-10-19 20:55 UTC (permalink / raw)
  To: linux-input, jkosina

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

This patch was applied to Fedora 11's 2.6.30.8-64 kernel and adds the 
NOGET quirk for CH Products industrial class joystick(s).  It is like 
the previous CH Products NOGET quirk patch for their consumer class 
joysticks.  Without the quirk, the joystick would only be detected and 
would not function at all in kernels >= 2.6.29.  It was tested with a CH 
Products 3-axis 5-button industrial joystick, product #HG-434IS000-U-217.

Signed-off-by: Keith Rutkowski <rutkowski@signatureresearchinc.com>

-- 

Keith Rutkowski
Software Engineer

Signature Research, Inc
www.signatureresearchinc.com

Email: rutkowski@signatureresearchinc.com
Phone: (906) 337-3360
Fax:   (906) 337-0023


[-- Attachment #2: linux-2.6-blacklist-ch-products-joystick.patch --]
[-- Type: text/x-patch, Size: 1401 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Patch adding NOGET quirk for CH Products industrial joystick
  2009-10-19 20:55 Patch adding NOGET quirk for CH Products industrial joystick Keith Rutkowski
@ 2009-10-20  0:33 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2009-10-20  0:33 UTC (permalink / raw)
  To: Keith Rutkowski; +Cc: linux-input

On Mon, 19 Oct 2009, Keith Rutkowski wrote:

> This patch was applied to Fedora 11's 2.6.30.8-64 kernel and adds the 
> NOGET quirk for CH Products industrial class joystick(s).  It is like 
> the previous CH Products NOGET quirk patch for their consumer class 
> joysticks.  Without the quirk, the joystick would only be detected and 
> would not function at all in kernels >= 2.6.29.  It was tested with a CH 
> Products 3-axis 5-button industrial joystick, product 
> #HG-434IS000-U-217.

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-20  0:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-19 20:55 Patch adding NOGET quirk for CH Products industrial joystick Keith Rutkowski
2009-10-20  0:33 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox