Last active
February 7, 2024 02:31
-
-
Save gpetuhov/cb2f53d438ad7b9051c72f5c2149f84f to your computer and use it in GitHub Desktop.
Ubuntu USB autosuspend disable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If Android phone constantly disconnects: | |
1. Try to disable Ubuntu USB autosuspend | |
https://www.makeuseof.com/tag/fix-usb-device-port-linux/ | |
cat /sys/module/usbcore/parameters/autosuspend | |
(if the result is 2, then autosuspend is enabled) | |
sudo nano /etc/default/grub | |
Change | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" | |
to | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1" | |
and save file | |
sudo update-grub | |
reboot system | |
After reboot | |
cat /sys/module/usbcore/parameters/autosuspend | |
(result should be -1) | |
2. Another solution: | |
Turn off usb intel xhci mode in BIOS (this will turn off USB 3.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment