USB Driver Level Re-enumeration Test Fail

Hi,

We are testing KMDF USB-Serial driver for DTM (v1.5, OS Win7-64)
USB Driver Level Re-enumeration test of USB Connectivity category is failing with below error

Error 2/22/2011 4:54:49.153 PM Failed to obtain device handle.
File: d:\5429t\testsrc\driverstest\usb\logotests\usbvirttest\user\usbdevicetest.cpp Line: 657
Error Type: HRESULT
Error Code: 0x0
Error Text: The operation completed successfully

Error 2/22/2011 4:54:49.153 PM Failed PerformPowerCycleOperation call.
File: d:\5429t\testsrc\driverstest\usb\logotests\usbvirttest\user\usbdevicetest.cpp Line: 218
Error Type: HRESULT
Error Code: 0x80004005
Error Text: Unspecified error

Please let us know where excatly is the problem.

Note: We tried connecting our USB device with and without 2.0 USB intermediate hub.

xxxxx@gmail.com wrote:

We are testing KMDF USB-Serial driver for DTM (v1.5, OS Win7-64)
USB Driver Level Re-enumeration test of USB Connectivity category is failing with below error

Error 2/22/2011 4:54:49.153 PM Failed to obtain device handle.
File: d:\5429t\testsrc\driverstest\usb\logotests\usbvirttest\user\usbdevicetest.cpp Line: 657
Error Type: HRESULT
Error Code: 0x0
Error Text: The operation completed successfully

Error 2/22/2011 4:54:49.153 PM Failed PerformPowerCycleOperation call.
File: d:\5429t\testsrc\driverstest\usb\logotests\usbvirttest\user\usbdevicetest.cpp Line: 218
Error Type: HRESULT
Error Code: 0x80004005
Error Text: Unspecified error

Please let us know where excatly is the problem.

No one here can do that. Either your hardware or your driver has failed
to re-enumerate properly after having the power to the device removed
and reapplied. You’re really the only one who can do any further analysis.

The unplug and replug cycle is one of the more difficult scenarios in a
USB driver to handle robustly. Have you done testing where you unplug,
then replug, then unplug, then replug, and repeat it 40 or 50 times?
Does the device come back correctly each time?


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

Thanks Tim,

unplug, then replug, and repeat it 40 or 50 times?

We will test this, analyze and if required comeback