USB Exposed Port System Test

This test validates the port mapping of all SuperSpeed capable connectors of the system. For each connector, the test checks these conditions for the SuperSpeed and high-speed ports that form the connector:

  • The SuperSpeed ports are mapped to their companion high speed ports of the same physical controller. The ports must be children of the same parent.

  • The port numbers of SuperSpeed and high-speed ports are contiguous. SuperSpeed port numbers are less than the high-speed port numbers, and mapped correctly. For example, if the controller has four SuperSpeed ports and four high-speed ports, they must be mapped as shown here:

    • SuperSpeed Port 1-> High-speed Port 5

    • SuperSpeed Port 2-> High-speed Port 6

    • SuperSpeed Port 3-> High-speed Port 7

    • SuperSpeed Port 4-> High-speed Port 8

  • If the ports are not mapped as shown in the preceding list, then the test assumes that the ACPI table contains definitions for physically-wired SuperSpeed and high speed ports. To map the ports, they must have identical physical location description (_PLD). For more information, see Using ACPI to Configure USB Ports on a Computer.

Test details

Associated requirements

System.Fundamentals.SystemUSB.EHCIToXHCIControllerTransitions System.Fundamentals.SystemUSB.SuperSpeedCapableConnectorRequirements System.Fundamentals.SystemUSB.TestedUsingMicrosoftUsbStack System.Fundamentals.SystemUSB.USB3andUSB2PortsRoutedToSameXHCIController System.Fundamentals.SystemUSB.XHCIControllersMustHaveEmbeddedInfo

See the system hardware requirements.

Platforms

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

Expected run time

~5 minutes

Categories

Certification Functional

Type

Manual

 

Running the test

This test returns Pass or Fail. To review test details, review the test log from Windows Hardware Certification Kit (Windows HCK) Studio.

Hardware list

In Windows 8.1, this test runs in two modes: Legacy and Modern. You can select the mode by using the Parameters option.

  • A target computer that has one or more SuperSpeed and/or high-speed connectors (exposed ports). In the Legacy mode, you need at least one USB-IF compliant external USB 3.0 hub. In the Modern mode, you need n USB 3.0 hubs, where n is the total count of connectors on the system.

  • SuperSpeed-capable USB cables.

How to run the test – Legacy mode

  1. On the Windows® Hardware Certification Kit (Windows HCK) Controller, open Windows HCK Studio and load the project.

  2. On the target computer, connect the USB 3.0 hub to a SuperSpeed or high-speed connector.

  3. On the Windows HCK Controller, on the Selection tab, select System and check the target computer from the list.

  4. On the Windows HCK Controller, click the Tests tab, view by Functional and Certification.

  5. Select USB Exposed Port System Test from the Test Name list and click Run Selected.

  6. In the Parameters window, enter Legacy as the Testmode value.

  7. Start the test.

    The target computer might restart. On the test computer, Administrator: Windows PowerShell and USB device viewer windows will open.

  8. In USB device viewer, verify that the hub enumerates as Generic SuperSpeed USB Hub under SuperSpeed ports. If you have n hubs for n connectors, connect all hubs at the same time. Otherwise, connect the hub to each connector one at a time. Make sure that all hubs are detected on all connectors. Do not close the test UI, or, the test will fail.

  9. After all second-tier hubs are detected, the UI will close automatically. If it does not, close the test UI.

  10. Read the test results on the Windows HCK Controller.

How to run the test – Modern mode

  1. On the Windows HCK Controller, open Windows HCK Studio and load the project.

  2. On the target computer, make sure every connector has a USB 3.0 hub attached downstream to connector.

  3. On the Windows HCK Controller, on the Selection tab, select System and check the target computer from the list.

  4. On the Windows HCK Controller, click the Tests tab, view by Certification.

  5. Select USB Exposed Port System Test from the Test Name list and click Run Selected.

  6. In the Parameters window, enter Modern as the Testmode value.

  7. Start the test.

    On the target computer a command prompt window opens; however, this mode requires no user interaction.

  8. After the test completes, read the test results on the Windows HCK Controller.

Troubleshooting

For troubleshooting information, see Troubleshooting System Fundamentals Testing.

Most common reasons for failing this test are:

  • The SuperSpeed ports of an xHCI controller are mapped to high speed ports of another xHCI or EHCI controller.

  • The ACPI table does not contain proper port mapping.

Error Description

Connected: Fail

USB 3.0 hubs were not detected on all connectors. You must connect hubs to all connectors.

Mapped: Fail

One of the ports that form the connector is SuperSpeed but was not mapped to a companion high-speed port in ACPI.

Port # is reported as user removable, but no device was found. Attach a device and rerun the test.

The port is not wired to a connector but in the ACPI table _UPC.PortIsConnectable byte is not set to 0xFF or the _PLD.UserVisible bit is set to 0.

 

More information

Parameters

Parameter Description

TestMode

Default value: Modern

 

File list

File Location

USBViewTest.exe

[TestBinRoot]\nttest\driverstest\usb\LogoKit\

devicetopology.vbs

[TestBinRoot]\nttest\driverstest\usb\LogoKit\

hubexposedport.vbs

[TestBinRoot]\nttest\driverstest\usb\LogoKit\

alternatemode.vbs

[TestBinRoot]\nttest\driverstest\usb\LogoKit\

 

WDTF System Fundamentals Testing Prerequisites

 

 

Send comments about this topic to Microsoft