HCK Test Issues : Usb Descriptor Test (Win 7)

Hello,

I have setup the HCK environment and started testing the driver. I was
testing some available tests to get my self familiar with the setup. I ran
the ‘USB Descriptor Test (Win7)’ because it sounds more straight forward.

It says the test takes around 5 minutes. But now it has almost reached 45
minutes but still the test has not completed. I can see the client PC has a
command prompt with the following line,

Start: USB HCT Get Descriptor Test 1.1, TUID=
± ± ± ± ±

I checked the log file which is “WLK\Jobs…\usbhct_g.log” to see what is
happening.

The log has the final entry as 'Requesting MSOS descriptor". After that
entry log time now 45 minutes have elapsed but still nothing has come.

Entries in the log:

1604 4508 2014:9:19 6:49:28:219 Machine: Build=7600.1 Platform=AMD64
OS=Windows 7 Enterprise N ServicePack=“” Version=6.1
BuildLab=“win7_gdr” BuildDate=130318-1532 Language=English (US)
(REDMOND) Config=n/a
1604 4508 2014:9:19 6:49:28:219 Start: USB HCT Get Descriptor Test 1.1,
TUID=
1604 4508 2014:9:19 6:49:28:219 Beginning Get Descriptor, USB device VID:
0E1F PID: 0004
1604 4508 2014:9:19 6:49:28:219 Assertion 9.21.11: Bus Initialization
1604 4508 2014:9:19 6:49:28:219 Search for device
1604 4508 2014:9:19 6:49:28:219 Build USB Device Tree
1604 4508 2014:9:19 6:49:28:609 Walk USB Device Tree
1604 4508 2014:9:19 6:49:28:609 Device Found
1604 4508 2014:9:19 6:49:28:609 Device is not High Speed Capable.
1604 4508 2014:9:19 6:49:28:609 Device is running at Full speed.
1604 4508 2014:9:19 6:49:28:609 Device Depth 0
1604 4508 2014:9:19 6:49:28:609 Device is running at Full speed.
1604 4508 2014:9:19 6:49:28:609 Useable device found
1604 4508 2014:9:19 6:49:28:609 Assertion 9.21.11:
1604 4508 2014:9:19 6:49:28:609 Assertion 9.21.11: Ends
1604 4508 2014:9:19 6:49:28:609 Assertion 9.21.12: Device Initialization
1604 4508 2014:9:19 6:49:28:609 Configuring path to device for test
1604 4508 2014:9:19 6:49:28:609 Device Depth 0
1604 4508 2014:9:19 6:49:28:609 Walk up device tree to root hub
1604 4508 2014:9:19 6:49:28:609 Disable Root Hub
1604 4508 2014:9:19 6:49:28:609 Removing subtree with root at root hub
1604 4508 2014:9:19 6:49:28:656 Enable Raw Device Access
1604 4508 2014:9:19 6:49:28:656 Open USB services key
1604 4508 2014:9:19 6:49:28:656 Open the services key
1604 4508 2014:9:19 6:49:28:656 Create class key
1604 4508 2014:9:19 6:49:28:656 Close key
1604 4508 2014:9:19 6:49:28:656 Enable reg key
1604 4508 2014:9:19 6:49:28:656 Open Host Controller
1604 4508 2014:9:19 6:49:28:656 Configure Path to Device
1604 4508 2014:9:19 6:49:28:656 Walk up tree to root hub
1604 4508 2014:9:19 6:49:28:656 Get the upstream port number
1604 4508 2014:9:19 6:49:28:656 Reset Root Hub Port
1604 4508 2014:9:19 6:49:29:487 Configuration Successful
1604 4508 2014:9:19 6:49:29:487 Test Signature Address: 127
1604 4508 2014:9:19 6:49:29:487 Output Test Signature Start
1604 4508 2014:9:19 6:49:29:487 Setup Output Request
1604 4508 2014:9:19 6:49:29:549 Configured successfully
1604 4508 2014:9:19 6:49:29:549 Get initial device information
1604 4508 2014:9:19 6:49:29:549 Querying for initial device information
1604 4508 2014:9:19 6:49:29:549 Resetting device’s upstream port
1604 4508 2014:9:19 6:49:29:549 Reset Root Hub Port
1604 4508 2014:9:19 6:49:30:391 Device is running at Full speed.
1604 4508 2014:9:19 6:49:30:391 Using default MaxPacketSize of 64 bytes
1604 4508 2014:9:19 6:49:30:391 Max Packet Size set to: 64 Bytes
1604 4508 2014:9:19 6:49:30:391 Requesting device descriptor
1604 4508 2014:9:19 6:49:30:579 Max Packet Size set to: 8 Bytes
1604 4508 2014:9:19 6:49:30:579 Using real max packet size of 8 bytes
1604 4508 2014:9:19 6:49:30:766 Initial device descriptor successfully
retrieved
1604 4508 2014:9:19 6:49:30:766 Requesting configuration descriptor
1604 4508 2014:9:19 6:49:30:953 Query for full Configuration Descriptor
1604 4508 2014:9:19 6:49:31:140 No Product Descriptor
1604 4508 2014:9:19 6:49:31:140 Initial device information
1604 4508 2014:9:19 6:49:31:140 Device Descriptor
1604 4508 2014:9:19 6:49:31:140 FORMAT: Hexidecimal DESCRIPTOR TYPE:
Device Descriptor 01
1604 4508 2014:9:19 6:49:31:140 12 01 10 01 00 00 00 08
1604 4508 2014:9:19 6:49:31:140 1A 0E 04 00 00 00 01 00
1604 4508 2014:9:19 6:49:31:140 00 01
1604 4508 2014:9:19 6:49:31:140 Configuration Descriptor
1604 4508 2014:9:19 6:49:31:140 FORMAT: Hexidecimal DESCRIPTOR TYPE:
Configuration Descriptor 02
1604 4508 2014:9:19 6:49:31:140 09 02 27 00 01 01 00 C0
1604 4508 2014:9:19 6:49:31:140 10 09 04 00 00 03 FF FF
1604 4508 2014:9:19 6:49:31:140 FF 00 07 05 01 02 40 00
1604 4508 2014:9:19 6:49:31:140 00 07 05 82 02 40 00 00
1604 4508 2014:9:19 6:49:31:140 07 05 83 03 08 00 0A
1604 4508 2014:9:19 6:49:31:140 Product Descriptor
1604 4508 2014:9:19 6:49:31:140 Not supported by device
1604 4508 2014:9:19 6:49:31:140 Serial Number
1604 4508 2014:9:19 6:49:31:140 Not supported by device
1604 4508 2014:9:19 6:49:31:140 Device Qualifier Descriptor
1604 4508 2014:9:19 6:49:31:140 Not supported by device
1604 4508 2014:9:19 6:49:31:140 Assertion 9.21.12:
1604 4508 2014:9:19 6:49:31:140 Assertion 9.21.12: Ends
1604 4508 2014:9:19 6:49:31:140 Number of test iterations: 1

… < Many lines >

1604 4508 2014:9:19 6:52:45:891 Assertion 9.21.3: Get Configuration
Descriptor
1604 4508 2014:9:19 6:52:45:891 Packets Requested: 254
1604 4508 2014:9:19 6:52:46:78 Assertion 9.21.3:
1604 4508 2014:9:19 6:52:46:78 Assertion 9.21.3: Ends
1604 4508 2014:9:19 6:52:46:78 Assertion 9.21.3: Get Configuration
Descriptor
1604 4508 2014:9:19 6:52:46:78 Packets Requested: 255
1604 4508 2014:9:19 6:52:46:265 Assertion 9.21.3:
1604 4508 2014:9:19 6:52:46:265 Assertion 9.21.3: Ends
1604 4508 2014:9:19 6:52:46:265 Assertion 9.21.12: Device Initialization
1604 4508 2014:9:19 6:52:46:265 Requesting MSOS descriptor

In the device manager I can see ‘USB root hub’ with an exclamation mark.
It’s properties says that 'Windows is uninstalling the device (Code 21)"
and I don’t see my device listed. I have noticed that as soon as I start
the test the device manager changer refreshed and the ‘USB root hub’ with
exclamation mark came. I thought it might be some windows internal activity
for the test.

I cannot understand the issue. If there is a driver issue I expect the HCK
to inform me. It just waits.

Can anyone help me.

-Pradeepa

Update:

http://msdn.microsoft.com/en-us/library/windows/hardware/hh998730.aspx

Do I need to connect the device to a USB 3.0 port? Currently the USB root
hub location says “Intel(R) ICH8 Family USB Universal Host Controller -
2831”

Can that be the reason for the issue?

-Pradeepa

On Fri, Sep 19, 2014 at 1:16 PM, Pradeepa Senanayake <
xxxxx@gmail.com> wrote:

Hello,

I have setup the HCK environment and started testing the driver. I was
testing some available tests to get my self familiar with the setup. I ran
the ‘USB Descriptor Test (Win7)’ because it sounds more straight forward.

It says the test takes around 5 minutes. But now it has almost reached 45
minutes but still the test has not completed. I can see the client PC has a
command prompt with the following line,

Start: USB HCT Get Descriptor Test 1.1, TUID=
± ± ± ± ±

I checked the log file which is “WLK\Jobs…\usbhct_g.log” to see what is
happening.

The log has the final entry as 'Requesting MSOS descriptor". After that
entry log time now 45 minutes have elapsed but still nothing has come.

Entries in the log:

1604 4508 2014:9:19 6:49:28:219 Machine: Build=7600.1 Platform=AMD64
OS=Windows 7 Enterprise N ServicePack=“” Version=6.1
BuildLab=“win7_gdr” BuildDate=130318-1532 Language=English (US)
(REDMOND) Config=n/a
1604 4508 2014:9:19 6:49:28:219 Start: USB HCT Get Descriptor Test 1.1,
TUID=
1604 4508 2014:9:19 6:49:28:219 Beginning Get Descriptor, USB device VID:
0E1F PID: 0004
1604 4508 2014:9:19 6:49:28:219 Assertion 9.21.11: Bus Initialization
1604 4508 2014:9:19 6:49:28:219 Search for device
1604 4508 2014:9:19 6:49:28:219 Build USB Device Tree
1604 4508 2014:9:19 6:49:28:609 Walk USB Device Tree
1604 4508 2014:9:19 6:49:28:609 Device Found
1604 4508 2014:9:19 6:49:28:609 Device is not High Speed Capable.
1604 4508 2014:9:19 6:49:28:609 Device is running at Full speed.
1604 4508 2014:9:19 6:49:28:609 Device Depth 0
1604 4508 2014:9:19 6:49:28:609 Device is running at Full speed.
1604 4508 2014:9:19 6:49:28:609 Useable device found
1604 4508 2014:9:19 6:49:28:609 Assertion 9.21.11:
1604 4508 2014:9:19 6:49:28:609 Assertion 9.21.11: Ends
1604 4508 2014:9:19 6:49:28:609 Assertion 9.21.12: Device Initialization
1604 4508 2014:9:19 6:49:28:609 Configuring path to device for test
1604 4508 2014:9:19 6:49:28:609 Device Depth 0
1604 4508 2014:9:19 6:49:28:609 Walk up device tree to root hub
1604 4508 2014:9:19 6:49:28:609 Disable Root Hub
1604 4508 2014:9:19 6:49:28:609 Removing subtree with root at root hub
1604 4508 2014:9:19 6:49:28:656 Enable Raw Device Access
1604 4508 2014:9:19 6:49:28:656 Open USB services key
1604 4508 2014:9:19 6:49:28:656 Open the services key
1604 4508 2014:9:19 6:49:28:656 Create class key
1604 4508 2014:9:19 6:49:28:656 Close key
1604 4508 2014:9:19 6:49:28:656 Enable reg key
1604 4508 2014:9:19 6:49:28:656 Open Host Controller
1604 4508 2014:9:19 6:49:28:656 Configure Path to Device
1604 4508 2014:9:19 6:49:28:656 Walk up tree to root hub
1604 4508 2014:9:19 6:49:28:656 Get the upstream port number
1604 4508 2014:9:19 6:49:28:656 Reset Root Hub Port
1604 4508 2014:9:19 6:49:29:487 Configuration Successful
1604 4508 2014:9:19 6:49:29:487 Test Signature Address: 127
1604 4508 2014:9:19 6:49:29:487 Output Test Signature Start
1604 4508 2014:9:19 6:49:29:487 Setup Output Request
1604 4508 2014:9:19 6:49:29:549 Configured successfully
1604 4508 2014:9:19 6:49:29:549 Get initial device information
1604 4508 2014:9:19 6:49:29:549 Querying for initial device information
1604 4508 2014:9:19 6:49:29:549 Resetting device’s upstream port
1604 4508 2014:9:19 6:49:29:549 Reset Root Hub Port
1604 4508 2014:9:19 6:49:30:391 Device is running at Full speed.
1604 4508 2014:9:19 6:49:30:391 Using default MaxPacketSize of 64 bytes
1604 4508 2014:9:19 6:49:30:391 Max Packet Size set to: 64 Bytes
1604 4508 2014:9:19 6:49:30:391 Requesting device descriptor
1604 4508 2014:9:19 6:49:30:579 Max Packet Size set to: 8 Bytes
1604 4508 2014:9:19 6:49:30:579 Using real max packet size of 8 bytes
1604 4508 2014:9:19 6:49:30:766 Initial device descriptor successfully
retrieved
1604 4508 2014:9:19 6:49:30:766 Requesting configuration descriptor
1604 4508 2014:9:19 6:49:30:953 Query for full Configuration Descriptor
1604 4508 2014:9:19 6:49:31:140 No Product Descriptor
1604 4508 2014:9:19 6:49:31:140 Initial device information
1604 4508 2014:9:19 6:49:31:140 Device Descriptor
1604 4508 2014:9:19 6:49:31:140 FORMAT: Hexidecimal DESCRIPTOR TYPE:
Device Descriptor 01
1604 4508 2014:9:19 6:49:31:140 12 01 10 01 00 00 00 08
1604 4508 2014:9:19 6:49:31:140 1A 0E 04 00 00 00 01 00
1604 4508 2014:9:19 6:49:31:140 00 01
1604 4508 2014:9:19 6:49:31:140 Configuration Descriptor
1604 4508 2014:9:19 6:49:31:140 FORMAT: Hexidecimal DESCRIPTOR TYPE:
Configuration Descriptor 02
1604 4508 2014:9:19 6:49:31:140 09 02 27 00 01 01 00 C0
1604 4508 2014:9:19 6:49:31:140 10 09 04 00 00 03 FF FF
1604 4508 2014:9:19 6:49:31:140 FF 00 07 05 01 02 40 00
1604 4508 2014:9:19 6:49:31:140 00 07 05 82 02 40 00 00
1604 4508 2014:9:19 6:49:31:140 07 05 83 03 08 00 0A
1604 4508 2014:9:19 6:49:31:140 Product Descriptor
1604 4508 2014:9:19 6:49:31:140 Not supported by device
1604 4508 2014:9:19 6:49:31:140 Serial Number
1604 4508 2014:9:19 6:49:31:140 Not supported by device
1604 4508 2014:9:19 6:49:31:140 Device Qualifier Descriptor
1604 4508 2014:9:19 6:49:31:140 Not supported by device
1604 4508 2014:9:19 6:49:31:140 Assertion 9.21.12:
1604 4508 2014:9:19 6:49:31:140 Assertion 9.21.12: Ends
1604 4508 2014:9:19 6:49:31:140 Number of test iterations: 1

… < Many lines >

1604 4508 2014:9:19 6:52:45:891 Assertion 9.21.3: Get Configuration
Descriptor
1604 4508 2014:9:19 6:52:45:891 Packets Requested: 254
1604 4508 2014:9:19 6:52:46:78 Assertion 9.21.3:
1604 4508 2014:9:19 6:52:46:78 Assertion 9.21.3: Ends
1604 4508 2014:9:19 6:52:46:78 Assertion 9.21.3: Get Configuration
Descriptor
1604 4508 2014:9:19 6:52:46:78 Packets Requested: 255
1604 4508 2014:9:19 6:52:46:265 Assertion 9.21.3:
1604 4508 2014:9:19 6:52:46:265 Assertion 9.21.3: Ends
1604 4508 2014:9:19 6:52:46:265 Assertion 9.21.12: Device Initialization
1604 4508 2014:9:19 6:52:46:265 Requesting MSOS descriptor

In the device manager I can see ‘USB root hub’ with an exclamation mark.
It’s properties says that 'Windows is uninstalling the device (Code 21)"
and I don’t see my device listed. I have noticed that as soon as I start
the test the device manager changer refreshed and the ‘USB root hub’ with
exclamation mark came. I thought it might be some windows internal activity
for the test.

I cannot understand the issue. If there is a driver issue I expect the HCK
to inform me. It just waits.

Can anyone help me.

-Pradeepa

Pradeepa Senanayake wrote:

Hello,

I have setup the HCK environment and started testing the driver. I was
testing some available tests to get my self familiar with the setup. I
ran the ‘USB Descriptor Test (Win7)’ because it sounds more straight
forward.

It says the test takes around 5 minutes. But now it has almost reached
45 minutes but still the test has not completed. I can see the client
PC has a command prompt with the following line,

Start: USB HCT Get Descriptor Test 1.1, TUID=
± ± ± ± ±

I checked the log file which is “WLK\Jobs…\usbhct_g.log” to see what
is happening.

The log has the final entry as 'Requesting MSOS descriptor". After
that entry log time now 45 minutes have elapsed but still nothing has
come.

Does your device support the Microsoft OS descriptors? You aren’t
required to support them, but you ARE required to respond appropriately
if you don’t.

Note that, for many of these USB protocol tests, HCK will uninstall the
normal USB stack and install a special one written by the USB
Implementor’s Forum that allows lower-level access to the hardware.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.