Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MP-8800 Quad USB Joypad no longer works with libsdl-1.2.10 or libsdl-1.2.11 #262

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Labels
worksforme We can't reproduce the bug

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 1.2.10
Reported for operating system, platform: Linux, x86

Comments on the original bug report:

On 2006-12-19 14:26:12 +0000, Dean LM wrote:

I've recently upgraded the SDL library from version 1.2.9 to 1.2.11 and found th
at my MP-8800 Quad USB Joypad no longer works. Tried downgrading to version 1.2.
10 but it too fails to detect the 4 joysticks. I've reverted back to version 1.2
.9 and it works fine.
Could it be due to a change/bug in /src/joystick/linux/SDL_sysjoystick.c
in version 1.2.10?

1.2.11 installed

sdl-config --version
1.2.11

./SDL-1.2.11/test/testjoystick
There are 1 joysticks attached
Joystick 0: /dev/js0

./SDL-1.2.11/test/testjoystick 0
There are 1 joysticks attached
Joystick 0: /dev/js0
Watching joystick 0: (/dev/js0)
Joystick has 2 axes, 0 hats, 0 balls, and 2 buttons

1.2.10 installed

sdl-config --version
1.2.10

./SDL-1.2.10/test/testjoystick
There are 1 joysticks attached
Joystick 0: /dev/js0
./SDL-1.2.10/test/testjoystick 0
There are 1 joysticks attached
Joystick 0: /dev/js0
Watching joystick 0: (/dev/js0)
Joystick has 2 axes, 0 hats, 0 balls, and 2 buttons

1.2.9 installed

sdl-config --version
1.2.9

./SDL-1.2.9/test/testjoystick
There are 4 joysticks attached
Joystick 0: WiseGroup.,Ltd MP-8800 Quad USB Joypad # 01
Joystick 1: WiseGroup.,Ltd MP-8800 Quad USB Joypad # 02
Joystick 2: WiseGroup.,Ltd MP-8800 Quad USB Joypad # 03
Joystick 3: WiseGroup.,Ltd MP-8800 Quad USB Joypad # 04

./SDL-1.2.9/test/testjoystick 0
There are 4 joysticks attached
Joystick 0: WiseGroup.,Ltd MP-8800 Quad USB Joypad # 01
Joystick 1: WiseGroup.,Ltd MP-8800 Quad USB Joypad # 02
Joystick 2: WiseGroup.,Ltd MP-8800 Quad USB Joypad # 03
Joystick 3: WiseGroup.,Ltd MP-8800 Quad USB Joypad # 04
Watching joystick 0: (WiseGroup.,Ltd MP-8800 Quad USB Joypad # 01)
Joystick has 16 axes, 4 hats, 0 balls, and 48 buttons

uname -r
2.6.19-gentoo-r1

lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 0925:8800 Lakeview Research WiseGroup Ltd, MP-8800 Quad J
oypad
Bus 001 Device 001: ID 0000:0000

dmesg
...
usb 1-2: new low speed USB device using ohci_hcd and address 3
usb 1-2: configuration # 1 chosen from 1 choice
input: WiseGroup.,Ltd MP-8800 Quad USB Joypad as /class/input/input4
input: USB HID v1.00 Joystick [WiseGroup.,Ltd MP-8800 Quad USB Joypad] on usb-00
00:00:02.2-2

regards,
Dean

On 2007-07-06 01:15:08 +0000, Sam Lantinga wrote:

This is probably a direct result of the fix for bug # 4, which specifically turns the MP-8800 into a single joystick.
http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL/release-1.2.10/src/joystick/linux/SDL_sysjoystick.c?r1=1947&r2=2105

Your specific joystick probably just needs to be added to the joystick_logicalmap array.

Can you debug it and see why your joystick name isn't showing up properly? You can also probably define NO_LOGICAL_JOYSTICKS at the top of src/joystick/linux/SDL_sysjoystick.c to work around the problem locally.

Alternatively if you need help, you can loan me your joystick and I'll see if I can figure out the problem.

On 2007-07-08 23:50:43 +0000, Ryan C. Gordon wrote:

Bumping some bugs' priorities to P1 for consideration before the 1.2.12 release (though some may not be resolved for 1.2.12).

--ryan.

On 2007-07-19 01:18:06 +0000, Sam Lantinga wrote:

Any update on this?

On 2009-09-20 22:41:05 +0000, Sam Lantinga wrote:

This hasn't been updated in a couple years. Please reopen this if it's still active in 1.3.

@SDLBugzilla SDLBugzilla added bug worksforme We can't reproduce the bug labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme We can't reproduce the bug
Projects
None yet
Development

No branches or pull requests

1 participant