this post was submitted on 04 May 2024
18 points (95.0% liked)

Linux Gaming

15306 readers
9 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

Hello fellow Linux gamers!

I've recently switched to nobara for gaming. I've had no real issues so far and it's all running smoothly! Queue my Xbox controller.

A year or two ago I bought an Xbox wireless control ( 2020 version according to the order ). Now I wanted to use the controller, but it is not being detected. The light keeps blinking. On nobara itself it looks like it mounted the dongle as a USB Stick.

That would explain why the controller isn't connecting.

How would I best go at tackling this? Any tips? I've already ran the following command:

nobara-controller-config

This installed some drivers and required a reboot ( which I did ).

Thanks in advance for any guidance or tips!

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 6 months ago (2 children)
[–] [email protected] 4 points 6 months ago (1 children)

It seems it was part of the solution!

When I tried to install it using install.sh I got the message that it was already installed.

I had a look at dmesg and found the following entries:

[ 1634.510594] xone-dongle 3-2:1.0: Direct firmware load for xow_dongle.bin failed with error -2
[ 1634.510601] xone-dongle 3-2:1.0: xone_mt76_load_firmware: firmware not found
[ 1634.510604] xone-dongle 3-2:1.0: xone_dongle_init: load firmware failed: -2
[ 1634.511456] xone-dongle: probe of 3-2:1.0 failed with error -2

Inside the repository I cloned I found an install/ directory with a firmware.sh file in there. I ran that as root and it installed the driver.

I plugged in the dongle again and it worked immediately!

( I looked at what the script did first though ).

Thanks for the help!

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (1 children)

You sure you couldn’t just use your package manager to install xone? I feel like what you just did would only allow it to work temporarily and unmanageable. As far as it being “part” of the solution, that doesn’t seem correct. “xone” kernel driver is the solution and has been for long time.

Edit: My mistake, I see there’s not a package for fedora. The instructions are pretty clear when using the git repo for installation.

  1. Unplug your Xbox devices.

  2. Clone the repository:

git clone https://github.com/medusalix/xone
  1. Install xone:
cd xone
sudo ./install.sh

NOTE: You can use the --release flag to disable debug logging.

  1. Download the firmware for the wireless dongle:
sudo xone-get-firmware.sh

NOTE: The --skip-disclaimer flag might be useful for scripting purposes.

  1. Plug in your Xbox devices.
[–] [email protected] 1 points 6 months ago (1 children)

Those are the steps I took as described in the README.md. Nobara added a custom command called nobara-controller-config which installs the xone drivers. I guess something must have gone wrong there that the dongle firmware was missing. https://nobaraproject.org/docs/xbox-controllers/known-issues/

I might have just missed it.

Running the third step of the README.md leaves me with this output:

sudo ./install.sh 
Driver is already installed!

I assume there is no xone-get-firmware.sh file in the xone directory as a result.

All is well that ends well :)

[–] [email protected] 0 points 6 months ago (1 children)

Read what the other guy told you, see if your distro has a package for this instead of following the readme file, otherwise you'll need to run that every time your kernel updates. There's a reason we recommend people to use the package manager and to forget the windows mentality of installing things by random means.

[–] [email protected] 2 points 6 months ago (1 children)

The Nobara-controller-config command is the is way to install it as far as I can tell by the docs. I'll try reinstalling it that way and see if it recognises it by default.

I agree that the package manager way is the preferred way to go. I fell back to the github repo because it didn't work :)

[–] [email protected] 1 points 6 months ago (1 children)

Probably need to uninstall the xone driver you already installed from that link. Then open the welcome screen again (super key + type welcome, should be there) and there's an option to install the xone and xpadneo drivers already setup for nobara on one of the tabs there.

[–] [email protected] 1 points 6 months ago

Yeah I didn't reply anymore, but I did an uninstall, removed the dongle, rebooted, reinstalled it, rebooted, plugged in the dongle and it instantly worked.

I must've done something wrong the first time #pebcak

[–] [email protected] 1 points 6 months ago

I will try that later today!