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 read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Sykal

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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
trytip
Level 14
Level 14
Posts: 5371
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

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: 62
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
AmericanPi

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?
AmericanPi

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
User avatar
ugly
Level 5
Level 5
Posts: 594
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

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

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

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.
Christeneus

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

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/
buddyboy
Level 1
Level 1
Posts: 3
Joined: Sun Jun 06, 2021 9:01 pm

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

Post by buddyboy »

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
Thank You! this still works as of 2021
Locked

Return to “Gaming”