random/usb-autosuspend-fix

12 lines
315 B
Text

# 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'
# also added a fix for resolvconf auto resetting
resolvconf -u