linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 14421] New: CH Products joystick detected but not functional
       [not found]   ` <20091016142009.ab63e171.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
@ 2009-10-16 21:31     ` Oliver Neukum
       [not found]       ` <200910162331.37533.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Oliver Neukum @ 2009-10-16 21:31 UTC (permalink / raw)
  To: Andrew Morton, linux-input-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r,
	bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r,
	rutkowski-T1p9dGDnAHDoS6w7zS32OEtZW7PLQM7H

Am Freitag, 16. Oktober 2009 23:20:09 schrieb Andrew Morton:
> > 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
> >
> > 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [Bugme-new] [Bug 14421] New: CH Products joystick detected but not functional
       [not found]       ` <200910162331.37533.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
@ 2009-10-19 13:08         ` Keith Rutkowski
  2009-10-19 13:26           ` Oliver Neukum
  0 siblings, 1 reply; 6+ messages in thread
From: Keith Rutkowski @ 2009-10-19 13:08 UTC (permalink / raw)
  To: Oliver Neukum
  Cc: Andrew Morton, linux-input-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r,
	bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r

On 10/16/2009 05:31 PM, Oliver Neukum wrote:
> Am Freitag, 16. Oktober 2009 23:20:09 schrieb Andrew Morton:
>    
>>> 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
>>>
>>> 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
>
> .
>
>    

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

- Keith


-- 

Keith Rutkowski
Software Engineer

Signature Research, Inc
www.signatureresearchinc.com

Email: rutkowski-T1p9dGDnAHDoS6w7zS32OEtZW7PLQM7H@public.gmane.org
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [Bugme-new] [Bug 14421] New: CH Products joystick detected but not functional
  2009-10-19 13:08         ` Keith Rutkowski
@ 2009-10-19 13:26           ` Oliver Neukum
  2009-10-19 13:55             ` Keith Rutkowski
  0 siblings, 1 reply; 6+ messages in thread
From: Oliver Neukum @ 2009-10-19 13:26 UTC (permalink / raw)
  To: Keith Rutkowski
  Cc: Andrew Morton, linux-input, linux-usb, bugzilla-daemon,
	bugme-daemon

Am Montag, 19. Oktober 2009 15:08:11 schrieb Keith Rutkowski:
> 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


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

* Re: [Bugme-new] [Bug 14421] New: CH Products joystick detected but not functional
  2009-10-19 13:26           ` Oliver Neukum
@ 2009-10-19 13:55             ` Keith Rutkowski
  2009-10-19 14:34               ` Oliver Neukum
  0 siblings, 1 reply; 6+ messages in thread
From: Keith Rutkowski @ 2009-10-19 13:55 UTC (permalink / raw)
  To: Oliver Neukum
  Cc: Andrew Morton, linux-input, linux-usb, bugzilla-daemon,
	bugme-daemon

On 10/19/2009 09:26 AM, Oliver Neukum wrote:
> 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<stern@rowland.harvard.edu>
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.

     Signed-off-by: Alan Stern<stern@rowland.harvard.edu>
     Reported-by: Sean Hildebrand<silverwraithii@gmail.com>
     Reported-by: Sid Boyce<sboyce@blueyonder.co.uk>
     Tested-by: Sean Hildebrand<silverwraithii@gmail.com>
     Tested-by: Sid Boyce<sboyce@blueyonder.co.uk>
     Signed-off-by: Jiri Kosina<jkosina@suse.cz>
     Signed-off-by: Greg Kroah-Hartman<gregkh@suse.de>


Thanks,
Keith

-- 

Keith Rutkowski
Software Engineer

Signature Research, Inc
www.signatureresearchinc.com

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


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

* Re: [Bugme-new] [Bug 14421] New: CH Products joystick detected but not functional
  2009-10-19 13:55             ` Keith Rutkowski
@ 2009-10-19 14:34               ` Oliver Neukum
       [not found]                 ` <200910191634.09047.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Oliver Neukum @ 2009-10-19 14:34 UTC (permalink / raw)
  To: Keith Rutkowski
  Cc: Andrew Morton, linux-input, linux-usb, bugzilla-daemon,
	bugme-daemon

Am Montag, 19. Oktober 2009 15:55:49 schrieb Keith Rutkowski:
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [Bugme-new] [Bug 14421] New: CH Products joystick detected but not functional
       [not found]                 ` <200910191634.09047.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
@ 2009-10-19 19:09                   ` Keith Rutkowski
  0 siblings, 0 replies; 6+ messages in thread
From: Keith Rutkowski @ 2009-10-19 19:09 UTC (permalink / raw)
  To: Oliver Neukum
  Cc: Andrew Morton, linux-input-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r,
	bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r

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

On 10/19/2009 10:34 AM, Oliver Neukum wrote:
> Am Montag, 19. Oktober 2009 15:55:49 schrieb Keith Rutkowski:
>    
>> 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
>
> .
>
>    

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

-- 

Keith Rutkowski
Software Engineer

Signature Research, Inc
www.signatureresearchinc.com

Email: rutkowski-T1p9dGDnAHDoS6w7zS32OEtZW7PLQM7H@public.gmane.org
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] 6+ messages in thread

end of thread, other threads:[~2009-10-19 19:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-14421-10286@http.bugzilla.kernel.org/>
     [not found] ` <20091016142009.ab63e171.akpm@linux-foundation.org>
     [not found]   ` <20091016142009.ab63e171.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2009-10-16 21:31     ` [Bugme-new] [Bug 14421] New: CH Products joystick detected but not functional Oliver Neukum
     [not found]       ` <200910162331.37533.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2009-10-19 13:08         ` Keith Rutkowski
2009-10-19 13:26           ` Oliver Neukum
2009-10-19 13:55             ` Keith Rutkowski
2009-10-19 14:34               ` Oliver Neukum
     [not found]                 ` <200910191634.09047.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2009-10-19 19:09                   ` Keith Rutkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).