阅读:995回复:2
为什么我安装驱动,系统声称找不到硬件?
我在XP下写了一个PCI卡驱动,自己写了一个INF,但安装驱动之后系统却说没有找到相应的硬件。这可能是什么原因呢?
|
|
|
沙发#
发布于:2004-10-27 17:16
先在注册表内建一个类
|
|
|
板凳#
发布于:2004-10-27 17:26
这是我的INF系统说找不到相应的段,我的INF有问题吗?
支持PNP的驱动只有先安装再调试吗? [Version] Signature="$Windows NT$" Provider=%anch% Class=CryptoPCI ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b} DriverVer=10/26/2004 [DestinationDirs] DefaultDestDir = 12 ; ; Driver information ; [Manufacturer] %anch% = anch.Mfg [anch.Mfg] "PCI加密/解密控制器"= InstallLauncher, PCI\VEN_11e3&DEV_0001 ; ; General installation section ; [InstallLauncher] CopyFiles=CopyLaunchFiles AddReg=LaunchRegSection ; ; File sections ; [CopyLaunchFiles] crypto_driver.sys [LaunchRegSection] HKR,"Parameters","Coordinates",FLG_ADDREG_TYPE_DWORD,0 ; ; Service Installation ; [InstallLauncher.Services] AddService = crypto_driver, 0x00000002 , crypto_driver_Service_Inst, crypto_driver_EventLog_Inst [crypto_driver_Service_Inst] DisplayName = PCI加密/解密控制器 ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_IGNORE ServiceBinary = %12%\crypto_driver.sys [crypto_driver_EventLog_Inst] AddReg = crypto_driver_EventLog_AddReg [crypto_driver_EventLog_AddReg] HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\crypto_driver.sys" HKR,,TypesSupported,0x00010001,7 |
|
|