The operating system may stop responding when you try to put the operating system into S3 sleep after you perform a surprise removal of a USB device on a Windows-based computer

Article translations Article translations
Article ID: 955986 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

On a Microsoft Windows-based computer, you perform a surprise removal of a universal serial bus (USB) device. When you try to put the operating system into S3 sleep (standby), the operating system may stop responding. When this problem occurs, the Plug and Play (PnP) manager may be unable to process any device removal actions or any device enumeration actions.

This problem may occur if the USB device is implemented by a Kernel-Mode Driver Framework driver that reads data from a bulk endpoint on the USB device using a USB Continuous Reader. A USB Continuous Reader is a framework-supplied mechanism.

This problem may occur in one of the following Windows operating systems:
  • Windows Server 2008
  • Windows Vista
  • Windows Server 2003
  • Windows XP

CAUSE

This problem is caused by an error in the Microsoft Kernel-Mode Driver Framework version 1.7 and earlier, and may affect USB devices with drivers written for the Kernel-Mode Driver Framework version 1.7 and earlier.

RESOLUTION

This problem is scheduled to be fixed in the Kernel-Mode Driver Framework version 1.9 that is scheduled for release in the Microsoft Windows Driver Kit for Windows 7. To resolve this problem, developers of USB device drivers should build and install the driver by using the Kernel-Mode Driver Framework version 1.9.

WORKAROUND

To work around this problem, set the NumPendingReads member to 1 in the Kernel-Mode Driver Framework driver code when you configure a continuous reader for a USB device that uses the Kernel-Mode Driver Framework.

If the rate of the read events on the affected USB endpoint (pipe) is high, this workaround may cause occasional loss of the data that is received from the USB device. For example, if the USB endpoint has data that must be read while a previously completed single read request is being processed by the owning driver, data loss may occur.

MORE INFORMATION

For more information, see the following topics of the Windows Driver Kit documentation on the following Microsoft Developer Network (MSDN) Web sites:
http://msdn.microsoft.com/en-us/library/aa490269.aspx
http://msdn.microsoft.com/en-us/library/aa492612.aspx
http://msdn.microsoft.com/en-us/library/aa501716.aspx
http://msdn.microsoft.com/en-us/library/aa492734.aspx

Properties

Article ID: 955986 - Last Review: January 15, 2010 - Revision: 2.0
APPLIES TO
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Windows Server 2008 Standard
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
Keywords: 
kbexpertiseinter kbbug kbsurveynew KB955986

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com