6

I have a MSI laptop with an external USB keyboard and a mouse connected to it. This device controller, "Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)", wakes up my PC from sleep. I have installed the latest driver for that and I have tried several methods to solve this but to no avail, including:

  • check Task scheduler for any task that wakes my PC from sleep
  • update USB drivers to their latest version including that Intel USB controller, although, Intel's driver for this device is fairly old and the driver from Microsoft for this device supersedes the Intel's one.
  • disable "wake timers"
  • disable "hybrid sleep"
  • disable Windows 10 "automatic maintenance" feature.
  • Use troubleshoot in Windows-10 to troubleshoot power

I ran the following command once my PC is spontaneously waked up from sleep:

C:\Users\farid>powercfg /lastwake
Wake History Count - 1
Wake History [0]
  Wake Source Count - 1
  Wake Source [0]
    Type: Device
    Instance Path: PCI\VEN_8086&DEV_A12F&SUBSYS_11C81462&REV_31\3&11583659&0&A0
    Friendly Name: Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
    Description: USB xHCI Compliant Host Controller
    Manufacturer: Generic USB xHCI Host Controller

I also ran the following commands to solve this but I have not checked whether my PC is waked up again or not. However, if it doesn't wake up anymore, I don't want to disable wake up from my external USB devices because the lid of my laptop is closed and I use to wake my PC from my external mouse or keyboard.

PS C:\WINDOWS\system32> powercfg /DEVICEQUERY wake_armed
HID Keyboard Device
HID Keyboard Device (001)
HID-compliant mouse (003)
PS C:\WINDOWS\system32> powercfg /DEVICEDISABLEWAKE "HID Keyboard Device"
PS C:\WINDOWS\system32> powercfg /DEVICEDISABLEWAKE "HID Keyboard Device (001)"
PS C:\WINDOWS\system32> powercfg /DEVICEDISABLEWAKE "HID-compliant mouse (003)"

My connected devices to this controller are as in the following image:

enter image description here

Farid Cheraghi
  • 181
  • 1
  • 7
  • 1
    What devices do you have connected to that controller? – Ramhound Sep 05 '18 at 02:51
  • How do I know? I think a mouse and a keyboard! – Farid Cheraghi Sep 05 '18 at 03:12
  • You may need to disable wake up from USB from UEFI/BIOS. –  Sep 05 '18 at 09:32
  • Look at device manager, we need facts, “I think” isn’t going to get this problem solved – Ramhound Sep 05 '18 at 11:53
  • @Ramhound see the updated post. – Farid Cheraghi Sep 05 '18 at 13:57
  • You have a BT device connected to the USB controller that is configured to keep (and/or preventing) your device from sleeping. Your mouse nor your keyboard is connected to the Intel controller. What are the properties of the BT device? – Ramhound Sep 05 '18 at 14:03
  • @Ramhound what property is needed specifically? there are many properties under "Details" tab! If my mouse or keyboard is not connected to the controller, then what are "HID Keyboard Device" or "HID-compliant mouse"? – Farid Cheraghi Sep 05 '18 at 15:49
  • I can't interperit the information apparently. You are looking for any device setting that would corelate to waking your device up. – Ramhound Sep 05 '18 at 16:01
  • Suggest reviewing every 'wake' option in your BIOS/Setup and making sue they are all disabled, except for the mouse. If that does not solve it, then disable waking from the mouse and use the wake-on-keyboard instead. – K7AAY Sep 05 '18 at 20:35
  • 1
    Same Problem here with my Razer Blade Laptop. The Bluetooth connected Logitech MX Master reactivates the laptop from sleep. No Energy tab at the BT Mouse Device in Device Manager. Tried /DEVICEDISABLEWAKE for all devices without success. No wake setting in BIOS. – Sinky Jan 01 '20 at 15:29

1 Answers1

1

I've had this same problem for a couple of years and I just now seem to have fixed it.

Even though it is reporting that it is the USB controller that is waking up the machine, I became pretty certain it was the network connection after much trouble-shooting, the machine finally slept through the night when I experimentally removed the network cable.

I normally have Wake-on-LAN enabled so that I can turn on my machine if I need to access it remotely, which in my limited experience, only ever responded to a specially formed "Magic Packet" specifically designed to wake up a machine with a specific MAC address.

But when I checked the "Advanced" properties of my network device in "Device Manager", I saw that "Wake On Pattern Match" was also enabled. That is far more permissive and seems to wake up if any other device on the network so much as mentions it.

So, I've disabled that, leaving "Wake On Magic Packet" enabled (which I can trigger via my router) and now my machine is happily able to sleep through the night even with the network cable connected!

pix
  • 149
  • 4