Computer won't sleep consistently; keeps waking up


  1. Posts : 4
    Win10 64 bit
       #1

    Computer won't sleep consistently; keeps waking up


    My Windows 10 install won't stay asleep, and it's driving me mad.
    Sleeping used to work just fine back when I was running Win7. It would go to sleep when told, stay asleep until woken. Everything was great. Then it started waking up at random times. I did a lot of troubleshooting then, with some success, but the problem eventually returned.
    I upgraded to Win10 per Microsoft's free offer. The problem persisted. Some time later I did a clean install of Win10. The problem persisted.
    I can't even begin to tell you which things I've already tried. Nothing seems to work.
    I would like to get my computer to sleep again. It's being hard on my HDD, and shutting it down/cold booting later takes way too long.
    There are no physical USB hubs attached to this computer. All of my USB peripherals are plugged directly into the machine. I do have a built-in card reader, which I don't use.
    One unusual feature of my setup is that I have two Logitech trackballs connected to it — one Marble Mouse and one "Unifying" device. Neither of them wake my machine; I've got them disabled.
    Here's what woke my machine last. This seems to always be the case.
    Code:
    PS C:\Windows\system32> powercfg /lastwake
    Wake History Count - 1
    Wake History [0]  
    Wake Source Count - 1  
    Wake Source [0]    
    Type: Device    
    Instance Path: USB\ROOT_HUB\4&36004aba&0    
    Friendly Name:    
    Description: USB Root Hub    
    Manufacturer: (Standard USB Host Controller)
    I don't recall what this report is supposed to show, but it was mentioned in a lot of my research. So I'll present it here:
    Code:
    PS C:\Windows\system32> powercfg -devicequery wake_from_any
    Logitech HID-compliant Marble Mouse
    USB Root Hub
    USB Input Device
    HID-compliant vendor-defined device
    USB Input Device (001)
    HID-compliant vendor-defined device (001)
    HID-compliant vendor-defined device (002)
    Xbox 360 Wireless Receiver for Windows
    USB Input Device (Logitech Download Assistant)
    HID Keyboard Device
    Logitech Driver Interface
    Logitech Driver Interface (001)
    USB Composite Device
    PCI Express Root Port
    Realtek PCIe GBE Family Controller
    HID-compliant mouse
    USB Input Device (002)
    Logitech HID-compliant Unifying device
    USB Root Hub (001)
    High Definition Audio Controller
    Standard OpenHCD USB Host Controller
    Standard OpenHCD USB Host Controller (001)
    Standard OpenHCD USB Host Controller (002)
    USB Root Hub (002)
    PCI-to-PCI Bridge
    Microsoft Wi-Fi Direct Virtual Adapter
    Logitech HID-compliant Unifying Mouse
    USB Root Hub (003)
    Microsoft USB Natural Ergonomic Keyboard 4000 (Mouse and Keyboard Center)
    HID-compliant consumer control device
    HID-compliant consumer control device (001)
    Logitech Unifying USB receiver
    USB Composite Device (002)
    Logitech HID-compliant Unifying device (001)
    ACPI Power Button
    Standard OpenHCD USB Host Controller (003)
    USB Root Hub (004)
    Microsoft Hardware USB Keyboard
    HID-compliant system controller
    PCI Express Root Port (001)
    USB Root Hub (005)
    Standard Enhanced PCI to USB Host Controller
    Standard Enhanced PCI to USB Host Controller (001)
    Standard Enhanced PCI to USB Host Controller (002)
    Logitech Driver Interface (002)
    Logitech Driver Interface (003)
    USB Root Hub (006)
    PCI Express Root Port (002)
    The only devices that are able to wake my system are these; I have no wake timers
    Code:
    PS C:\Windows\system32> powercfg -devicequery wake_armed
    HID Keyboard Device
    Microsoft USB Natural Ergonomic Keyboard 4000 (Mouse and Keyboard Center)
    So what's next? I'm at my wit's end with this. If you need any more information, please ask. I'm happy to provide.


    Thanks!
      My Computer


  2. Posts : 2,539
    Windows 10 Pro 64bit
       #2

    For computer always turning on:
    Power Options>Edit plan settings>change advanced power settings>Sleep> Change settings to disable.

    Network & sharing centre>change adapter settings>R click for Properties>configure>Power management, remove tick from allow device towake computer.
      My Computer


  3. Posts : 226
    Many
       #3

    Well it's clearly some device on that particular root hub. You can download the Windows kit which includes a tool called USB Device Viewer which will give you a great break down of your device structure, which devices are on which hub and settings associated. One important setting to look at, at the generic hub level is "hub wakes when device is connected" so if something new is detected it could force a wake. You may be thinking "I didn't add anything new", but it would be possible that you have a problematic usb device that is bouncing between not connected/connected and if the above setting is on would cause a wake.
      My Computer


  4. Posts : 85
    Windows 10 Pro
       #4

    Well did you check as stated above in the 2 posts. Give it a 4 mg of Xanax.
      My Computer


  5. Posts : 7,871
    Windows 11 Pro 64 bit
       #5

    Neemobeer said:
    Well it's clearly some device on that particular root hub. You can download the Windows kit which includes a tool called USB Device Viewer which will give you a great break down of your device structure, which devices are on which hub and settings associated. One important setting to look at, at the generic hub level is "hub wakes when device is connected" so if something new is detected it could force a wake. You may be thinking "I didn't add anything new", but it would be possible that you have a problematic usb device that is bouncing between not connected/connected and if the above setting is on would cause a wake.
    In Device Manager, you can select the offending USB Root Hub, the choose View Devices by Connection which may give some clue as to what is wrong. I had a similar problem and had to disable the network card from waking the PC in Device Manager.
      My Computers


  6. Posts : 4
    Win10 64 bit
    Thread Starter
       #6

    Steve C: thank you for your suggestions. I have 7 "USB Root Hub"s in Device manager. Not all of them have devices connected to them (as per Properties>Power tab). None of them have "Allow this device to wake the computer" checked; that option is grayed out in all of them anyway. Going to the entry for my network card, "Allow this device to wake" is not checked.

    Neemobeer: Thanks. I downloaded the Debugging Tools for Windows. I was unable to find the USB Device Viewer, though. I found an entry in the helpfile, though, called USB 2.0 Extensions. Near the top of that entry it says:
    Code:
    The USB 2.0 debugger extension commands are implemented in Usbkd.dll. 
    To load the Usbkd commands, enter .load usbkd.dll in the debugger.
    Unfortunately I cannot find where to enter ".load usbkd.dll". I did find a separate program (not put in the Start menu!) called USB Device Viewer. It does give me a breakdown of what devices are connected to various USB points. Although I cannot change it with this program, I did find the "Hub Wakes when device is connected," but it was set to NO in each of my RootHub entries.

    You suggested that I might have a device that's bouncing between connected and not-connected ... I have heard none of the USB connect or disconnect sounds. Unless I am intentionally connecting something, that is.

    Bastet: Thank you, but I have already checked the settings that you mention. They are set properly, as you've suggested. They have been for some time, as this is one of the first things I looked at.

    Any other suggestions? At least we're narrowing things down here!
      My Computer


  7. Posts : 579
    Windows 10
       #7

    In some Systems there is Option in Power Option>Change Advanced Power Seetings>Sleep>Allow Wake Timers try to set to Disabled.
    Also in same Menu, USB Settings>Selective suspend Setting try to set it enabled.
    Not all PC has this options in Power Plan.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:29.
Find Us




Windows 10 Forums