How to setup the Xbox One controller on Linux Mint

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Sykal
Level 1
Level 1
Posts: 23
Joined: Mon Apr 28, 2014 2:35 pm
Location: Silent Hill

How to setup the Xbox One controller on Linux Mint

Post by Sykal »

Hi! I just bought one of the new xbox one controllers because I heard that they have bluetooth and the Linux kernel supports it natively. I am having trouble connecting it through my USB bluetooth dongle. It is a bluetooth 4.0 dongle and I have been able to connect the Wii U Pro controller on mint just fine. I have tried using a USB cable to help synch it but it has not worked. It works just fine in Win 10. Anyone knows what could be the problem?
LinuxMint 18.1
AMD 8370, 16GB Ram, GTX 970.
User avatar
trytip
Level 13
Level 13
Posts: 4928
Joined: Tue Jul 05, 2016 1:20 pm

Re: How to setup the Xbox One controller on Linux Mint

Post by trytip »

use a usb cable or install xboxdrv in synaptic. maybe tha will work
Image
Zsuark
Level 1
Level 1
Posts: 1
Joined: Sun Nov 27, 2016 12:10 pm

Re: How to setup the Xbox One controller on Linux Mint

Post by Zsuark »

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)
User avatar
acejavelin
Level 2
Level 2
Posts: 61
Joined: Mon Nov 03, 2014 9:37 pm

Re: How to setup the Xbox One controller on Linux Mint

Post by acejavelin »

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.
Linux Mint 20 Cinnamon
MSI MPG X570 Gaming Edge WIFI - AMD Ryzen 5 3600 - 750w PS
Nvidia GTX 980ti - 32GB DDR4 3200Mhz RAM
Crucial P1 1TB M.2 NVMe (Linux) - Sandisk X400 256GB M.2 SSD (Windows 10)
Seagate 3TB HDD - LG 16x Blu-Ray RW
User avatar
AmericanPi
Level 3
Level 3
Posts: 109
Joined: Thu Sep 01, 2016 2:28 am
Location: New Jrsey
Contact:

Re: How to setup the Xbox One controller on Linux Mint

Post by AmericanPi »

acejavelin wrote: 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).
...
:shock: Oh Yea
:!: it's about to go down :!:
_depending on whether this works when I get home....

Anyone have any success connecting the Xbox1 ctrl over BlueTooth?
User avatar
AmericanPi
Level 3
Level 3
Posts: 109
Joined: Thu Sep 01, 2016 2:28 am
Location: New Jrsey
Contact:

Re: How to setup the Xbox One controller on Linux Mint

Post by AmericanPi »

-
-
-

God i swear, I love this forum.
I was looking for this and it came right up!
_even when I can't find something there's always someone in a thread who directs me to the right post.

sweet
ugly
Level 4
Level 4
Posts: 368
Joined: Thu Nov 24, 2016 9:17 pm

Re: How to setup the Xbox One controller on Linux Mint

Post by ugly »

I don't have the Bluetooth version, but I've been following a couple threads on working for the PC wireless adapter driver. A few people mentioned that they got the Bluetooth version controller working.

Check out these links:
https://github.com/paroj/xpad/issues/14

https://github.com/360Controller/360Con ... issues/291

In particular, this post:
https://github.com/paroj/xpad/issues/14 ... -249609916
flodo
Level 1
Level 1
Posts: 2
Joined: Wed May 23, 2018 8:14 pm

Re: How to setup the Xbox One controller on Linux Mint

Post by flodo »

What you heard is only half of the truth, I fear.
I had to learn it the hard way too, finally I wrote a linux driver myself, give it a try:
https://github.com/atar-axis/xpadneo

edit: Oops, sorry and RIP
nioman
Level 1
Level 1
Posts: 3
Joined: Thu Sep 13, 2018 12:19 pm

Re: How to setup the Xbox One controller on Linux Mint

Post by nioman »

flodo wrote:
Fri Jul 13, 2018 4:05 am
What you heard is only half of the truth, I fear.
I had to learn it the hard way too, finally I wrote a linux driver myself, give it a try:
https://github.com/atar-axis/xpadneo

edit: Oops, sorry and RIP
Holy cow! I have been struggling with my controller for days! The only distro it has worked on so far was steamos. On Mint I had to pair the controller again each time I wanted to use it. Your driver works like a dream!
OldSchoolTech
Level 1
Level 1
Posts: 30
Joined: Tue Oct 16, 2018 11:58 am
Location: Ireland

Re: How to setup the Xbox One controller on Linux Mint

Post by OldSchoolTech »

When I plug my Xbox One controller in (the S model I got with my Xbox One X) it works and picks up as xinput, but when using Wine, the games are picking up that I'm holding RT and the mapping for the sticks and back/start buttons are messed up. What's the easiest way to fix this? I never got it to work on xboxdrv and just left it on xpad. I've tried xpadneo and that way it gets picked up on Bluetooth, but then I can't get anything to pick it up as xinput.
MB: ASUS Z170 Pro Gaming | CPU: i7 7700k @4.8GHz | RAM: 16GB DDR4 @3000MHz | GPU: RX VEGA 64
Storage: 250GB NVMe, 240GB SSD, 2TB HDD | OS: Win10 / Mint19 Cinnamon (dual boot)
Christeneus
Level 1
Level 1
Posts: 2
Joined: Wed Jul 31, 2019 10:26 am

Re: How to setup the Xbox One controller on Linux Mint

Post by Christeneus »

This whole controller jstest thing is soo broken, it's unbelievable! I've NEVER had my xbox one controller functioning on linux mint... I've put endless hours into attempting it, and not so much as any xboxdrv, jstest or Qjoypad gets me a sliver of gaming. It's worse on 20, this time I can't even see xbox 360 controllers listed there, sometimes 6 of them; as if anyone uses 6 xbox 360 controllers on what the hell sort of game in 2020!!?!
rtz
Level 1
Level 1
Posts: 1
Joined: Fri Oct 02, 2020 11:06 am

Re: How to setup the Xbox One controller on Linux Mint

Post by rtz »

I have a usb cable xbox one (fake) gamepad. But not working with xboxdvr or xpad. Its an esperanza EGG111 gamepad. On my air mac 2008 (running MINT) recognized as NINTENDO controller and not working also.
Please, is there any hope for my son to play with this gamepad on Linux?

Code: Select all

uname -a && cat /etc/*release*
Linux  5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=20
DISTRIB_CODENAME=ulyana
DISTRIB_DESCRIPTION="Linux Mint 20 Ulyana"
NAME="Linux Mint"
VERSION="20 (Ulyana)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20"
VERSION_ID="20"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=ulyana
UBUNTU_CODENAME=focal

Code: Select all

 lsusb -vvt

/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    /sys/bus/usb/devices/usb1  /dev/bus/usb/001/001
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
        /sys/bus/usb/devices/1-1  /dev/bus/usb/001/002
        |__ Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=xpad, 12M
            ID 045e:02d1 Microsoft Corp. Xbox One Controller
            /sys/bus/usb/devices/1-1.1  /dev/bus/usb/001/005
        |__ Port 6: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
            ID 0c45:6480 Microdia Sonix 1.3 MP Laptop Integrated Webcam
            /sys/bus/usb/devices/1-1.6  /dev/bus/usb/001/004
        |__ Port 6: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
            ID 0c45:6480 Microdia Sonix 1.3 MP Laptop Integrated Webcam
            /sys/bus/usb/devices/1-1.6  /dev/bus/usb/001/004

Code: Select all

jstest /dev/input/js0
Driver version is 2.1.0.
Joystick (Microsoft X-Box One pad) has 8 axes (X, Y, Z, Rx, Ry, Rz, Hat0X, Hat0Y)
and 11 buttons (BtnA, BtnB, BtnX, BtnY, BtnTL, BtnTR, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR).
Testing ... (interrupt to exit)
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:-32767  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:-32767  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:-32767  3:     0  4:     0  5:     0  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:-32767  3:     0  4:     0  5:-32767  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:-32767  3:     0  4:     0  5:-32767  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9Axes:  0:     0  1:     0  2:-32767  3:     0  4:     0  5:-32767  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 
it looks like everithing is recognized , but nothing happens ... what am I doing wrong?
minty_melon
Level 1
Level 1
Posts: 4
Joined: Sat May 23, 2020 6:50 pm

Re: How to setup the Xbox One controller on Linux Mint

Post by minty_melon »

I found something that worked for me. I hope this helps other people that had the same issues.
https://steamcommunity.com/app/221410/d ... 442481325/
Post Reply

Return to “Gaming on Linux Mint”