Bug#564831: libsdl1.2debian: Crash when using dpad for joystick and misdetecting axis/hats

Tarek Soliman tarek-spam at zeusmail.bounceme.net
Tue Jan 12 06:17:00 UTC 2010


Package: libsdl1.2debian
Version: 1.2.14-2
Severity: important
Tags: patch

There is a bug that causes the joystick to be detected as 1 axis 13 buttons
 0 hat instead of 4 axis, 12 buttons, 1 hat

Found a commit that fixes it in upstream trunk rev 5424

Fixed crash in joystick handling code.  Newer 2.6 kernels add an additional
 'resolution' field to input_absinfo.  Note that we don't use that structure
  since we want to have enough space for the values even when building with 
  an older kernel.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686-mm (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libsdl1.2debian depends on:
ii  libsdl1.2debian-alsa          1.2.14-2   Simple DirectMedia Layer (with X11

libsdl1.2debian recommends no packages.

libsdl1.2debian suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: joystick-crash.patch
Type: text/x-diff
Size: 451 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20100112/9357ea93/attachment.patch>


More information about the Pkg-sdl-maintainers mailing list