From: dodolemon on
Hi all,
Currently, I install my hid mini-driver in Joystick device and then run
DTM Test by WLK v1.2.

It always can't pass the USB Device FrameWork Test in XP 32/64 SP3. But
strangely, it can pass this item in Vista 32/64 bit SP1!

I really don't know why. I use the windbg to log some info as bellow,

//=======================================
Machine: Build=2600.00
Platform=x86
OS=Microsoft Windows XP
ServicePack="Service Pack 3"
Version=5.1
BuildLab="xpsp"
BuildDate=080413-2111
Language=Chinese (Traditional) (REDMOND)
Config=n/a

ASJK: HGM_PnP(DeviceObject=0x80da2030,Irp=0xffb1a008)
ASJK: HGM_PnP: IrpStack->MinorFunction Not handled 0x7
ASJK: HGM_PnP ntStatus[0xc00000bb]
ASJK: HGM_PnP(DeviceObject=0x80da2030,Irp=0xffb1a008)
ASJK: HGM_PnP: IrpStack->MinorFunction Not handled 0x1
ASJK: HGM_PnP ntStatus[0x0]
ASJK: USB_ReadCompletion(DeviceObject=0x80da2030 Irp=0x80d89008 IRQL=0x2)
ASJk: USB_ReadCompletion-Fatal error1! ntStatus=0xc0000120 len=0x0
ASJK: USB_ReadCompletion ntStatus[0xc0000120]
ASJK: USB_ReadCompletion(DeviceObject=0x80da2030 Irp=0x80d91008 IRQL=0x2)
ASJk: USB_ReadCompletion-Fatal error1! ntStatus=0xc0000120 len=0x0
ASJK: USB_ReadCompletion ntStatus[0xc0000120]
ASJK: HGM_PnP(DeviceObject=0x80da2030,Irp=0x80d5fa48)
ASJK: HGM_Pnp: IRP_MN_REMOVE_DEVICE
ASJK: RemoveDevice #0 DO=80da2030 size=4
ASJK: RemoveDeviceDescriptor DD=80dba4c8 S=4
ASJK: RemoveDeviceInterface DI=80d96880 S=4
ASJK: HGM_PnP Exit 1 ntStatus[0x0]
ASJK: HGM_Unload Enter <---will Unload my driver
ASJK: HGM_Unload: ntStatus[0x0]

<-----start test bellow
CDisplayGatherer::XmlData: Calling Get XML Data
CDisplayGatherer::XmlData: DisplayGetData(ex) succeeded
Start: Device Descriptor Test (Configuration Index 0), TUID=(null)
End: Pass, Device Descriptor Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Device Descriptor Test (Configuration Index 0), TUID=(null)
End: Pass, Device Descriptor Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Configuration Descriptor Test (Configuration Index 0), TUID=(null)
End: Pass, Configuration Descriptor Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Configuration Descriptor Test (Configuration Index 0), TUID=(null)
End: Pass, Configuration Descriptor Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Interface Descriptor Test (Configuration Index 0), TUID=(null)
End: Pass, Interface Descriptor Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Endpoint Descriptor Test (Configuration Index 0), TUID=(null)
End: Pass, Endpoint Descriptor Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Endpoint Descriptor Test (Configuration Index 0), TUID=(null)
End: Pass, Endpoint Descriptor Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Halt Endpoint Test (Configuration Index 0), TUID=(null)
End: Pass, Halt Endpoint Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: SetConfiguration Test (Configuration Index 0), TUID=(null)
End: Pass, SetConfiguration Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Suspend/Resume Test (Configuration Index 0), TUID=(null)
End: Pass, Suspend/Resume Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Remote Wakeup Test (Configuration Index 0), TUID=(null)
End: Pass, Remote Wakeup Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Remote Wakeup Test (Configuration Index 0), TUID=(null)
End: Pass, Remote Wakeup Test (Configuration Index 0), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Bad Descriptor Test (Descriptor Type 35), TUID=(null)
End: Pass, Bad Descriptor Test (Descriptor Type 35), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Bad Feature Test (Feature Selector 35), TUID=(null)
End: Pass, Bad Feature Test (Feature Selector 35), TUID=,
Repro=C:\WTT\JobsWorkingDir\Tasks\WTTJobRun6737C2C5-9043-47FD-A3D5-B87BFBDE9B04\UsbCheckApp.exe


Start: Enumeration Test (repeat 150 times), TUID=(null)
CDisplayGatherer::XmlData: Calling Get XML Data
CDisplayGatherer::XmlData: DisplayGetData(ex) succeeded
CDisplayGatherer::XmlData: Calling Get XML Data
CDisplayGatherer::XmlData: DisplayGetData(ex) succeeded
CDisplayGatherer::XmlData: Calling Get XML Data
CDisplayGatherer::XmlData: DisplayGetData(ex) succeeded
CDisplayGatherer::XmlData: Calling Get XML Data
CDisplayGatherer::XmlData: DisplayGetData(ex) succeeded
CDisplayGatherer::XmlData: Calling Get XML Data
CDisplayGatherer::XmlData: DisplayGetData(ex) succeeded

Start: WDK File Signatures Verification, TUID=(null)
argv[0] = WDKFileSigVer.exe
.......
.......

//==============================

I check and find I can't pass the-- Enumeration Test.

1. If I don't install the hid minidriver, it's fine and can pass the test.
--> It menas the hardware is ok. (I test many times and each time it can
pass without driver installed)

2. At the begining of testing, it will unload my driver. So I don't think
it involves with my mini driver. But why it will fail?

May someone give me a hand in this test?
Really need your help.

Thank you.




--
Message posted using http://www.talkaboutsoftware.com/group/microsoft.public.development.device.drivers/
More information at http://www.talkaboutsoftware.com/faq.html

From: dodolemon on
Hi all,
As I know this test is familiar with Enumeration test in USBCV, so... I
also try to use USBCV1.3.2 to test. Everything is fine! It can pass more
than 150 enumerations.

So I think this may be DTM issue, and then I download the latest DTM
errata filter to test again. It still fails! Sad....

How can I do? Can someone throw a light to me?


--
Message posted using http://www.talkaboutsoftware.com/group/microsoft.public.development.device.drivers/
More information at http://www.talkaboutsoftware.com/faq.html