USB Selective Suspend
Note This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.
Type: Automated Test
Overview
This test is designed to test the selective suspend abilities of the USB. This feature allows a device's port to be suspended when the device is not in use in order to conserve power. To properly support this new feature, a device must maintain its internal state when its upstream port has been suspended and be able to function correctly when its upstream port is resumed. This test will ensure that devices respond appropriately on its control pipe at its currently assigned device address following the suspend/resume cycle of a port. Depending on the class of the device, additional steps may be performed to ensure that the device responds correctly on other endpoints. This test runs only on devices and hubs.
Details
This test requires the test device to be connected through an intermediate USB 2.0 hub to the host system. This test fails if the test device is more than one hub deep.
Note: For embedded USB devices (for example, laptop devices) where it is impossible to meet the external hub connectivity requirement, you must follow the following steps:
Select the job USB Selective Suspend (Automated) from the Available jobs pane in the Device Console.
Click the Add Selected button on the Device Console. The selected job shows up in the bottom pane.
Select this job from the bottom pane. Right-click the job and select Edit Parameters. You will see the Parameter Edit window open, with parameters listed on the left and their values on the right.
Change this value of the IsEmbeddedUSBDevice parameter from FALSE to TRUE.
Click the Schedule Jobs button on the Device Console to run this job.
Results Interpretation
The test fails if:
A device fails to respond correctly on its control pipe following the suspend/resume cycle.
A device fails to respond correctly on any other endpoints in its current configuration following the suspend/resume cycle.
Run Time: 10 minutes
Log File:
System Restart Required: No
Test Category:
Supported operating systems for Logo or Signature testing:
Windows 7
Windows Server 2008 R2
Windows Vista
Windows Server 2008
Windows Server 2003
Windows XP
Program:
Requirements
Software Requirements
The test tool requires the following software:
- Supported operating system (see list above).
- Software components included with the device that is being tested.
Hardware Requirements
- Device to be tested
- One four-port USB hub for use as a self-powered hub. This hub must comply with the Universal Serial Bus Specification, Revision 1.1 and support the suspension of a port.
- One USB 2.0 controller PCI adapter, if system does not contain a USB 2.0 controller.
Processor
- x86
- x64
- Itanium
Troubleshooting
9.20.1 When suspended, the USB device maintains any internal status including its address and configuration.
Reference documents: WLP# - B2.6.2; USB Specification section 9.1.1.6
9.20.2 Attached devices must be prepared to be suspended at any time that they are powered, whether they have been assigned a non-default address or are configured.
Reference documents: WLP# - B2.6.2; USB Specification section 9.1.1.6
9.20.3 A USB device exits suspend mode when there is bus activity.
Reference documents: WLP# - B2.6.2; USB Specification section 9.1.1.6
9.20.4 After a port is resumed, a device attached to that port must respond to data transfers within 10ms of the resume signaling.
Reference documents: WLP# - B2.6.2; USB Specification section 9.2.6.2
9.20.6 After the bus is initialized, the test must find an appropriate USB test device. The device is appropriate if it does not have more than one external hub between it and the host. The device and the hub must be running at the highest speed the device is capable of operating.
Reference documents: WLP# - B2.6.2; USB Specification section 9.2.6.2
9.20.7 After the USB device is initialized, the device must be accessible using any device address from 1 to 127.
Reference documents: WLP# - B2.6.2; USB Specification section 9.2.6.2
Build date: 9/14/2012