Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a Microsoft XBOX 360 gamepad with the wireless adapter and I was wondering what I would have to install to use them with Ubuntu 12.04. I read a few other posts but they are old and I could not get them to work. I do know that when using this on Windows I have to manually install the drivers for the wireless receiver (if that is relevant.) Any help would be greatly appreciated. Thanks!

share|improve this question
I have tried xboxdrv and I'm not sure exactly what the links were because it was on an old installation of Ubuntu. – jhorton014 Jul 18 '12 at 19:11
I am still currently using xboxdrv but I have no idea how it works or how to install the drivers for the wireless receiver. – jhorton014 Jul 18 '12 at 19:12
I am still trying to figure out how to open xboxdrv in the terminal to run commands – jhorton014 Jul 18 '12 at 19:14
i do not know any commands to try, I am still new to Ububtu/Linux. – jhorton014 Jul 18 '12 at 19:23
I am trying to find the drivers for the receiver to install manually, xboxdrv is already recognizing the plug and play controller. – jhorton014 Jul 18 '12 at 19:23
show 8 more comments

3 Answers

How To Install and Configure the Xbox 360 Wired/Wireless Controller under Ubuntu 12.04

If you find difficulties running your XBOX 360 controller, then this will help you install it on a computer running Ubuntu, and also show you how to configure it. These instructions are workable for both wired or wireless X-Box 360 controllers.


Getting Started

To be able to use your Xbox 360 wired/wireless controller under Ubuntu 12.04 (Precise Pangolin), you need first to install some required packages.

Open the terminal and run this command:

sudo apt-get install --install-recommends jstest* joystick xboxdrv

Connect now your game controller to your PC via USB (wired) or connect your XBOX 360 PC wireless gaming receiver for your wireless controller, then run this command to start the configuration:

jstest-gtk

In the window that shows up, select your controller (Microsoft X-Box 360 pad, Generic X-Box pad, etc.) and click Properties:

enter image description here

Note If your controller is not listed, try to click the "Refresh" button.

A new window will pop-up which will help you calibrate your gaming controller, remap the buttons of your game controller (changing the order of axis and buttons), etc. enter image description here

After you finish your configuration, save your new settings and close the window. You will be able now to use your Xbox 360 controller to play games under Ubuntu.

Source

share|improve this answer

I am not sure what you have tried, so let's try official instructions first. Please open a terminal(search for it in the dash) and type the following commands, one by one(no need to copy the output):

sudo add-apt-repository ppa:grumbel/ppa
sudo apt-get update
sudo apt-get install xboxdrv
sudo apt-get install xboxdrv-stable 

Reboot, and your wireless receiver should be recognized.

Note that unfortunately, there isn't a 12.04 package for xboxdrv-stable. You may consider contacting contacting the package maintainer, assuming you have a Launchpad.net account. Still, try using the software that needs the driver.

share|improve this answer
Thanks. I'm trying it now. – jhorton014 Jul 18 '12 at 19:50
Error. josh@ubuntu:~$ sudo apt-get install xboxdrv-stable [sudo] password for josh: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package xboxdrv-stable josh@ubuntu:~$ – jhorton014 Jul 18 '12 at 19:57
Yes i did. It said that it worked fine. – jhorton014 Jul 18 '12 at 19:58
I already have xboxdrv installed. I did all of the steps that you showed me and it all worked fine untill the last link. I restarted and it still does not work. – jhorton014 Jul 18 '12 at 20:00
OK I will. Thanks for the fast replies and all of the help. Have a good one! – jhorton014 Jul 18 '12 at 20:02

You don't need to install anything, the kernel has a build in driver. Just plug the wireless adapter into USB and sync the controller. xboxdrv is only needed if you want additional configuration options, button remapping, mouse emulation, etc.

share|improve this answer

protected by Community May 12 at 15:29

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.