Hi
I have a system that requires the USB ports not go into Sleep mode. How do I ensure this? I am new to Linux and do not know what commands should be used to guarantee the USB ports are always powered and active.
Thanks,
Simon
Hi
I have a system that requires the USB ports not go into Sleep mode. How do I ensure this? I am new to Linux and do not know what commands should be used to guarantee the USB ports are always powered and active.
Thanks,
Simon
Change settings in BIOS.
Hi
I set the autosuspend parameter to -1 in /sys/module/usbcore/parameters/autosuspend and this seems to have solved my issue. There were no USB power settings in the BIOS.
Simon
I assume you understand that that the file system on /sys is of type sysfs and thus a pseudo file system that is created during boot and lost at shutdown?
So you must re-do this after every boot.
You’ll have to dive into some Kernel parameters: <https://www.kernel.org/doc/html/v4.16/driver-api/usb/power-management.html>
look at this post:
https://forums.opensuse.org/showthread.php/540029-SOLVED-bluetooth-keyboard-mouse-loosing-connection
and inside the same tlp file, you will find settings on how to disable the suspend of usb.
search for USB_AUTOSUSPEND and be sure to set it to 0 (zero)
hope it helps