As said above. Happens only after waking from suspend. Using HP Victus.
Hello @Dynamo and welcome
- Was it running in battery mode?
- Can you power up the usb ports with these commands?
Show the power status:
cat /sys/bus/usb/devices/usb*/power/control
Power up usb1 for example:
echo "on" | sudo tee /sys/bus/usb/devices/usb1/power/control
Hello!
- It happens regardless of that
- the status returns as “auto” for four usb devices. The second string does echo, but the the ports remain inactive (the 3 usb 3.0s, i don’t have anything to check the C port)
ok… could you run this command, for a check?
A one liner:
P=("autosuspend" "autosuspend_delay_ms" "control" "level"); for y in $(ls -d /sys/bus/usb/devices/usb*); do for x in ${P[@]}; do echo "${y:21} - $x : $(cat /sys/bus/usb/devices/${y:21}/power/${x})"; done; done
Better viewable:
P=("autosuspend" "autosuspend_delay_ms" "control" "level")
for y in $(ls -d /sys/bus/usb/devices/usb*); do
for x in ${P[@]}; do
echo "${y:21} - $x : $(cat /sys/bus/usb/devices/${y:21}/power/${x})"
done
done
Normally TLP is responsible for suspending USB ports. You can disable autosuspending at the file /etc/tlp.conf
.
USB_AUTOSUSPEND=0
USB Devices — TLP 1.4 documentation
However… I experience the same problem, but it did not bother me. If I really need the USB Ports again, then I just fire it up again with a custom script. At least it is more a security feature for me since nobody has access to the usb ports until I reactivate it with sudo permissions.