[SOLVED] Xbox One Wireless Controller not connectable

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
henry11
Level 1
Level 1
Posts: 31
Joined: Tue Jan 11, 2022 12:54 pm
Location: Germany

[SOLVED] Xbox One Wireless Controller not connectable

Post by henry11 »

Hello out there,

my Xbox One Wireless Controller is not working on a fresh installed Mint 20.3.
What I did:
Plugged it in with the usb-dongle = no response, only blinking connection-symbol.
Then I installed the Xbox drivers:

Code: Select all

sudo apt-get install xboxdrv
and that installed the 0.8.8 drivers = same result.
What else has to be done, so that he will work?
The inxi report is in my signature, if needed.

Thanks in advance
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linux Mint 20.3 Cinnamon Edge 64bit
User avatar
ugly
Level 5
Level 5
Posts: 592
Joined: Thu Nov 24, 2016 9:17 pm

Re: Xbox One Wireless Controller not connectable

Post by ugly »

I don't think the xboxdrv works for wireless.

If you are using the official XBox USB dongle to try and connect, then you will need to install xow: https://github.com/medusalix/xow

If you are trying to connect using Bluetooth (less reliable), then you will need to install xpadneo: https://github.com/atar-axis/xpadneo
User avatar
henry11
Level 1
Level 1
Posts: 31
Joined: Tue Jan 11, 2022 12:54 pm
Location: Germany

Re: Xbox One Wireless Controller not connectable

Post by henry11 »

Hi ugly,
thanks for your respond.
Tried to install the drivers from medusalix.
This worked:

Code: Select all

sudo apt install git

Code: Select all

git clone https://github.com/medusalix/xow

Code: Select all

cd xow
cat README.md

Code: Select all

sudo apt install libusb-1.0-0-dev libusb-1.0-0
This was not successfull:

Code: Select all

make BUILD=RELEASE
The terminal shows:
user@pcname:~/xow$ make BUILD=RELEASE
g++ -Wall -Wpedantic -std=c++11 -MMD -MP -O3 -DVERSION=\"v0.5-28-ga396e3f\" -c -o xow.o xow.cpp
make: g++: Kommando nicht gefunden (command not found)
make: *** [Makefile:32: xow.o] Fehler 127

Because I'm new to this, I took this 2 websites for installing the xow driver:
https://www.addictivetips.com/ubuntu-li ... -with-xow/
https://github.com/medusalix/xow

Now, how to proceed further?
And how to de-install xboxdrv?
Linux Mint 20.3 Cinnamon Edge 64bit
User avatar
ugly
Level 5
Level 5
Posts: 592
Joined: Thu Nov 24, 2016 9:17 pm

Re: Xbox One Wireless Controller not connectable

Post by ugly »

henry11 wrote: Sat Jan 22, 2022 3:43 am The terminal shows:
user@pcname:~/xow$ make BUILD=RELEASE
g++ -Wall -Wpedantic -std=c++11 -MMD -MP -O3 -DVERSION=\"v0.5-28-ga396e3f\" -c -o xow.o xow.cpp
make: g++: Kommando nicht gefunden (command not found)
make: *** [Makefile:32: xow.o] Fehler 127

Because I'm new to this, I took this 2 websites for installing the xow driver:
https://www.addictivetips.com/ubuntu-li ... -with-xow/
https://github.com/medusalix/xow

Now, how to proceed further?
And how to de-install xboxdrv?
I find building software from source can be one of the more frustrating things you can do in Linux. So, it is expected that you will run into problems. And it is good that you tried to look into it and figure it out yourself.

It appears that you are missing dependencies (this is what makes building software very frustrating). Because there are so many variables, the developers cannot always list all the prerequisites for building and installing their software.

Your error indicates that you are missing g++. This is needed to compile.

Try sudo apt install g++

This should get you further. But you might still might find that you are missing more dependencies.

It might even be helpful to try: sudo apt install build-essential to get other development packages.

As for xboxdrv, you can uninstall it if you want. I don't think it will hurt to have it. But I don't have it installed and my controller works fine. So it is probably unnecessary.
User avatar
henry11
Level 1
Level 1
Posts: 31
Joined: Tue Jan 11, 2022 12:54 pm
Location: Germany

Re: Xbox One Wireless Controller not connectable

Post by henry11 »

That did it:

Code: Select all

sudo apt install g++

make BUILD=RELEASE

ls | grep xow

sudo make install

sudo systemctl enable xow.service

sudo systemctl start xow.service
Everything seems to be correct installed and working with the driver.
But the controller is not recognized.
I tried this:

Code: Select all

cd ~/xow
sudo ./xow
and that is the output:

2022-01-23 08:34:30 INFO - xow v0.5-28-ga396e3f ©Severin v. W.
2022-01-23 08:34:30 INFO - Waiting for device...
2022-01-23 08:34:30 INFO - Wireless address: 62:45:b4:f2:8e:75
2022-01-23 08:34:30 INFO - Dongle initialized
2022-01-23 08:34:31 ERROR - Error in bulk read: LIBUSB_ERROR_NO_DEVICE
2022-01-23 08:34:31 ERROR - Error in bulk read: LIBUSB_ERROR_NO_DEVICE
2022-01-23 08:34:31 INFO - Shutting down...
2022-01-23 08:34:31 ERROR - Error in bulk write: LIBUSB_ERROR_IO
2022-01-23 08:34:31 ERROR - Failed to write command
2022-01-23 08:34:31 ERROR - Failed to set LED mode
2022-01-23 08:34:31 ERROR - Failed to turn off LED
2022-01-23 08:34:31 ERROR - Error in bulk write: LIBUSB_ERROR_IO
2022-01-23 08:34:31 ERROR - Failed to write command
2022-01-23 08:34:31 ERROR - Failed to set power mode
2022-01-23 08:34:31 ERROR - Failed to turn off radio
2022-01-23 08:34:31 ERROR - Error releasing interface: LIBUSB_ERROR_OTHER

Bad luck. What could be done now in this? Could it be solved?

Or is this controller not a good choice for linux mint 20.3?
Should I go for another one? And which?

So, more questions..
Linux Mint 20.3 Cinnamon Edge 64bit
ThaCrip
Level 5
Level 5
Posts: 988
Joined: Sat Dec 07, 2019 12:13 pm

Re: Xbox One Wireless Controller not connectable

Post by ThaCrip »

henry11 wrote: Sun Jan 23, 2022 3:49 amOr is this controller not a good choice for linux mint 20.3?
Should I go for another one? And which?
I am using a OFFICIAL XBox360 wireless controller with the OFFICIAL wireless dongle and have no trouble on WINE/Lutris as it's detected and works well automatically. you just have to make sure the controller is on and synced before starting up the game.

for the record... at least with Lutris if the XBox360 controller powers off while running a game, and you turn it back on, it will no longer work. but exiting the game, making sure it's powered on, then restart game it will work again. but this is generally not a problem as the only time it powers off for me is when I am playing games where there is a fair amount of shooting where I am using the mouse+keyboard for a while but in the driving sections of the game I always opt for the XBox360 controller since it's superior while driving but mouse+keyboard is clearly superior on the shooting sections. I never timed it to see how long it will sit idle before powering off (I would guess it's at least 10min+ and could be a fair amount beyond that(?)) but there is a fair amount of time (it does not power down enough for it to be a big issue, so overall it's not a real problem). but a small work-around is if your going to be using mouse+keyboard a while, press a button on controller from time-to-time (maybe something like every 5-10 minutes) to keep it active. but even there I occasionally get into the game and play on mouse+keyboard for semi-extended times at which point the XBox360 controller powers off. but if you plan on exclusively using a controller then this is unlikely to effect you at all, or at least more on the rare side. but the games I typically replay (i.e. mainly the 'Mafia' series) while there is a fair amount of driving there is also plenty of shooting. so the XBox360 controller does power off for me occasionally when I get into a bit more extended shooting sections (and forget to press a button on the controller here and there) since I sit down controller and use nothing but mouse+keyboard at these times.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
User avatar
henry11
Level 1
Level 1
Posts: 31
Joined: Tue Jan 11, 2022 12:54 pm
Location: Germany

Re: Xbox One Wireless Controller not connectable

Post by henry11 »

Problem solved!

These xpadneo drivers did the trick.

Code: Select all

git clone https://github.com/atar-axis/xpadneo.git

cd xpadneo
sudo ./install.sh
Thanks for your help, folks 8)
Linux Mint 20.3 Cinnamon Edge 64bit
Locked

Return to “Beginner Questions”