Any way to tell system to ignore certain devices when trying to sleep?

Page 1 of 4 123 ... LastLast

  1. Posts : 225
    Windows 10
       #1

    Any way to tell system to ignore certain devices when trying to sleep?


    I have 2 USB devices - Virpil HOTAS controllers - that when plugged in, my PC just will not sleep or even turn off the display. If I unplug them, all is good.
    I was wondering if there was a way to tell the system to ignore them when trying to sleep.
    I know there is a powercfg command you can send to ignore devices that show in powercfg -requests, but what if they don't show?
    Any help appreciated.

    Windows 10 20H2.
      My Computer


  2. Posts : 21,421
    19044.1586 - 21H2 Pro x64
       #2

    Hello imacken
    The powercfg /REQUESTSOVERRIDE command option is used for that

    /REQUESTSOVERRIDE Sets a Power Request override for a particular Process,
    Service, or Driver.

    First run "powercfg /requests" to see what's keeping it awake, as you've probably already done.

    Are you saying the output of "powercfg /requests" shows none for everything and PC still won't sleep until you unplug these two devices?

    Then you try finding the devices in Device Manager and make sure the option under Power Management for them is set to not allow them to wake up the PC.
      My Computer


  3. Posts : 21,421
    19044.1586 - 21H2 Pro x64
       #3
      My Computer


  4. Posts : 225
    Windows 10
    Thread Starter
       #4

    Thanks a lot, but I was asking what happens if they don't show in -requests, which they don't.
    Would the -requestoverride command work?
      My Computer


  5. Posts : 21,421
    19044.1586 - 21H2 Pro x64
       #5

    imacken said:
    Thanks a lot, but I was asking what happens if they don't show in -requests, which they don't.
    Would the -requestoverride command work?
    See my updated post # 2.
      My Computer


  6. Posts : 225
    Windows 10
    Thread Starter
       #6

    Thank you, but not clear how that helps. I have tried all sorts of things over a long period of time to sort this and nothing works. It just occurred to me earlier, is it possible to use the -requestsoverride to specify a device that doesn't show in -requests.
      My Computer


  7. Posts : 21,421
    19044.1586 - 21H2 Pro x64
       #7

    imacken said:
    Thank you, but not clear how that helps. I have tried all sorts of things over a long period of time to sort this and nothing works. It just occurred to me earlier, is it possible to use the -requestsoverride to specify a device that doesn't show in -requests.
    I think so, but first you'd have to find the name of the Process, Service, or Driver to override. You might try hunting around in Task Manager.

    I thought the other suggestion might be worth trying - this stuff sometimes has to be resolved be experimentation, you know
      My Computer


  8. Posts : 225
    Windows 10
    Thread Starter
       #8

    These 2 devices do not use drivers, well, they use the standard MS USB driver, as all their settings etc. are stored on-device in firmware.
    If I identify them in DM, what info am I looking for and how do I put it into a -requestsoverride command?
      My Computer


  9. Posts : 21,421
    19044.1586 - 21H2 Pro x64
       #9

    imacken said:
    These 2 devices do not use drivers, well, they use the standard MS USB driver, as all their settings etc. are stored on-device in firmware.
    If I identify them in DM, what info am I looking for and how do I put it into a -requestsoverride command?
    Well if you play a YouTube video, then look at "powercfg /requests", you can use that as an example of how to answer the question you just asked by looking at the corresponding device in DM.

    I'll leave the rest as an exercise to you as I don't have the answer or your hardware or my PC to experiment with.
      My Computer


  10. Posts : 225
    Windows 10
    Thread Starter
       #10

    Thanks for your help, but I have no clue on how to do this. Clearly, if a process, e.g. Edge is running and showing in the powercfg command, yes, it's easy, and it's a [PROCESS], but if I am looking at a bunch of numbers in DM for my device, I have absolutely no idea what the syntax should be or what numbers are required.
      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 16:27.
Find Us




Windows 10 Forums