You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dkms-hid-nintendo: Nintendo Switch Pro Controller stops working after systemctl suspend #54
When using a Nintendo Switch Pro Controller via USB on a MATE Desktop environment, the controller functions correctly before suspending the system. However, upon waking the computer from suspend mode, the controller fails to work in applications like SuperTux or RetroArch. This issue does not occur Linux supported drivers (other controller like DualSense).
The USB ports (for example a USB-C PCIe card on the computer, or the USB-C port on the Nintendo controller) may become worn out due to frequent suspending of the computer, requiring the cable to be unplugged and replugged on a daily basis to maintain functionality.
Steps to Reproduce
Plug the Nintendo Switch Pro Controller into the computer via USB.
Open and navigate in an application such as SuperTux or RetroArch
The controller responds as expected.
Close the application.
Suspend the desktop environment by either executing systemctl suspend in the terminal or by navigating to Menu -> Shut Down... -> Suspend in MATE.
Wake up the computer by pressing any key.
Attempt to navigate in SuperTux or RetroArch again.
The controller does not respond.
Close the application.
Unplug the USB cable from the controller
Attempt to navigate in SuperTux or RetroArch again.
The controller responds as expected again.
Additional Notes
This issue is specific to the Nintendo Switch Pro Controller and does not affect DualSense controllers.
The problem is not present in Ubuntu MATE 22.04 (Linux 5.19) and later versions, which have kernel support for this controller.
Environment
Operating System: Trisquel 11.0.1
Controller: Nintendo Switch Pro Controller
Applications Tested: SuperTux, RetroArch
Kernel Version: 5.15
Please investigate and advise on potential solutions or workarounds for this issue.
changed the title [-]dkms-hid-nintendo: Nintendo Switch Pro Controller stops working after Suspend on MATE Desktop[/-][+]dkms-hid-nintendo: Nintendo Switch Pro Controller stops working after `systemctl suspend`[/+]on Oct 2, 2024
Activity
davidhedlund commentedon Oct 2, 2024
Note: I could not evaluate if Bluetooth is also affected in this issue due to an unrelated bug. Please have a look.
[-]dkms-hid-nintendo: Nintendo Switch Pro Controller stops working after Suspend on MATE Desktop[/-][+]dkms-hid-nintendo: Nintendo Switch Pro Controller stops working after `systemctl suspend`[/+]SuperSamus commentedon Oct 2, 2024
The dkms module isn't maintained anymore, use the driver included in the kernel by default (this has been fixed in Linux 6.7, torvalds/linux@95ea4d9).
davidhedlund commentedon Oct 2, 2024
https://github.com/nicman23/dkms-hid-nintendo says "For any questions or bug reports, please refer to hid_nintendo."
That is why I submitted my bug report here. Do you think that nicman23 should change that text?
Some distros are using older versions of the kernel. Thank you.