nf文件内容如下:
[Version]
Signature="$CHICAGO$"
Class=USB
provider=%Cypress%
LayoutFile=layout.inf
[Manufacturer]
%Cypress%=Cypress
[Cypress]
; Entry point for the widget before firmware download and renumeration
; This VID/PID combination will call the EZ-Loader driver and download
; your firmware.
;
%USB\VID_04B4&PID_8613.DeviceDesc%=EZUSB.Dev, USB\VID_04B4&PID_8613
%USB\VID_0547&PID_1002.DeviceDesc%=EZUSBDEV.Dev, USB\VID_0547&PID_1002
;
;%USB\VID_04B4&PID_1004.DeviceDesc%=EZUSB.Dev,USB\VID_04B4&PID_1004
; ; This VID/PID is used by several of the EZ-USB development kit
; samples. This device is bound to the general purpose driver. ;
;%USB\VID_04B4&PID_1005.DeviceDesc%=EZUSBDEV.Dev, USB\VID_04B4&PID_1005
[PreCopySection]
HKR,,NoSetupUI,,1
[DestinationDirs]
EZUSB.Files.Ext = 10,System32\Drivers
EZUSB.Files.Inf = 10,
EZUSBDEV.Files.Ext = 10,System32\Drivers
EZUSBDEV.Files.Inf = 10,INF
[EZUSB.Dev]
;CopyFiles=EZUSB.Files.Ext, EZUSB.Files.Inf
AddReg=EZUSB.AddReg
[EZUSB.Dev.NT]
; copyfiles commented out for Win2K to avoid user intervention during install
CopyFiles=EZUSB.Files.Ext, EZUSB.Files.Inf
AddReg=EZUSB.AddReg
[EZUSB.Dev.NT.Services]
Addservice = EZUSB, 0x00000002, EZUSB.AddService
[EZUSB.AddService]
DisplayName = %EZUSB.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 2 ; SERVICE_AUTO_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\ezusb.sys
LoadOrderGroup = Base
[EZUSB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,ezusb.sys
[EZUSB.Files.Ext]
ezusb.sys
[EZUSB.Files.Inf]
EZWin2K.Inf
;[EZUSBDEV.Dev]
;CopyFiles=EZUSBDEV.Files.Ext, EZUSBDEV.Files.Inf
;AddReg=EZUSBDEV.AddReg
;;
[EZUSBDEV.Dev]
;CopyFiles=EZUSB.Files.Ext, EZUSB.Files.Inf
AddReg=EZUSBDEV.AddReg
[EZUSBDEV.Dev.NT]
;copyfiles commented out for Win2K to avoid user intervention during install ;
CopyFiles=EZUSBDEV.Files.Ext, EZUSBDEV.Files.Inf
AddReg=EZUSBDEV.AddReg
[EZUSBDEV.Dev.NT.Services]
Addservice = EZUSBDEV, 0x00000002, EZUSBDEV.AddService
[EZUSBDEV.AddService]
DisplayName = %EZUSBDEV.SvcDesc%
ServiceType =1 ; SERVICE_KERNEL_DRIVER
StartType =2 ; SERVICE_AUTO_START
ErrorControl =1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\ezloader.sys
LoadOrderGroup = Base
[EZUSBDEV.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,ezloader.sys
[EZUSBDEV.Files.Ext]
ezloader.sys
[EZUSBDEV.Files.Inf]
EZWin2K.Inf |