Kernel Bug Tracker – Bug 7193
drivers/usb/input/xpad.c is extremely old and doesn't work with my controller
Last modified: 2009-03-23 09:59:15 UTC
Most recent kernel where this bug did not occur: Same driver (0.0.5) for all of
Distribution: Gentoo Linux 2006.1
Hardware Environment: Compaq Deskpro EN P1.0
Software Environment: emerge --info (with unimportant things cut):
System uname: 2.6.17-gentoo-r8-omg-optimized i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.4
Last Sync: Fri, 22 Sep 2006 00:30:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-util/confcache: [Not Present]
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
Problem Description: The main kernel includes an xbox controller driver.
However, it is ancient. The latest version is 0.1.6, while the kernel runs
version 0.0.5. This driver was, as it says, hacked together in a few hours, and
does not have proper support for many things... for instance, the right
thumbstick is inverted, and dance pads don't work properly (in the new drivers,
the arrows are properly mapped as buttons. In this driver, however, they are
not). Also, there is no support for the Xbox 360 controller in the kernel's
Steps to reproduce: Compile with xbox controller support, and plug in a
controller. Chances are that the right thumbstick will be inverted. Next, plug
in a dance pad and you'll see that it maps the arrows to axis, which makes
pushing two buttons at the same time impossible (and ruins my score <_< )
If you want to know where to get the latest drivers created for the 2.6 series
kernels, you can check here:
Dance pad support, at least, has been ported to the mainline kernel; the first
release after the commit was 2.6.19-rc3. See the commit here:
And there's just recently (two days ago) been an update to detect many more
dance pads and automatically map the d-pad to buttons instead of axes here:
The dance pad support part was addressed in bug 7070, but the right thumbstick
and lack of 360 support parts were not.
Created attachment 11263 [details]
xpad (xbox 360 joypad)
How about to update this on 2.6.23 ?
Adam, were you able to test with recent kernels?