阅读:1111回复:4
请各位大侠帮我看看这个inf文件有什么问题
一安装就死机了,我本身对inf文件的写法不熟,这个inf文件是我用ddk的geninf软件做的,但不知道出了什么问题。一安装就死机了,请各位大侠帮忙看看,感激不尽!!!(另外我安装的是一个并口的wdm驱动)
; Created by GenINF. ; [Version] Signature = \"$Windows NT$\" Class=Ports ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318} Provider=%abc% CatalogFile=minpnp.cat DriverVer= 12/2/2003 [DestinationDirs] minpnp.Files.x86_12 = 12 [SourceDisksNames.x86] 0=%Desc_x860% [SourceDisksNames.ia64] [SourceDisksFiles.x86] MinPnP.sys=0,\\Chap9\\MinPnP\\i386, [SourceDisksFiles.ia64] [Manufacturer] %abc%=abc [abc] %minpnpDesc%=minpnp_Inst,*minpnp [minpnp_Inst.ntx86] CopyFiles = minpnp.Files.x86_12 [minpnp_Inst.ntx86.Services] AddService = MinPnP,0x00000002,minpnp_Service_Instx86, [minpnp_Service_Instx86] ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_DEMAND_START% ErrorControl = %SERVICE_ERROR_IGNORE% ServiceBinary = %12%\\MinPnP.sys [minpnp.Files.x86_12] MinPnP.sys [minpnp_EventLog_Inst] AddReg = minpnp_EventLog_Inst.AddReg [minpnp_EventLog_Inst.AddReg] HKR,,EventMessageFile,%REG_EXPAND_SZ%,\"%%SystemRoot%%\\System32\\IoLogMsg.dll\" HKR,,TypesSupported,%REG_DWORD%,7 [Strings] ; *******Localizable Strings******* abc= \"abc\" Desc_x860= \"abc Portsdrivers\" minpnpDesc= \"minpnp\" ; *******Non Localizable Strings******* SERVICE_BOOT_START = 0x0 SERVICE_SYSTEM_START = 0x1 SERVICE_AUTO_START = 0x2 SERVICE_DEMAND_START = 0x3 SERVICE_DISABLED = 0x4 SERVICE_KERNEL_DRIVER = 0x1 SERVICE_ERROR_IGNORE = 0x0 SERVICE_ERROR_NORMAL = 0x1 SERVICE_ERROR_SEVERE = 0x2 SERVICE_ERROR_CRITICAL = 0x3 REG_EXPAND_SZ = 0x00020000 REG_DWORD = 0x00010001 |
|
沙发#
发布于:2003-12-02 15:46
Have you finished the driver \"MinPnp.sys\"? Check your
driver to confirm it is correct, especially constructor. |
|
板凳#
发布于:2003-12-03 15:46
应该是完成了的,不过不知道是不是跟现在的并口驱动有冲突所以会死机,请问各位大侠有没有试过这种问题?是不是应该把windows自带的并口驱动删了?
|
|
地板#
发布于:2003-12-04 08:35
应该是驱动的DriverEntry或AddDevice有问题,要跟踪一下
|
|
地下室#
发布于:2003-12-04 10:09
Correct, debug your driver.
|
|