Laptop won't wake from sleep when external Keyboard and Mouse are plugged in via USB Hub. How to fix?
Open an elevated command prompt (admin mode).
Type in
powercfg
/devicequery wake_programmable
Check to make sure the USB keyboard connected to the USB hub shows up on that list, which would confirm it can indeed wake up your laptop from sleep.
To check what is already enabled, type in
powercfg /devicequery wake_armed
Type in
powercfg /deviceenablewake "ExactKeyboardName"
withExactKeyboardName
being the full and exact name (including parentheses, if any) of the USB keyboard that appeared in step 3 above (make sure the name is wrapped in quotes).If more than one USB keyboard showed up in the list in step 2, then repeat step 4 with each USB keyboard name.
Try now.
We had this same issue with some Dell laptops. Using a USB hub with an external power source solved this for us.