New
#1
Windows resumes from sleep randomly, difficult to troubleshoot
I only want to resume my computer via my mouse or ethernet/wake-on-LAN. And they work fine. But, my computer resumes from sleep totally randomly also. For example a few times I've been watching TV, several meters away from my computer in sleep, nothing touching the computer in any way, nobody even moving in the room. And suddenly the computer resumes from sleep (in which it has been for many hours). This is not because of Task Scheduler waking it up, either.
powercfg /devicequery wake_armed
- Intel(R) Ethernet Connection (2) I219-V
- Logitech HID-compliant G3/MX518 Optical Mouse (002)
powercfg -lastwake
- Wake History Count - 1Wake History [0] Wake Source Count - 1 Wake Source [0] Type: Device Instance Path: PCI\VEN_8086&DEV_A2AF&SUBSYS_86941043&REV_00\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
So this USB 3.0 eXtensible Host Controller is controlling my MX518 mouse. Device Manager and Devices by connection reveal that. The same Host Controller also currently controls a printer, a USB eLicenser, a keyboard (and then there are some mentions about HUBs and HID devices). Event Viewer / Windows Logs / System doesn't list anything suspicious, I think.
If I wake up from resume with wake-on-LAN, the powercfg -lastwake says so (Ethernet). If I wake with my mouse, it says again this USB 3.0 eXtensible Host Controller. So it doesn't specify the mouse. In Device Manager, the eXtensible is [ ] Allow this device to wake the computer.
One thing that is remotely possible is static electricity. I have some of that building up in this room. Sometimes my subwoofer lets out a popping noise, but that's mostly if I'm moving in the room. Probably the static electricity could in theory also discharge even without anyone moving.
Is there a way to only wake up on left mouse click, for example? Not on right mouse click etc. That might help in this case. Where does the arming of the wakeup interactions take place? Before sleep by the mouse driver or something else?
(As a kind of last resort, I could try to disable mouse wakeup completely and enable keyboard wakeup. To see if that helps. But I prefer the mouse for the wakeup.)