1. Downloaded winusbdemo.inf from Jan Axelson's page
2. Modified .inf file to use the 1.9 drivers
3. Create a directory structure that had \i386 subdirectory and then
put WinUSBCoInstaller2.dll, WdfCoInstaller01009.dll, and
WUDFUpdate_01009.dll files into it
3. Used inf2cat to create the .cat file (did that with no errors)
4. Browsed Hardware Devices tree to find the USB device that had no
driver and attempted to install the new driver.
I've included the body of my .inf file below for all to see. Any
advice would be much appreciate. It's frustrating because I know I'm
probably missing something really small.
; Adapted from the example INF in the Microsoft document "How to Use
WinUSB to Communicate with a USB Device"
[Version]
Signature = "$Windows NT$"
Class = USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider = %ProviderName%
DriverVer=02/07/2008,1.0.0
CatalogFile=MyCatFile.cat
; ========== Manufacturer/Models sections ===========
[Manufacturer]
%ProviderName% = MyDevice_WinUSB,NTx86,NTamd64
[MyDevice_WinUSB.NTx86]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0925&PID_1456
[MyDevice_WinUSB.NTamd64]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0925&PID_1456
; =================== Installation ===================
[USB_Install]
Include=winusbdemo.inf
Needs=WINUSB.NT
[USB_Install.Services]
Include=winusbdemo.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
[WinUSB_ServiceInstall]
DisplayName = %WinUSB_SvcDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys
[USB_Install.Wdf]
KmdfService=WINUSB, WinUsb_Install
UmdfServiceOrder=WINUSB
[WinUSB_Install]
KmdfLibraryVersion=1.9
[USB_Install.HW]
AddReg=Dev_AddReg
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{42CA71EC-
CE1C-44c2-82DE-87D8D8FF6C1E}"
[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles
[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WinUSBCoInstaller2.dll","WUDFUpdate_01009.dll","WdfCoInstaller01009.dll,WdfCoInstaller"
[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
WUDFUpdate_01009.dll
[DestinationDirs]
CoInstallers_CopyFiles=11
; ================= Source Media Section =====================
[SourceDisksNames.x86]
1 = %DISK_NAME%,,,\i386
[SourceDisksNames.amd64]
2 = %DISK_NAME%,,,\amd64
[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
WUDFUpdate_01009.dll=1
[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll=2
WdfCoInstaller01009.dll=2
WUDFUpdate_01009.dll=2
; Copy Files section
;------------------------------------------------------------------------------
[_CopyFiles_sys]
winusb.sys
;*************************************************
*****************************
; Destination Directories
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir = 12 ; %SystemRoot%\system32\drivers
_CopyFiles_sys = 12
; =================== Strings ===================
[Strings]
ProviderName="Lakeview Research"
USB\MyDevice.DeviceDesc="WinUSB Demo"
WinUSB_SvcDesc="WinUSB Demo"
DISK_NAME="c:\WinUSB"
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"jajones" <jonathan....@gmail.com> wrote in message
news:e4b518ae-c70d-4766...@a21g2000yqc.googlegroups.com...
Does this actually match the VID and PID you've programmed into your
device? What kind of device is this, EXACTLY?
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.
Please check the include statement in the [USB_Install] and
[USB_Install.Services] sections. I think it should have been
Include=winusb.inf instead!
/Morten
"jajones" wrote:
> .
>