I used the .inf file cited in http://www.osronline.com/showThread.cfm?link=109991 and found ChkInf found a few problems:
• (E22.1.1081) Directive: CatalogFile required (and must not be blank) in section [Version] for WHQL digital signature.
• (E22.1.1002) Unable to include WinUSB.inf. Note that only system provided INFs may be specified with the INCLUDE directive.
• (E22.1.1002) Unable to include WinUSB.inf. Note that only system provided INFs may be specified with the INCLUDE directive.
• (E22.1.1066) Bad value for RegRoot (““WdfCoInstaller01005.dll, WdfCoInstaller””) in CoInstallers_AddReg.
Only the last has prevented the USB device driver from being installed.
And where should WinUSB.inf be so at least ChkInf can find it?
FWIW, my hacked .inf file is below.
; ================ Version section =================
[Version]
; (E22.1.1081) Directive: CatalogFile required (and must not be blank) in section [Version] for WHQL digital signature.
Signature = “$Windows NT$”
Class = USB
ClassGuid = {36FC9E60-C465-11CF-8056-444553540000}
Provider = %ProviderName%
DriverVer = 05/22/2007, 6.0.1.0
; ========== Manufacturer/Models sections ===========
[Manufacturer]
; RWD took out NTia64
%ProviderName% = MyDevice_WinUSB,NTx86,NTamd64
[MyDevice_WinUSB.NTx86]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_16CB&PID_8F01
[MyDevice_WinUSB.NTamd64]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_16CB&PID_8F01
; ================== Installation ==================
[USB_Install]
; (W22.1.2211) Directive: “AddReg” or “CopyFiles” expected in section [USB_Install]
Include = WinUSB.inf
; (E22.1.1002) Unable to include WinUSB.inf. Note that only system provided INFs may be specified with the INCLUDE directive.
Needs = WinUSB.NT
[USB_Install.Services]
Include = WinUSB.inf
; (E22.1.1002) Unable to include WinUSB.inf. Note that only system provided INFs may be specified with the INCLUDE directive.
AddService = WinUSB, 0x00000002, WinUSB_ServiceInstall
[WinUSB_ServiceInstall]
DisplayName = %WinUSB_SvcDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys
[USB_Install.Wdf]
; (W22.1.2083) Section [USB_INSTALL.WDF] not referenced
KmdfService = WinUSB, WinUSB_Install
[WinUSB_Install]
; (W22.1.2083) Section [WINUSB_INSTALL] not referenced
KmdfLibraryVersion = 1.5
[USB_Install.HW]
AddReg = Dev_AddReg
[Dev_AddReg]
HKR,DeviceInterfaceGUIDs,0x00010000,“{006C7F42-1AFB-4d8b-9AA8-5779060FA985}”
[USB_Install.CoInstallers]
AddReg = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles
[CoInstallers_AddReg]
HKR, , CoInstallers32, 0x00010000, “WinUSBCoInstaller.dll”,
“WdfCoInstaller01005.dll, WdfCoInstaller”
; (E22.1.1066) Bad value for RegRoot (““WdfCoInstaller01005.dll, WdfCoInstaller””) in CoInstallers_AddReg.
[CoInstallers_CopyFiles]
WinUSBCoInstaller.dll
WdfCoInstaller01005.dll
[SourceDisksNames]
1 = %MediaDescription%
[SourceDisksFiles]
WinUSBCoInstaller.dll = 1, x86
WdfCoInstaller01005.dll = 1, x86
[SourceDisksFiles.amd64]
WinUSBCoInstaller.dll = 1, amd64
WdfCoInstaller01005.dll = 1, amd64
[DestinationDirs]
CoInstallers_CopyFiles = 11
; ==================== Strings =====================
[Strings]
ProviderName = “HighWater”
USB\MyDevice.DeviceDesc=“My Device using WinUSB only”
MediaDescription = “HighWater Generic USB Driver Installation Disk”
WinUSB_SvcDesc = “WinUSB Driver Service”