One of my uses for Fedora is as my gaming PC, and for the most part, it works fantastic. Earlier today, I ran sudo dnf autoremove, and also removed a couple preinstalled apps, such as Boxes. I wish I could remember what packages were removed, but I can’t. I know there were probably 30-40. Regardless, ever since then, Fedora no longer recognizes any of my game controllers. I usually play wired, and each controller when plugged in will charge, but the computer doesn’t recognize them, and the controllers no longer turn on. When I connect them via Bluetooth, the system will connect to them, but like the wired controllers, won’t recognize them as controllers, and they remain effectively useless. It’s as though the game controller portion of the kernel was completely wiped off of my machine, yet each kernel I try has the same problem. Does anybody know what could possibly have happened? Oddly enough, this is the second time this has happened to me in the last month or so, and I don’t want to have to resort to wiping my install again just to get controllers working if I don’t have to. Considering this seems likely to be a recurring issue, having a solution that isn’t the nuclear option would be ideal, and any help would be immensely appreciated.
I figured it out. I created a live USB installation, and tested the controllers there. They worked, as expected. I then ran sudo dnf list installed to get a list of all the installed packages, then booted in my system and did the same. I then compared the two files to see what packages were missing from my system. Turns out that kernel-modules-extra was deleted for some reason. Reinstalling that package fixed my issues.
When you use the autoremove command it should show you a list of packages to be removed. At the very least you should always verify what is being removed before actually continuing.
I don’t use that since I have seen it try to remove necessary packages at times.
If it wants to remove packages that you feel should be kept you can use the command dnf mark install <package> to mark those (one or more) packages as user installed so autoremove will no longer try to remove it.
I recommend running dnf history to see the list of recently removed packages. Look for any packages related to joystick or game controller support. This is what happened to mine, and it was really frustrating because I couldn’t use my game controller to play.
I’m also currently experiencing this issue, I’ll check dnf history to see which packages were removed. It’s really frustrating not having my game controller working. In the meantime, I found https://bhaggo.app/casino, which is a fun way to stay connected to gaming even when I can’t play with my controller.
Interesting, haven’t heard of that before but it’s amazing how technology is evolving. I also just read about AI improvements in identifying digital content to prevent accidental removal of important files. You can read more about it here চীন 'এআই লেবেল' ওয়াটারমার্ক বাস্তবায়নের পরিকল্পনা করেছে | MobileBD. I hope this will help any technology issues we experience.