mayflash super joy box 5 pro can only use 1 gamepad

Bug #751901 reported by Carlos Ramos
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

I have one of this:

http://www.mayflash.com/pc/pc039/pc039-1.htm

which is a multi-tap ps/ps2 to usb connector that supports up to four controllers. But on ubuntu 10.10 fully updated it only supports one, or rather all four controllers signals are received through a single device (/dev/input/js0). So you can use any of the four, but not all at the same time.

Looking around and based on this link:

http://<email address hidden>/msg10317.html

I realized that probably reason for this device not to work was because the HID_QUIRK_MULTI_INPUT quirk is not been applied to it, so i looked for it's usb product id in the sysfs (vendor=6666, product=8804) which is also documented in this link:

http://www.linux-usb.org/usb.ids

and patched the current maverick kernel (2.6.35-28) and now all four controllers work separately as they should and four joystick devices are created when connected (/dev/input/js[0-3]) assuming there are four controllers connected to the connector.

I hope this get fixed so i don't have to patch my kernels anymore :). Also please advice if i should report this upstream too or if the ubuntu kernel team will handle that.

Thanks in advance for your hard work.

Tags: patch
Revision history for this message
Carlos Ramos (carragom) wrote :
Revision history for this message
Carlos Ramos (carragom) wrote :

This problem also affects Ubuntu 10.04 LTS

Revision history for this message
Herton R. Krzesinski (herton) wrote :

Yes, please send your patch upstream.

When sending it, make sure you write a proper subject and changelog, and in the end of the changelog you should add your signed off and cc to stable, so this change is included not only on development release but previous maintained stable releases:

Signed-off-by: your name <login@email>
Cc: <email address hidden>

After you have a diff with proper changelog and signed-off/cc, send the patch inline to the hid maintainer, as listed on MAINTAINERS file in kernel source:
M: Jiri Kosina <email address hidden>
L: <email address hidden>
So send to him and Cc linux-input, you may also optionally add <email address hidden> to cc

Please ask if you have any doubt.

For more details, you may read Documentation/SubmittingPatches in the kernel sources, but above is sufficient for your patch.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Sean Young (sean-young) wrote :

I've submitted a different patch upstream for the Super Joy Box 5 Pro, amongst others. This patch also enable force feedback.

http://www.spinics.net/lists/linux-input/msg17851.html

This patch been accepted into the for-next branch.

http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git;a=commit;h=1bcc20675a1ac1ba47eaa201e02a89b0508e17b2

Any testing would be appreciated!

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.