I have an HP omen 15 laptop, using Pop OS 20.04 (kernel 5.13.0-7620-generic). Whenever I wake the laptop after suspend, my connected usb devices stop working. Following others' advice, I set the kernel option using kernelstub:
usbcore.autosuspend=-1
However this doesn't seem to affect anything. I tried another suggestion using usbreset from usbutils.
This is the result before suspending:
stan@pop-os:~$ usbreset
Usage:
usbreset PPPP:VVVV - reset by product and vendor id
usbreset BBB/DDD - reset by bus and device number
usbreset "Product" - reset by product name
Devices:
Number 003/002 ID 046d:c52b USB Receiver
Number 001/002 ID 30c9:000e HP Wide Vision HD Camera
Number 001/003 ID 8087:0029
And this is after suspend and wake:
stan@pop-os:~$ usbreset
Usage:
usbreset PPPP:VVVV - reset by product and vendor id
usbreset BBB/DDD - reset by bus and device number
usbreset "Product" - reset by product name
Devices:
So no devices detected there.
EDIT: turns out that some devices are not affected, like external hdd. But any kind of mouse/keyboard is affected, doesn't matter if it is wireless or not. Strangely enough, the integrated camera also stops working.
Everything works fine on reboot.