eqi013
驱动牛犊
驱动牛犊
  • 注册日期2005-04-26
  • 最后登录2005-08-23
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1042回复:0

请教高手inf问题

楼主#
更多 发布于:2005-05-16 10:55
我现在用cypress的FX2开发板,按照给的pdf做完.sys文件和.inf文件后,为什么当我安装时,不能进行重列举了??
我的inf文件如下:
[Version]
Signature=\"$CHICAGO$\"
Class=USB
ClassGuid={36FC9E60-C465-11CF-8056-444553540000}
provider=%Cypress%
;LayoutFile=layout.inf

[Manufacturer]
%Cypress%=Cypress

[Cypress]


; 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_8613.DeviceDesc%=EZUSB.Dev, USB\\VID_04B4&PID_8613
%USB\\VID_0547&PID_1005.DeviceDesc%=EZUSB.Dev, USB\\VID_0547&PID_1005


[DestinationDirs]
EZUSB.Files.Ext = 10,System32\\Drivers
;EZUSB.Files.Inf = 10,INF
;WIDGET.Files.Ext = 10,System32\\Drivers
;WIDGET.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

[SourceDisksFiles]
maomao.sys=1
ezusb.sys=1

[EZUSB.Files.Ext]
ezusb.sys
maomao.sys

[EZUSB.Files.Inf]
qq.Inf

[MAOMAO.Dev]
CopyFiles=WIDGET.Files.Ext, WIDGET.Files.Inf
AddReg=MAOMAO.AddReg

[MAOMAO.Dev.NT]
; copyfiles commented out for Win2K to avoid user intervention during install
; CopyFiles=WIDGET.Files.Ext, WIDGET.Files.Inf
AddReg=MAOMAO.AddReg

[MAOMAO.Dev.NT.Services]
Addservice = MAOMAO, 0x00000002, WIDGET.AddService

[MAOMAO.AddService]
DisplayName    = %MAOMAO.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\\System32\\Drivers\\maomao.sys
;LoadOrderGroup = Base

[MAOMAO.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,maomao.sys

[MAOMAO.Files.Ext]
maomao.sys

[MAOMAO.Files.Inf]
qq.Inf

;---------------------------------------------------------------;

[Strings]
Cypress=\"Cypress Semiconductor\"

USB\\VID_04B4&PID_8613.DeviceDesc=\"bue!!!\"
USB\\VID_04B4&PID_1005.DeviceDesc=\"!!!\"

;EZUSB.SvcDesc=\"Cypress General Purpose USB Driver (ezusb.sys)\"
;WIDGET.SvcDesc=\"Cypress General Purpose USB Driver w/ Keil Monitor (wdgtldr.sys)\"
游客

返回顶部