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.

  • qfjp
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    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.nuOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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.nuOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          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

        • Cralder@feddit.nuOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          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!