this post was submitted on 05 Sep 2023
5 points (100.0% liked)

Linux Gaming

14233 readers
149 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
 

I'm on Fedora and I use the xone driver for a wireless Xbox One X/S controller. Every time I update the kernel the xone driver disappears so I need to reinstall it constantly (I assume it's because of how Fedora handles backup kernel versions). It was not like this back when I was using an arch based distro so is there a way I can make this not happen or is it just Fedora being Fedora?

Edit: turned out something has happened with DKMS when I installed xone. I removed the xone dkms module, deleted the files associated with it and then reinstalled xone so now it works again.

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 10 months ago (1 children)

It sounds like you're not using dkms, you should.

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

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

Yes thank you, that sounds about right. How do I use dkms? Also why did you link xpadneo when I use xone? I feel like I am missing something obvious here.

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

I liked the look of it better. But here you go:

https://github.com/medusalix/xone

https://discussion.fedoraproject.org/t/sentry-xone/31309

DKMS should be set up by the package manager or install script.

[–] [email protected] 2 points 9 months ago

Never heard of copr or sentry before but I'll try it, thanks!

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

I agree. Are you installing it from the GitHub repo? It looks like the install script should automatically use dkms. The next issue is making sure that it's actually being triggered when you install a new kernel, which should already be happening. If not, you can use the archwiki page as a reference for how to rebuild the modules you need.

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

I read that on the GitHub page too, but for some reason DKMS doesn't work when I install it with the script from the repo.

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

Do you have an error message? Is dkms failing during the install, or is it just not rebuilding the modules when a new kernel is built?

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

After checking again I see that I get the error "could not locate dkms.conf" when I run the install script. I am googling solutions but if you have any ideas I would be glad to hear them!

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

DKMS is installed and I dont recall seeing any error message when I run the xone install script, but I would have to check when I have time to make sure I didnt miss anything

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

I don't know the answer to your question however if you can't figure it out, I use a Guilikit King Kong Pro 2 which doesn't require drivers and it works flawlessly on Mint (I assume any distro too)

[–] dustyData 3 points 10 months ago

I mean, it looks like a sick controller, but I can't help but laugh at the Engrish on their webpage. “It's different a lot”.

[–] [email protected] 2 points 9 months ago

Sure, maybe for next time I buy a controller, but for now this is the one I have. Not looking to spend any more money on controllers right now