random/usb-autosuspend-fix

12 lines
314 B
Plaintext
Raw Normal View History

2021-04-19 13:54:49 -05:00
#!/bin/sh
2022-01-02 22:35:07 -06:00
# This was to fix an issue where tlp was autosuspending usb ports at startup.
2021-04-19 13:54:49 -05:00
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'
# also added a fix for resolvconf auto resetting
resolvconf -u