I was wondering if the default package
game-devices-udev could be improved to forbid autosuspend for these devices. I recently modified my
/etc/tlp.conf file to add the Xbox controller device to the USB_BLACKLIST parameter so it doesn’t disconnect anymore after long time unused (or else I had to unplug and replug it for it to work, which is a real annoyance with these bloody USB ports on the back always the wrong way or closing themselves when you don’t look at them ). I tried to search for info about udev rules, but didn’t find a way to do that, I found people disabling autosuspend completely but nothing for a specific device rule.
So is it possible, for example in this udev rule
/usr/lib/udev/rules.d/71-microsoft-controllers.rules to disable autosuspend for this device?
If it is possible, maybe that would be relevant to have all the controllers rules in the
game-devices-udev package, to add the autosuspend blacklist automatically, as I think people do not want to unplug/replug their controller to have them work again when autosuspend shut them down.