- Xbox one linux mint
- Linux Mint Forums
- How to setup the Xbox One controller on Linux Mint
- How to setup the Xbox One controller on Linux Mint
- Re: How to setup the Xbox One controller on Linux Mint
- Re: How to setup the Xbox One controller on Linux Mint
- Re: How to setup the Xbox One controller on Linux Mint
- How to use Xbox One controllers over Bluetooth on Linux
- Temporarily disable Ertm
- Permenantly disable Ertm
- Pairing your Xbox One controller over Bluetooth
- In-depth pairing instructions
- 2 Comments
- Leave a Reply Cancel reply
- How to Set Up an Xbox One Controller in Ubuntu
- Using Xbox DRV
- Multiple controllers with Xbox DRV
- Using the SteamOS patched driver
- Get more out of your controller with AntiMicro and JSTest
- Conclusion
Xbox one linux mint
So I’m having some issues with PDP Xbox One Wired Controllers (blue and black camo), Linux Mint 19.1 Tessa, and Steam. Followed some how-to guides to get these set up, and i couldn’t find any with this problem. Hoping someone here can help me out.
So when I first start the PC, a xpad error message pops up:
and then refresh the list in jstest-gtk the 2 controllers show up:
Generic X-Box pad
Device: /dev/input/js0
Generic X-Box pad
Device: /dev/input/js1
But in the properties windows in jstest-gtk, none of either controller’s inputs are registered.
If i then open up Steam, it recognizes i am using a controller and suggests Big Picture mode. Open Big Picture mode and neither controller’s inputs are registered, only mouse and keyboard. Go into Steam’s «General Controller Settings» and under Detected Controllers:
- Generic Gamepad : Xbox One Controller
- Unregistered : Xbox 360 Controller
So Steam sees them just like jstest-gtk, but the only way i can find to get the controllers’ inputs to actually register is if I select each controller in the Steam settings screen and click «Identify» for each. Each controller will vibrate and their inputs will then be recognized by the system.
Play/stream a game and the 2 controllers then work properly and independently, couch co-op ftw.
However after i close whichever game, the PC’s mouse does not work properly, sort of like the gamepads’ axes are overriding or conflicting with the mouse’s axes with a constant up input. It constantly scrolls the mouse cursor to the top of the screen. Moving the mouse down will move the cursor down but you have to fight the upward input. Holding either stick down on either gamepad will cause the upward input for the cursor to move slower, but not stop. Mouse is pretty much uncontrollable.
If i hold the Xbox button on the controller until the Steam menu pops up and use the dpad to exit steam, the mouse continues to exhibit the same behaviour even on the desktop. The only way i have found to rectify it is to reboot the system via keyboard/terminal or choosing Restart System in the Steam Menu.
Then have to repeat it all over again.
#1 what is with the xpad error message on start up, and is there a way i can set the xpad module to automatically initialize on startup?
#2 why are none of the controllers’ inputs recognized until Steam sends them a vibrate command?
#3 why do the controllers’ inputs then override the system’s cursor after playing/streaming a game?
Thanks in advance to anyone able to point me in the right direction. Possibly relevant system and driver specs below:
AMD Phenom II X4 965
990FX+SB950 Chipsets
8GB RAM
EVGA 550Ti 1GB
Kingston 120GB SATA SSD
Linux Mint 19.1 Tessa
Gnome 3.28.2
Kernel version: 4.15.0-54-generic
X.org NVIDIA Driver: 390.116
xboxdrv version: 0.8.8-1
xserver-xorg-input-joystick = 1:1.6.3-1build1
Источник
Linux Mint Forums
Welcome to the Linux Mint forums!
How to setup the Xbox One controller on Linux Mint
How to setup the Xbox One controller on Linux Mint
Post by Sykal » Thu Oct 06, 2016 11:29 pm
Re: How to setup the Xbox One controller on Linux Mint
Post by trytip » Thu Oct 06, 2016 11:47 pm
Re: How to setup the Xbox One controller on Linux Mint
Post by Zsuark » Sun Nov 27, 2016 12:22 pm
How did it go? Any updates on this? I just got an Xbox One controller too. (Maybe I should take it back for an exchange)
Re: How to setup the Xbox One controller on Linux Mint
Post by acejavelin » Wed Nov 30, 2016 10:29 pm
Zsuark wrote: Heya.
How did it go? Any updates on this? I just got an Xbox One controller too. (Maybe I should take it back for an exchange)
Just plug it in via USB and go, works out of the box with no changes. Have not tried via BT as I do not have one with BT (only the «new» ones have BT).
I still carry a Xbox 360 wired controller in my work bag though, it seems to have less glitches, but both work.
Источник
How to use Xbox One controllers over Bluetooth on Linux
May 15, 2020
Comment
Unlike other Bluetooth controllers, the Xbox One controller will not interact with Linux without modifications. The reason? The Bluetooth chip inside of it has a DRM feature enabled, which prevents it from pairing successfully.
In this guide, we’ll go over how to disable the DRM feature that makes it impossible to pair your Xbox One controller to Linux over Bluetooth. Additionally, we’ll walk you through the pairing process.
Note: for this guide to be successful, you must have Bluetooth enabled on your Linux PC.
Temporarily disable Ertm
If you do not plan to use the Xbox One controller via Bluetooth on your Linux PC a lot, the best course of action is to disable Ertm, rather than shutting it off forever temporarily. To disable Ertm temporarily, start by opening up a terminal window. To open up a terminal window, press Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, follow the step-by-step instructions below.
Step 1: Elevate the terminal session from your Linux PC’s user account to Root. Accessing Root is a must because it is not possible to shut off Ertm without doing this.
Step 2: After gaining Root access in your Linux terminal, use the bash command below to shut off the Ertm feature in Bluetooth temporarily.
Once the command above is run, the Ertm feature will be temporarily disabled, and you will be able to connect the Xbox One controller to your system. However, keep in mind the command will only work after you reboot your system.
Permenantly disable Ertm
If you’re a heavy Linux gamer, the best course of action is to permanently disable the Ertm feature so that you no longer have to deal with it. There are many different ways to shut off Ertm. However, the best approach is by installing the Xpadneo kernel module. It automatically disabled Ertm and adds in some Xbox One controller enhancements as well. To get Xpadneo working so that Ertm is permanently disabled, follow the step-by-step instructions below.
Step 1: Open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, using the installation commands outlined below, install the dependencies required to build Xpadneo.
Ubuntu/Debian
Fedora
Arch Linux
Step 2: Using the Git tool in the Linux command-line, download the latest release of Xpadneo to your PC.
Step 3: Move the terminal window into the xpadneo folder with the CD command and run the install.sh script to install the Xpadneo kernel module, effectively disabling Ertm forever on your Linux system.
When the installation of Xpadneo is finished on your Linux PC, reboot it. Upon logging back in, Ertm will be shut off and your Xbox One controller will be ready to pair.
Pairing your Xbox One controller over Bluetooth
To pair your Xbox One controller over Bluetooth, start out by unplugging your Xbox One console if you own one. It may attempt to pair to the console while you connect to Bluetooth if not unplugged, which can disrupt the Bluetooth pairing process. It is also quite annoying having to deal with an Xbox One console that is turning on when unneeded.
After unplugging your Xbox One console, lift up the controller and hold down the Xbox button on the center of the controller for a second. If done correctly, the Xbox One controller will power on.
Once the Xbox One controller is powered on, it is time to put the device into Bluetooth scanning mode. To do that, look to the topside of the controller, in between the two bumpers and triggers, and hold down the sync button.
Hold down the Xbox One controller’s sync button until the Xbox One logo button in the center of the controller blinks rapidly. If the Xbox One button is not blinking rapidly, take out the batteries to the controller to shut it off, and try the process again.
When you’ve got your Xbox One controller into Bluetooth pairing mode, follow the step-by-step instructions below.
Step 1: Locate the Bluetooth icon on your Linux desktop’s panel and click on it with the mouse. Then, open up Bluetooth settings.
Step 2: Inside of Bluetooth settings, look for your Xbox One controller under “Devices.” When it does, click on it with the mouse. Select it to pair to your Linux PC.
In-depth pairing instructions
There are many different ways to pair Bluetooth devices to the Linux desktop, and each Desktop Environment runs a slightly different Bluetooth connection app. If you’re not able to figure out how to pair your Xbox One controller to your Linux PC with the instructions above, please follow our in-depth guide on how to pair Bluetooth devices on Linux.
2 Comments
thanks for your guide. However, the terminal gives me the following error:
$ sudo -s
root@alvise-XPS-13-9300:/home/alvise# bash -c echo 1 > /sys/module/bluetooth/parameters/disable_ertm
1: line 0: echo: write error: Invalid argument
Any suggestions? I’m using Ubuntu 20.04.
I’ve updated the command in the post. It should work now.
Leave a Reply Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Источник
How to Set Up an Xbox One Controller in Ubuntu
For a while now the Linux kernel has supported the Microsoft Xbox One controller officially. That being said, support isn’t the greatest. For starters there are some tweaks that could be done as well as the ability for multiple controller support and more. In this article we’ll show you how to set up an Xbox One controller in Ubuntu.
To be more specific we’ll go over how to use the alternative driver, the SteamOS patched driver, configuring the controller with specific tools, tweaking it, etc. If you’re a Linux gamer and the Xbox One controller is your go-to, you may want to keep on reading! Let’s get started!
Using Xbox DRV
If you want to get the XboxDRV driver installed on Ubuntu, open up a terminal and enter the following command:
Once the driver is installed, everything should be mostly set up. No need to blacklist anything, as everything should work out of the box. However, in order for XboxDRV to work effectively, some systemd services will need to be enabled.
Start off by enabling the service. This will make sure that XboxDRV will work every time you boot right out of the gate.
Now that it’s enabled, you can start the service so that you can use the driver right away.
After all of this is done, XboxDRV should be operational.
Multiple controllers with Xbox DRV
Remember earlier when we said that the XboxDRV driver is better in some ways? This is the main draw to this driver. The default driver, though impressive, doesn’t have solid multi-controller support. We can’t confirm that it’s not possible; however, with XboxDRV this is confirmed to work.
Here’s how to set it up. Start out in a terminal and enter the following:
This is the default configuration file. If you’re looking to add multi-controller support, you’ll need to add the following code to this file. Paste it under “silent = true” in the file. Here’s the code:
After the code has been added, press “Ctrl + O” to save the file, and then restart the driver:
After that you should be able to use multiple controllers.
Using the SteamOS patched driver
If you’re interested in sticking with the Xpad driver, you might be interested in Valve’s modified driver. It’s fixed up and specialized for SteamOS and Valve’s steambox consoles. All you’ll need to get it going is to add a PPA to your system. During the installation the current driver should be taken out, so no worries.
Start off by adding the PPA:
Once the PPA is on your system, you’ll need to update your system’s software sources.
After that, install the driver (along with the kernel headers if you don’t have them already):
After the driver is installed, simply reboot your machine. From here, you’ll be using the Valve-modified controller driver with your Xbox One controller.
Get more out of your controller with AntiMicro and JSTest
Drivers are one thing, and they certainly can make your Xbox One controller better on Ubuntu, but ultimately, if you want some solid configuration, you’ll need to check out some programs – two programs to be exact, the first one being JStest. It’s a simple and useful tool that you can use to calibrate your controllers’ axis.
Install it here:
The second program is Antmicro. If you’ve ever used Windows before, you might be familiar with a program called Xpadder. What it does is allow you to map keyboard and mouse functions directly to any controller plugged in.
This is what Antimicro does. When your Xbox One controller is detected on the system, you’ll easily be able to map keys and mouse gestures to the controller. This sort of thing is perfect if you’re playing a game that does not have gamepad support.
Install it here:
Conclusion
Though we are Linux gamers, we have to admit one thing: Microsoft knows how to make a controller. Out of all the controllers out there, the Xbox gamepad manages to be the most comfortable – and it seems that the gaming community at large agrees with this fact. Both the 360 and the One controller are among some of the most supported gamepads on all of the major PC platforms.
Hopefully, with the help of this article, you’ll be able to get more out of the Xbox One controller on Ubuntu.
What’s your preferred gaming controller to use on Ubuntu? Let us know below!
Derrik Diener is a freelance technology blogger.
Источник