none
HCK 2.1: Failure of USB Serial Number test on Windows 7 for a device driver that does not implement a serial number RRS feed

  • Question

  • Hi,

    I have recently been testing our device driver (previously tested with WHQL 1.5/1.6) against the HCK 2.1 framework on Windows 7/8.x.  The device driver is for a USB device that does not implement a USB serial number.  According to the HCK documentation, if such products do not require (are of an exempt class, which is the case in this instance) and do not implement a USB serial number then the test will be automatically passed but when I execute the USB Serial Number test it fails I get the following log:

    3940 4036 2013:11:14 3:16:46:160 Machine: Build=7601.1130    Platform=x86    OS=Windows 7 Home Premium    ServicePack="Service Pack 1"    Version=6.1    BuildLab="win7sp1_rtm"    BuildDate=101119-1850    Language=English (US) (REDMOND)    Config=n/a     
    3940 4036 2013:11:14 3:16:46:160 Serial Number Log    
    3940 4036 2013:11:14 3:16:46:160 Unknown 6    
    3940 4036 2013:11:14 3:16:46:160 11-14-2013       
    3940 4036 2013:11:14 3:16:46:862 Start: USBnum Test 1.1, TUID=  
    3940 4036 2013:11:14 3:16:46:862 Device under test found.    
    3940 4036 2013:11:14 3:16:46:862 SB480  
    3940 4036 2013:11:14 3:16:46:862   Vid = ourVID, Pid = ourPID    
    3940 4036 2013:11:14 3:16:46:862 The device has no serial number. Checking device class    
    3940 4036 2013:11:14 3:16:46:862 Device class check: Getting all classes of all connected devices with VID=ourVID and PID=ourPID    
    3940 4036 2013:11:14 3:16:46:862 Note: If there is a composite device, it may have more than one device class    
    3940 4036 2013:11:14 3:16:46:956 Connected to ROOT\CIMV2 WMI namespace    
    3940 4036 2013:11:14 3:16:47:127 Device ID: 'USB\VID_ourVID&PID_ourPID\6&1C93A5A9&0&2'    
    3940 4036 2013:11:14 3:16:47:127 -- Selected CompatibleId at index 0    
    3940 4036 2013:11:14 3:16:47:127 -- This is a composite parent devnode, generic compatible ID 'USB\DevClass_00&SubClass_00&Prot_00'. OK, skipping    
    3940 4036 2013:11:14 3:16:47:283 Error: 0x80004005, Unspecified error   No compatible IDs matched 'USB\Class_XX&SubClass_XX&Prot_XX'     File=testsrc\driverstest\usb\usbnum\exe\deviceclass.cpp Line=421  
    3940 4036 2013:11:14 3:16:47:283 FAIL     
    3940 4036 2013:11:14 3:16:47:283 End: Fail, USBnum Test 1.1, TUID=, Repro=C:\WLK\JobsWorkingDir\Tasks\WTTJobRun189FFEE5-AF41-434F-86A1-3F2142B9DCCE\usbnum.exe  /d    
    3940 4036 2013:11:14 3:16:47:283   FAIL    
    3940 4036 2013:11:14 3:16:47:283 Summary: Total=1, Passed=0, Failed=1, Blocked=0, Warned=0, Skipped=0  
    

    Has anyone seen this?  Thanks for any help here.

    Regards,
    Derek.

    Monday, November 18, 2013 12:55 AM

All replies