| Summary: | MP-8800 Quad USB Joypad no longer works with libsdl-1.2.10 or libsdl-1.2.11 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Dean LM <dean.lm> |
| Component: | joystick | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P1 | CC: | sezeroz |
| Version: | 1.2.10 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
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. 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. Any update on this? This hasn't been updated in a couple years. Please reopen this if it's still active in 1.3. |
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