Implementing power management in USB client drivers

The topics in this section examine the ways in which the WDM power model interacts with the power management properties of USB devices.

Power management abilities of USB devices that comply with the Universal Serial Bus (USB) specification have a rich and complex set of power management features. It is important to understand how these features interact with the Windows Driver Model (WDM), and in particular how Microsoft Windows has adapted standard USB features to support the system wakeup architecture.

For information about WDM power management in kernel-mode drivers, see Implementing Power Management.

USB client drivers based on kernel-mode driver framework (KMDF) and user-mode driver framework (UMDF) should use the mechanisms supported by the base technology and respective frameworks for managing power for a USB device. For information about managing power in KMDF-based client drivers, see Supporting PnP and Power Management in Your Driver; for UMDF-based client drivers, see PnP and Power Management in UMDF-based Drivers.

In this section


USB Device Power States

This topic describes the WDM device states to use for USB device power states as specified in section 9.1 of the Universal Serial Bus 2.0 specification.

Selective suspend in USB drivers (WDF)

A USB function driver supports runtime idle detection by implementing USB selective suspend. Here is content for driver developers about how to implement selective suspend in USB drivers that are based on the Windows® Driver Foundation (WDF).

USB Selective Suspend

This section provides information about choosing the correct mechanism for the selective suspend feature.

How to Register a Composite Driver

This topic describes how a driver of a USB multi-function device, called a composite driver, can register and unregister the composite device with the underlying USB driver stack. The Microsoft-provided driver, Usbccgp.sys, is the default composite driver that is loaded by Windows. The procedure in this topic applies to a custom Windows Driver Model (WDM)-based composite driver that replaces Usbccgp.sys.

How to Implement Function Suspend for a Composite Driver

This topic provides an overview of function suspend and function remote wake-up features for Universal Serial Bus (USB) 3.0 multi-function devices (composite devices). In this topic you will learn about implementing those features in a driver that controls a composite device. The topic applies to composite drivers that replace Usbccgp.sys.

Remote Wakeup of USB Devices

This topic describes best practices about implementing the remote wakeup capability in a client driver.


Related topics

USB Driver Development Guide



Send comments about this topic to Microsoft