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

Linux Gaming

15304 readers
5 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.

you are viewing a single comment's thread
view the rest of the comments
[–] db2@sopuli.xyz 8 points 1 year ago (1 children)

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

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

[–] Cralder@feddit.nu 2 points 1 year 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.

[–] db2@sopuli.xyz 2 points 1 year 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.

[–] Cralder@feddit.nu 2 points 1 year ago

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

[–] qfjp@lemmy.one 2 points 1 year 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.

[–] Cralder@feddit.nu 1 points 1 year 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.

[–] qfjp@lemmy.one 1 points 1 year 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?

[–] Cralder@feddit.nu 1 points 1 year 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!

[–] Cralder@feddit.nu 1 points 1 year 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