Skip to contentSkip to conversation

New: CH Products joystick detected but not functional

Bugme-new Oliver Neukum 4 participants 6 messages Oct 16, 2009 – Oct 19, 2009 5 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 20091016142009.ab63e171.akpm-de/[email protected]

#3 lore raw

Am Freitag, 16. Oktober 2009 23:20:09 schrieb Andrew Morton:

Quoted 13 lines
Quoted 13 lines

Plugged joystick in and kernel detects device (from /var/log/messages):
  kernel: usb 3-6: new low speed USB device using ohci_hcd and address 3
  kernel: usb 3-6: New USB device found, idVendor=068e, idProduct=00d3
  kernel: usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0 kernel: usb 3-6: Product: CH OEM 3 AXIS 5 BUTTON JOYSTICK
  kernel: usb 3-6: Manufacturer: CH PRODUCTS
  kernel: usb 3-6: configuration #1 chosen from 1 choice
  kernel: input: CH PRODUCTS CH OEM 3 AXIS 5 BUTTON JOYSTICK as /devices/pci0000:00/0000:00:02.0/usb3/3-6/3-6:1.0/input/input8
  kernel: generic-usb 0003:068E:00D3.0004: input,hidraw3: USB HID v1.00 Joystick [CH PRODUCTS CH OEM 3 AXIS 5 BUTTON JOYSTICK] on usb-0000:00:02.0-6/input0

Quoted 6 lines
Quoted 6 lines

HAL also detects the device (from lshal): attached as hal.txt

Functionality was checked for under jstest, jscal, KDE 4 joystick section in System Settings, and by cat-ing the device.  In all tests the axis values did not change, and the button states did not change when joystick manipulated

Do you see traffic with usbmon as you move the stick or press buttons?

Regards
Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 200910162331.37533.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org

#5 lore raw
Quoted 23 lines · Oliver Neukum

Am Freitag, 16. Oktober 2009 23:20:09 schrieb Andrew Morton:

Quoted 13 lines
Quoted 13 lines

Plugged joystick in and kernel detects device (from /var/log/messages):
kernel: usb 3-6: new low speed USB device using ohci_hcd and address 3
kernel: usb 3-6: New USB device found, idVendor=068e, idProduct=00d3
kernel: usb 3-6: New USB device strings: Mfr=1, Product=2,
SerialNumber=0 kernel: usb 3-6: Product: CH OEM 3 AXIS 5 BUTTON JOYSTICK
kernel: usb 3-6: Manufacturer: CH PRODUCTS
kernel: usb 3-6: configuration #1 chosen from 1 choice
kernel: input: CH PRODUCTS CH OEM 3 AXIS 5 BUTTON JOYSTICK as
/devices/pci0000:00/0000:00:02.0/usb3/3-6/3-6:1.0/input/input8
kernel: generic-usb 0003:068E:00D3.0004: input,hidraw3: USB HID v1.00
Joystick [CH PRODUCTS CH OEM 3 AXIS 5 BUTTON JOYSTICK] on usb-0000:00:02.0-6/input0

Quoted 7 lines
Quoted 7 lines

HAL also detects the device (from lshal): attached as hal.txt

Functionality was checked for under jstest, jscal, KDE 4 joystick section in System Settings, and by cat-ing the device. In all tests the axis values did not change, and the button states did not change when joystick manipulated

Quoted 8 lines

Do you see traffic with usbmon as you move the stick or press buttons?

Regards
Oliver

.

No traffic was shown from usbmon other than the connect/disconnect stuff.

- Keith

Signature · 14 lines
Keith Rutkowski
Software Engineer

Signature Research, Inc
www.signatureresearchinc.com

Email: [email protected]
Phone: (906) 337-3360
Fax:   (906) 337-0023

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw

Am Montag, 19. Oktober 2009 15:08:11 schrieb Keith Rutkowski:

Quoted 1 line

No traffic was shown from usbmon other than the connect/disconnect stuff.

Did you see the patches which added a quirk for your device, if I am not mistaken?

Regards
Oliver

Tested-by Sean Hildebrand Tested-by Sid Boyce
#7 lore raw
Quoted 9 lines · Oliver Neukum

Did you see the patches which added a quirk for your device, if I am not mistaken?

Regards
Oliver

.

I have not found any patches for this specific device. It is an industrial class joystick, so probably not as common as the CH Products consumer class joysticks.

However, this patch seems to address a similar issue with other more common CH Products joysticks:

commit efee69d7e0f1ddfec97549eee0a8b63750eb67f7

Author: Alan Stern<[email protected]>
Date:   Wed May 6 15:48:49 2009 -0400

HID: add NOGET quirk for devices from CH Products

commit b820aabf6cb987fd03d85b0b5f599685051e0426 upstream.

This patch (as1240) adds the NOGET quirk for three devices from CH
Products: the Pro pedals, the Combatstick joystick, and the Flight-Sim yoke. Without these quirks, the devices haven't worked for many kernel releases. Sometimes replugging them after boot-up would get them to work and sometimes they wouldn't work at all.

Thanks,
Keith

Signature · 9 lines
Keith Rutkowski
Software Engineer

Signature Research, Inc
www.signatureresearchinc.com

Email: [email protected]
Phone: (906) 337-3360
Fax:   (906) 337-0023
#8 lore raw

Am Montag, 19. Oktober 2009 15:55:49 schrieb Keith Rutkowski:

Quoted 6 lines

I have not found any patches for this specific device.  It is an industrial class joystick, so probably not as common as the CH Products consumer class joysticks.

However, this patch seems to address a similar issue with other more common CH Products joysticks:

Yes, that's the patch. Could you try to also add your device to the blacklist?

Regards
Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 200910191634.09047.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org

#10 lore raw
Quoted 9 lines · Oliver Neukum

Am Montag, 19. Oktober 2009 15:55:49 schrieb Keith Rutkowski:

Quoted 7 lines

I have not found any patches for this specific device. It is an industrial class joystick, so probably not as common as the CH Products consumer class joysticks.

However, this patch seems to address a similar issue with other more common CH Products joysticks:

Quoted 8 lines

Yes, that's the patch. Could you try to also add your device to the blacklist?

Regards
Oliver

.

Ok, I blacklisted the joystick as the patch did with the other joysticks, built the kernel, and verified that the joystick works again after the modification.

Attached is the patch file that I applied to Fedora's 2.6.30.8-64 kernel.

- Keith

Signature · 9 lines
Keith Rutkowski
Software Engineer

Signature Research, Inc
www.signatureresearchinc.com

Email: [email protected]
Phone: (906) 337-3360
Fax:   (906) 337-0023
drivers/hid/hid-ids.h +1 -0
diff -uNrp kernel-2.6.30.orig/drivers/hid/hid-ids.h kernel-2.6.30.new/drivers/hid/hid-ids.h
@@ -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
drivers/hid/usbhid/hid-quirks.c +1 -0
diff -uNrp kernel-2.6.30.orig/drivers/hid/usbhid/hid-quirks.c kernel-2.6.30.new/drivers/hid/usbhid/hid-quirks.c
@@ -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 },