none
Running USB tests with hubs built-in to the DUT. RRS feed

  • Question

  • I have a USB device which I am testing for Win7 & 8. Some of the Win7 tests fail with a message, "Device with ID XXXX/XXXX found in tree but tree is more than 1 external hubs deep."

    Using USB View, my DUT is connected to port 2 of a Root Hub. The DUT itself has an internal physical hub and a firmware hub before you see the specific device being tested.

    It looks like the HCK is treating the hubs in my device as external hubs and so, fundamentally, won't test it.

    Is there anything I can do to get this test to work?

    Thursday, June 6, 2013 12:56 PM

All replies

  • Please make sure you've downloaded and installed Filters for your HCK version.

    After your completed topologies, your test may not end automatically. To fix the issue, manually exit USBView. The PowerShell windows will exit itself right after. Wait a few minutes for filters to be applied on the test and then check the result.

    Monday, June 10, 2013 9:42 AM
  • Ah yes, is that the HCK's equivalent of "have you tried turning it off and on again?"?

    I have the latest filters (well I did at the time I ran the tests).

    The tests that fail are:

    USB Device Control Requests (Win7) [passes via filter in Windows 8 version of this test]

    USB Enumeration Stress (Win7) [passes in Windows 8 version of this test, no filter needed]

    USB Descriptor Test (Win7) [passes via filter in Windows 8 version of this test]

    Tuesday, June 11, 2013 9:44 AM
  • Please give us the exact error logs (right-click on failed test and copy/paste) and .wtl logs content.

    I asked to check for filters because I thought this case was normally filtered. Seems not to be.

    Tuesday, June 11, 2013 9:49 AM
  • I have just re-run the tests on an x64 machine (the previous ones were x86) with the same results.

    The RunUsbTest.txt file simply contains 3 lines, start, command and end (pass).

    The contents of the usbhct_c.log.txt file are (VID/PID xxxx'd):

    2080 1632 2013:6:11 12:6:31:653 Machine: Build=7600.1 Platform=AMD64 OS=Windows 7 Professional ServicePack="" Version=6.1 BuildLab="win7_rtm" BuildDate=090713-1255 Language=English (UK) Config=n/a  
    2080 1632 2013:6:11 12:6:31:653 Start: USB HCT Control Request Test 1.1, TUID=
    2080 1632 2013:6:11 12:6:31:653 Beginning Control Request, USB device VID: XXXX PID: XXXX
    2080 1632 2013:6:11 12:6:31:653 Assertion 9.23.10: Bus Initialization
    2080 1632 2013:6:11 12:6:31:653 Search for device
    2080 1632 2013:6:11 12:6:31:653 Build USB Device Tree
    2080 1632 2013:6:11 12:6:32:137 Walk USB Device Tree
    2080 1632 2013:6:11 12:6:32:137 Device Found
    2080 1632 2013:6:11 12:6:32:137 Device is not High Speed Capable.
    2080 1632 2013:6:11 12:6:32:137 Device is running at Full speed.
    2080 1632 2013:6:11 12:6:32:137 Device Depth 2
    2080 1632 2013:6:11 12:6:32:137 Device is running at Full speed.
    2080 1632 2013:6:11 12:6:32:137 Walk USB Device Tree
    2080 1632 2013:6:11 12:6:32:137 Device Not Found
    2080 1632 2013:6:11 12:6:32:137 Error: 0x0, Error 0x00000000 Device with ID XXXX/XXXX found in tree but tree is more than 1 external hubs deep. File=testsrc\driverstest\usb\usbhct\exe\ctrltest.cpp Line=298
    2080 1632 2013:6:11 12:6:32:137 Assertion 9.23.10:
    2080 1632 2013:6:11 12:6:32:137 Assertion 9.23.10: Ends
    2080 1632 2013:6:11 12:6:32:137 Ending Control Request
    2080 1632 2013:6:11 12:6:32:137 End: Fail, USB HCT Control Request Test 1.1, TUID=, Repro="C:\WLK\JobsWorkingDir\Tasks\WTTJobRun7FB0CB1B-BF16-40A1-A0C8-628CDB4DAF8C\usbhct.exe" -c -d XXXX/XXXX -L usbhct_c.log
    2080 1632 2013:6:11 12:6:32:137 Summary: Total=1, Passed=0, Failed=1, Blocked=0, Warned=0, Skipped=0

    Tuesday, June 11, 2013 12:18 PM