random/usb-autosuspend-fix
2022-01-15 02:11:25 -06:00

11 lines
314 B
Bash

#!/bin/sh
# This was to fix an issue where tlp was autosuspending usb ports at startup.
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