Expand Minimize

USB Host Controller Enable Disable Test

This automated test disables and re-enables the USB host controller(s) and checks to see whether all of the devices are still attached to the system.

A list of USB devices is compiled at the beginning of the test, as well as a list of all the USB host controllers. The test disables and re-enables the host controllers a total of five times. All of the USB host controllers are disabled and enabled simultaneously. After re-enabling the controllers, the test gathers a list of the current devices attached to the system. This list is compared to the original device list. If at any time the list of current devices does not match the original device list, the missing devices are listed, and the test fails and exits.

Test details

 

Associated requirements

Device.BusController.UsbController.PreserveDeviceStateAfterDisableEnable

See the device hardware requirements.

Platforms

Windows 7 (x64)
Windows 7 (x86)
Windows RT (ARM-based)
Windows 8 (x64)
Windows 8 (x86)
Windows Server 2012 (x64)
Windows Server 2008 R2 (x64)
Windows RT 8.1
Windows 8.1 x64
Windows 8.1 x86
Windows Server 2012 R2

Expected run time

~15 minutes

Categories

Certification
Functional

Type

Automated

Running the test

Before you run the test, complete the test setup as described in the test requirements: USB Bus Controller Testing Prerequisites.

Attach at least one USB peripheral device to the USB host controller under test before scheduling the test.

Troubleshooting

For troubleshooting information, see Troubleshooting Bus Controller Testing.

Review the test results in the log file for specific details about failures. If a device is no longer attached after running the test then the test fails. The test then lists which devices were not found and exits. This may be the result of a faulty device. Re-run the test with another device, of the same device class, to verify the USB host controller functionality.

More information

The USB Host Controller Enable Disable Test performs the following tasks:

  1. Detect and save the entire device list before running the test.

  2. Cycle disable/enable of the USB host controller.

  3. Re-gather the device list and validate against the initial device list. If any device is missing or in a bad state, fail the test.

Command syntax

 

Parameter Description

GUID

String that indicates the device class GUID for the USB controller class.

Value: {36fc9e60-c465-11cf-8056-444553540000}

Show:
© 2014 Microsoft