1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 05:08:36 -06:00
random/usb-autosuspend-fix
2021-04-20 00:24:49 +05:30

7 lines
249 B
Text
Executable file

# This was to fix an issue where tlp was autosuspending usb ports at startup.
#!/bin/sh
echo 'on' > '/sys/bus/usb/devices/1-1/power/control'
echo 'on' > '/sys/bus/usb/devices/1-2/power/control'
echo 'on' > '/sys/bus/usb/devices/1-3/power/control'