Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Windows

What is USB Selective Suspend Setting? Should You Turn It On or Off

Abhishek SilwalBy Abhishek SilwalAugust 13, 2022
usb-selective-suspend-setting

You might have come across the USB Selective Suspend setting while looking through the advanced power plan settings. Many troubleshooting guides also mention that you need to disable this setting to resolve USB problems.

This setting is enabled by default and as such, most users wonder if disabling it causes any issues in their system.

The short answer to this question is that USB Selective Suspend is a power saving feature and whether you can disable it depends on your scenario.

In this article, we have explained this feature in detail to help you decide if you should turn it on or off by yourself.

Table of Contents

  • What is USB Selective Suspend?
    • USB Power States
    • Mechanism for USB Selective Suspend
  • Pros and Cons of USB Selective Suspend
  • How to Enable/Disable USB Selective Suspend?
    • Using Control Panel Power Options
    • With Command Prompt
    • Through Device Manager
  • Should You Turn USB Selective Suspend On or Off?

What is USB Selective Suspend?

USB selective suspend is a Windows feature that allows the USB hub driver to suspend a single USB port without affecting other ports. This is a power-saving feature that suspends the port when it has been idle for some time.

However, you shouldn’t confuse suspend with disable. The driver doesn’t cut off all power from the ports but powers it down to a low power state.

The suspended USB can respond to the external wake signal if its remote wake-up capacity is enabled. The USB devices produce the wake signals when you insert it to the port.

One thing you should know is that all devices don’t produce wake up signals. Mice, keyboards, modems, external USB hubs, etc., have wake-up capability. However, some devices such as mass storage devices, audio and video device, and so on don’t have such capacity.

To understand the full process for USB Selective Suspend, let’s take a look at the USB power/sleep states and the mechanism behind it.

USB Power States

There are many models of USB power states. However, if we want to discuss the selective suspend, we use the Windows Driver Model (WDM), which has D0 to D3 power states.

The D-state is different from S-state (system’s power level) and C-state (processor’s power level). So, they can have different values. However, a higher D-state can prevent other states from going to a lower level.

D0

In this power state, all USB ports on the computer have full power and receive requests as soon as you connect a device. So, lowering the power state from D1 to D0 disables the suspension of the ports.

Since there’s no need to remotely wake up the port, the driver also disables the remote wake up feature.

D1/D2

In this power state, the bus driver suspends the USB ports. However, it enables the remote wake feature, allowing the port to respond to external wake signals.

D3

It is the deepest USB sleep state. The driver suspends the USB port and also doesn’t allow remote wake ups in this state.

USB selective suspend only lowers the power state to D2 and not D3.

Mechanism for USB Selective Suspend

Windows supports multiple ways to suspend the power of a USB device depending on whether it is a composite or a single interface device. However, the traditional method is by using idle request IRP (I/O Request Packet).

  1. When a USB device is idle, it’s driver sends an idle request IRP to the USB hub driver to inform it that it can suspend the port or USB device.
  2. The hub driver sends a set power IRP request to the USB port to change its WDM power state to D2.
  3. The bus driver pends the idle request IRP until it receives further requests.
  4. If you connect a USB device that has remote wake-up capacity to the port, the device sends wake signals to the USB driver.
  5. The USB driver requests the hub driver to put the USB back to the D0 state.
idle request irq mechanism

If you connect a device that is not capable of producing remote wake up signal, it needs to rely on the the set power IRP request to change the port’s power state.

  1. First, the power manager sends a query to determine whether it can change the USB’s power state without disrupting any other tasks.
  2. Depending on the response the hub gets, it sends the set power IRP request to put the USB back to D0 or lower it to D1/D2.

This is why there’s a period of inactivity after connecting the devices and before you can use them.

In some scenarios, the request to change the USB power state can fail, which leads to USB device not recognized error or even BSOD crashes.

Pros and Cons of USB Selective Suspend

USB Selective Suspend is very useful in saving power for laptops and other portable devices that run on battery. Enabling this setting also helps you prolong the lifespan of the battery.

Many devices, such as fingerprint and biometric scanners don’t require continuous power. So, it’s better to use Selective Suspend if you use such devices.

However, desktop PCs won’t get any use out of this feature as they don’t need to save power. The Selective Suspend is also not appropriate for important peripherals such as keyboard or mouse.

Moreover, as we mentioned earlier, your system may fail to recognize your USB device when this feature is On. This issue is especially prominent in the following scenarios:

  • Multiple peripherals are connected to your PC.
  • Running resource-intensive tasks, such as games.

How to Enable/Disable USB Selective Suspend?

There are a few ways to enable/disable USB selective suspend on Windows. The easiest methods for changing this setting for all hubs involve using the Control Panel and the Command Prompt. However, you can also use the Device Manager to enable/disable selective suspend for particular USB hubs.

Using Control Panel Power Options

Using the Control Panel is the most convenient way to change your power settings, including USB Selective Suspend. Here’s the complete process:

  1. Press Win + R to open Run.
  2. Enter powercfg.cpl to open the Control Panel’s Power Options.
  3. Select Change plan settings for your selected power plan.
  4. Click on Change advanced power settings.
  5. Expand USB settings > USB selective suspend setting.
  6. Set all the options to Enabled or Disabled per your need.
    usb-selective-suspend
  7. Click Apply and OK.

With Command Prompt

Another method to change the USB selective suspend configuration is by using a CLI command. The commands for power options are difficult to remember, but if you copy and paste the command, this method is the quickest.

To set the setting for AC or plugged in mode for the current power plan:

  1. Open Run and enter cmd to open the Command Prompt.
  2. Use the following commands depending on whether you want to enable or disable USB selective suspend:
    • Enable USB Selective Suspend: powercfg /SETACVALUEINDEX SCHEME_CURRENT 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0
    • Disable USB Selective Suspend: powercfg /SETACVALUEINDEX SCHEME_CURRENT 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 1
      selective-suspend-command-prompt

Use the same commands while replacing SETACVALUEINDEX with SETDCVALUEINDEX for changing the setting for on battery mode.

Through Device Manager

You can set a similar power management option for the USB hubs using the Device Manager. Enabling this option makes your system turn off the hub on idle state to save power. To enable this option,

  1. Open Run and enter devmgmt.msc to open the Device Manager.
  2. Expand Universal Serial Bus controllers.
  3. Right-click on the USB hubs and select Properties.
  4. Go to the Power Management tab.
  5. Check/Uncheck Allow the computer to turn off this device to save power depending on your choice.
    allow the computer to turn off this device to save power
  6. Click OK.

Should You Turn USB Selective Suspend On or Off?

In conclusion, if you use a laptop or any other portable Windows system, you should enable this setting. However, if you start experiencing issues with your USB, such as “device not recognized” errors or BSODs while connecting USB devices, it’s better to turn it off.

For desktop users, this setting has no practical usage and it’s always best to disable it.

Question
Abhishek Silwal
  • LinkedIn

Abhishek Silwal is an Electronics Engineer and a technical writer at TechNewsToday. He specializes in troubleshooting a wide range of computer-related issues. His educational background in Electronics Engineering has given him a solid foundation in understanding of computers. He is also proficient in several programming languages and has worked on various robotics projects. Even in his early days, he used to tinker with various computer components, both hardware, and software, to satiate his curiosity. This experience has given him a breadth of experience that goes beyond his educational qualification. Abhishek has been writing articles on dealing with varieties of technical issues and performing specific tasks, especially on a Windows machine. He strives to create comprehensive guides on fixing many system and hardware issues and help others solve their problems. You can contact him at abhisheksilwal@technewtoday.com

Related Posts

how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
what happens if you turn off your computer during an update

What Happens if You Turn Off Your Computer During an Update?

September 18, 2023
How to Disable Integrated Graphics

How to Disable Integrated Graphics?

September 16, 2023
System Restore Stuck

How To Fix Windows Stuck on System Restore

September 16, 2023
startup-repair-couldn't-repair-your-pc

How To Fix “Startup Repair Couldn’t Repair Your PC”

September 13, 2023
how to free up ram

How to Free Up Memory

August 4, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 20, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.