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.
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.
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.
Never heard of copr or sentry before but I’ll try it, thanks!
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.
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.
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?
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!
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