Bug 11800 - SDL1.2.15 has a bug which kills some axis on devices with many axis
Summary: SDL1.2.15 has a bug which kills some axis on devices with many axis
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://bugs.archlinux.org/task/31331
Whiteboard: has_procedure advisory MGA3-64-OK mga...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2013-11-27 18:45 CET by MH
Modified: 2013-12-18 00:53 CET (History)
4 users (show)

See Also:
Source RPM: SDL12-1.2.15-4.mga3.src.rpm
CVE:
Status comment:


Attachments

Description MH 2013-11-27 18:45:05 CET
Description of problem:
SDL1.2.15 has a bug which kills some axis on devices with many axis for example
a PS3 Sixaxis Controller. On 

Version-Release number of selected component (if applicable):


How reproducible:
stable, happens every time

Steps to Reproduce:
1. Install any Software using SDL 1.2.15 with Joystick support.
2. plug in a PS3 Controller in USB port
3. try to use axis 0 (left stick, left/right movement)

Results:

All Axis work in the KDE input settings but with SDL Input the left stick wont work in left/right movement.


Additional information:
* This was also reported in the mupen64plus bug tracker [1] and according to this it is a bug in SDL 1.2.15 exactly the version Mageia 3 is using (SDL2 should solve this)

[1] http://code.google.com/p/mupen64plus/issues/detail?id=388



Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2013-12-13 00:04:04 CET
SDL2 is a different library, but the arch bug you linked had a link to the upstream bug, which linked a patch they committed in the SDL1.2 branch:
https://bugzilla.libsdl.org/show_bug.cgi?id=1460#c6

I've added that to the package, so let us know if that fixes your issue.

Advisory:
----------------------------------------

This update fixes an issue with joystick axes (SDL#1460).

References:
https://bugzilla.libsdl.org/show_bug.cgi?id=1460
----------------------------------------
Updated packages in core/updates_testing:
----------------------------------------
libSDL1.2_0-1.2.15-4.1.mga3
libSDL-devel-1.2.15-4.1.mga3

from SDL12-1.2.15-4.1.mga3.src.rpm

CC: (none) => luigiwalser, shlomif
Assignee: bugsquad => qa-bugs

Comment 2 MH 2013-12-15 02:11:26 CET
Thanks for fixing.

The updated package fixed the issue.
Comment 3 David Walser 2013-12-15 02:37:10 CET
(In reply to MH from comment #2)
> Thanks for fixing.
> 
> The updated package fixed the issue.

Thanks for letting us know.  Are you testing on i586 or x86_64?
Comment 4 MH 2013-12-15 19:30:45 CET
> Thanks for letting us know.  Are you testing on i586 or x86_64?

Im testing on x86_64.
Comment 5 David Walser 2013-12-15 19:33:41 CET
(In reply to MH from comment #4)
> > Thanks for letting us know.  Are you testing on i586 or x86_64?
> 
> Im testing on x86_64.

Thanks.  Once someone has tested this on i586, it can be released.  If nobody has the hardware to test, just general testing of an SDL app should be sufficient since the reported has confirmed that it fixes the reported issue.

Whiteboard: (none) => MGA3-64-OK

claire robinson 2013-12-16 16:35:31 CET

Whiteboard: MGA3-64-OK => has_procedure MGA3-64-OK

Comment 6 claire robinson 2013-12-16 17:51:10 CET
Testing complete mga3 32 using nexuiz-sdl and ps3 controller.

Whiteboard: has_procedure MGA3-64-OK => has_procedure MGA3-64-OK mga3-32-ok

Comment 7 claire robinson 2013-12-16 17:59:36 CET
Went and turned off the PS3 which turned itself on when unplugging the controller from computer USB :D

Validating. Advisory uploaded.

Could sysadmin please push from 3 core/updates_testing to updates

Thanks!

Keywords: (none) => validated_update
Whiteboard: has_procedure MGA3-64-OK mga3-32-ok => has_procedure advisory MGA3-64-OK mga3-32-ok
CC: (none) => sysadmin-bugs

Comment 8 Thomas Backlund 2013-12-18 00:53:47 CET
Update pushed:
http://advisories.mageia.org/MGAA-2013-0133.html

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.