How to resolve xpad problems (vibration of xbox360 pads, freezings...)
Nasra Jun 23, 2016
Solution was posted on GRID : Autosport steam's forum by MSTurg

To try the latest xpad driver (with the December patch due to be in Linux 4.5, rather than the one earlier in this thread), these instructions should hopefully do the trick:

# Cleanup, just in case you installed it before
sudo rm -fR /usr/src/xpad-0.4

# get the latest xpad from the github staging repo
sudo git clone https://github.com/paroj/xpad.git /usr/src/xpad-0.4

# Add build and install xpad with dkms
sudo dkms install -m xpad -v 0.4

# The xpad module is installed to DKMS and it will be build on each kernel update automatically.

You can optionally also run this test script. It should cause a kernel panic if the bug is still present.
wget -O test-xpad.sh http://pastebin.com/raw/Pbu2bgM2
chmod a+x test-xpad.sh
#next command will crash the system within a min or two (probably much less) IF the bug is not fixed
./test-xpad.sh
# Press Ctrl+C to end the test

If you are on Arch, you can instead just use this AUR package[aur.archlinux.org] to do all that automatically.

If you really want to use the linux 4.5[git.kernel.org] (or any other) version, you should be able to just replace /usr/src/xpad-0.4/xpad.c with the version you want to use.

NOTE: The patch that fixes this introduced another issue[github.com]. However if you install as instructed above, you will also get the fix for that new regression, so it's all good :)

FYI: Ubuntu 16.04 has the main kernel panic fix, but not the regression fix. The bug report is here[bugs.launchpad.net]
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.

Buy Games
Buy games with our affiliate / partner links: