USB Address Description Test
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
The USB Address Description Test runs a number of individual tests that verify various attributes and operations used by the function-specific portions of the test device. The tests also verify communications from the device through the bus interface to the host. The USB Address Description Test is based on the USBCV compliance test tool provided by the USB Implementers Forum, Inc. (USB-IF).
A USB device must respond correctly to all possible USB device addresses from 0 through 127. This test verifies that devices can respond correctly at their assigned addresses and that they do not respond at any other address.
Details
The test includes the following parts:
Setup
This test fails if the test device is more than one hub deep. Please note that test should be run with a device connected directly to a root hub of the system or with a USB-IF certified hub with less than seven ports.
Initialization
Select device to test
Open handle to host controller
Gather initial information:
- Device descriptor
- Configuration descriptor
- String descriptors (if supported by device and test)
Address test #1 (repeat for all addresses)
Reset device port
Get descriptors (device, configuration, string) from address 0
Set device address (next address value not in use)
Get descriptors using address 0 (device should not respond)
Get descriptors using new address (device should respond)
Compare descriptors to initial information
Address test #2 (repeat for all addresses)
Reset device port (first time only)
Set address (next address value not in use)
Get descriptors from previous address (device should not respond)
Get descriptors from new address (device should respond)
Compare descriptors to initial information
Result
For success, a device must always respond with valid device, configuration, and string descriptors while not responding at its previous device address. Any failure is a test failure.
Results Interpretation
The test fails if:
Any standard device request is not properly handled by the device being tested.
Any standard device request does not meet the response time requirements as defined in the USB specification.
A device fails to respond to a request at its currently assigned address.
A device responds at an address other than its currently assigned address
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
- Supported operating system (see list above).
- Software components included with the device that is being tested.
Hardware Requirements
- Device to be tested
- One USB 2.0 controller PCI adapter, if system does not contain a USB 2.0 controller.
Processor
- x86
- x64
- Itanium
Optional
- One USB IF certified USB 2.0 hub to connect the system and the test USB device
Build date: 9/14/2012