Plug and Play and Power Management for Drivers

Updated: April 2, 2008

Plug and Play and power management encompass activities involved in the installation, configuration, and device operation. To properly support Plug and Play and power management, the operating system, drivers, system administration software, device installation software, system hardware, and device hardware must all work together.

Windows and the Windows Driver Model (WDM) expose a complicated model for Plug and Play and power management that depends on the driver to keep track of both the state of its device and the state of the system, thus in effect implementing its own informal state machine.

The WDF frameworks implement intelligent default behavior and expose a set of state-specific callbacks that drivers can implement to customize the Plug and Play and power behavior. The WDF driver supplies only the code required to manipulate its device. The framework tracks device and system state and calls the driver at its registered callbacks to perform device-specific actions.

Getting Started with PnP and Power in Drivers
White PaperPlug and Play and Power Management in WDF Drivers
Microsoft.comPower Management in the WDK Kernel-Mode Driver Design Guide
Microsoft.comWDK Online: Implementing Plug and Play  
Microsoft.comWDK Online: Implementing Power Management  

Plug and Play for Drivers
White PaperDevice Installation Rules for Windows Vista
White PaperDriver Package Integrity During Plug and Play Device Installs in Windows Vista
White PaperInstalling Drivers and Utilities without Rebooting on Windows
White PaperPlug and Play Device Driver Deployment in Windows Vista and Windows Server 2008
White PaperPlug and Play Device Driver Migration in Windows Vista
This link leaves the Microsoft.com sitePresentations on the ACPI Web Site
Microsoft.comWDK Online: Implementing WMI

Power Management Best Practices for Drivers
ToolsPower Event Monitoring Tool Sample Application
White PaperDirect Application Launch from System Startup on Windows Vista
White PaperIncreasing System Power Efficiency through Driver Support for Runtime Idle Detection
White PaperMobile Battery Solutions Guide for Windows Vista
White PaperPower Policy Configuration and Deployment in Windows
White PaperWindows Disk Idle Detection
Microsoft Powerpoint (.ppt)Integrating Drivers and Applications with Windows Power Management

Resources
White PaperWDK Documentation Download
WHDC Portal/NodalDriver Developer Community Resources
WHDC Portal/NodalDriver Signing Requirements for Windows
WHDC Portal/NodalDriver Tips: Best Practices for Windows Device Drivers
WHDC Portal/NodalNotes from Windows Development Teams
WHDC Portal/NodalSupport for Developer Kits and Tools
OtherDriver Developer Blogs
Microsoft.comWDK Documentation on MSDN  


Top of pageTop of page