Sep 29, 2017 - The Xbox One controller can be used to play games on the PC. Below are instructions on how to setup both your wireless controllers and Bluetooth controllers. You should see your Xbox One controller device, click on it and press done. Issue is caused by the wireless adapter not working properly. If your Xbox One controller is on and synced to your Xbox One but not responding this video may help with that issue! If your Xbox One controller is on and synced to your Xbox One but not. If you're receiving the Code 1 - This Device Is Not Configured Correctly error. We think this one's a longshot, but if all else fails, it might just be what you need.
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 I do know that when using this on Windows I have to manually install the drivers for the wireless receiver (if that is relevant.)
11 Answers
Xbox One Controller Not Connecting
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:
You also need to ensure that xpad is not getting loaded:
Then run the xboxdrv:
Configuring the pad
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:
In the window that shows up, select your controller (Microsoft X-Box 360 pad, Generic X-Box pad, etc.) and click Properties:
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.
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.
Configure xboxdrv to start at boot
If you're making a dedicated machine or want to ensure that xboxdrv is loaded on startup you can do this:
First create an upstart job:
and in there add the following contents:
This will ensure xboxdrv is started on boot.
Sources:
Ubuntu 14.04, 15.10, 16.04:
I created an PPA to install and create a proper daemon for xboxdrv
in 14.04 and above.
Additionally this PPA will cleanup broken config, mark xpad as conflict (stop it if necessary), start the xboxdrv daemon and create a 'Joysticks' entry into System Settings.
To install it, run in a terminal:
PS: I cloned the package to other releases and even changed it to work with systemd
.
Xbox Controller Driver Not Configured Properly In Windows 7
Finally solved it. Just type in this in the Terminal
and then press ctrl+c
and done you just installed Xbox driver and you're all ready to use your Xbox 360 controller :D. I guess when everyone says the controller is a Plug&Play and it does not then you have to install the necessary drivers to use it.
UPDATE: This is not required for Kernel 4.2 (maybe 15.10 or 16.04) and higher. This Bug has finally been fixed: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1272765.
If you have problems with blinking LEDs just add this ppa and install the fixed xpad kernel module from SteamOS. Thanks Valve!
This updates the xpad module in Ubuntu, so you do not need xboxdrv.
This is an update to existing answers for a way to get an XBox360 controller working in Wine >= 1.7, including Steam games in Wine on Ubuntu >= 13.10. No root permissions needed for installation and operation.
The below method makes use of x360ce.exe, which basically provides Dinput codes for Wine to communicate with a game (Note that your XBox controller still sends Xinput controls).
Plug in your XBox360 (or compatible) controller to have it automatically recognized with the xpad kernel module.
No need to install and run
xboxdrv
because at present the controller appears to be recognized. Do not blacklist the Xpad kernel module as was recommended in older tutorials.- Download the ZIP archives for the Windows (Wine) application x360ce and its accompanying .dll binaries for Xinput, and Dinput.
Extract the ZIP archives to copy their content with at least the following files to the game's executable directory (e.g.
~/.wine/drive_c/Programs/Games/game.exe
or~/.wine/drive_c/Programs/Steam/SteamApps/common/Name_Of_Game/game.exe
):- x360ce.exe
- dinput8.dll
- xinput1_3.dll
some games may also need:
- xinput1_9.dll
Run
x360ce.exe
with Wine to create a samplex360ce.ini
file in the game's directory if not yet present.- Quit
x360ce.exe
(you may have to kill Wine to do so as the application may hang) Open the
x360ce.ini
file with an editor to add the following line to prevent future crashes or hangs:Start
x360ce.exe
again to recognize your XBox controller(s).- We may optionally choose from a premade setup file as soon as the controller was recognized.
Adjust buttons and joystick axes of your controller to appropriate values.
Save saves these settings to the xbox360ce.ini file
- Then quit (or kill)
x360ce.exe
- If needed open the
x360ce.ini
file in an editor again to fine tune some of the settings. - Your Windows game should now recognize the controller when started from Wine.
- Do not unplug the controller, as it will then only be recognized after a restart of the game.
- Backup the .ini file for future use to avoid re-calibration.
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):
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.
Just as an unrelated side note, the error you were seeing with your makefile was due to the fact that makefiles use tabs for indentation and likely when the file was copied those tabs were changed to spaces.
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.
That's old stuff. It should work as soon as you plug it in, if the game is compatible. I think if the game expects an xbox controller (i.e not a generic one) in Wine then it's not likely to work. Native games should work. It's listed as a project for Google Summer of Code so it's on the agenda.
I'm running Linux kernel version 4.0.0 and needed to install nothing and configure absolutely nothing to play games with my XBOX 360 controllers. Even linux-native couch co-op games that require more than one controller like 'lovers in a dangerous spacetime' or 'trine' worked out of the box. Just plugging in the two controllers and done.
The yank-decoupler part of my controller wasn't plugged all the way in. That was all my problem was.
protected by Community♦May 12 '13 at 15:29
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged gamepadxbox-360 or ask your own question.
I'm trying to pair my Xbox One (Model 1697 1697-IL) controller with the wireless adapter for some time now without much success. It works just fine when plugging in via an USB cable.
If I check the device managers status, the device status is:
This device is working properly.
But under the Events tab I see that the first event is
- Device not migrated
This is the full log of the event:
Device USBVID_045E&PID_02E6026243 could not be migrated.
Last Device Instance Id: USBVID_2717&PID_0360D76AF11 Class Guid: {36FC9E60-C465-11CF-8056-444553540000} Location Path: PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(2)
Followed by these events:
- Device configured (oem2.inf)
- Device started (mt7612US)
- Device installed (mt7612us.inf)
It was also not working on Windows 8.1 before. I'm now running Windows 10, wanted to upgrade any way but I've read that the Win 10 support for the Xbox controller is supposed to be better - or not...
I've tried to figure out what exactly a possible cause of the message in the event could be but couldn't find anything meaningful out.
I've tried plugging the adapter in different USB ports (v3 and 2) already. I've upgraded the controllers firmware by connecting it with an USB cable. I'm running the latest driver version. I've tried an older version as well - still no success.
My installed driver appears as 'Xbox Wireless Adapter for Windows' in the device manager and the version is 21.50.45.656 from 2015-12-08.
Any other recommendations?
1 Answer
This thread from Reddit may help you. It appears that the Xbox One controllers can utilize two drivers; Xbox One Controller
, and Microsoft Xbox One Controller
.
The thread has other troubleshooting steps, but the two main (and most popular/successful steps appear to be as follows)
Method 1
Method 2
Hopefully this helps. If not, there's something else awry, and other troubleshooting may be needed.
EDIT: Per the asker's request;
I'm not sure if this solved it or if it was just a weird side effect of changing the drivers version forward and backward again. When connected via USB cable it said 'Xbox controller', changed that to 'Xbox gaming device', unplugged the USB cable, and the wireless stuff started to work for whatever reason... No idea why!