| 
			 
					阅读:5981回复:5
				 
				求助 PCI驱动安装“Windows无法为这个设备找到驱动程序”???
					请各位DX帮帮忙吧! 
							我的这个驱动程序对别的板卡(上面是9054桥)可以装上,就是我的板卡,桥是用Altera公司的MAX2(EPM2210F324C5)及Altera的PCI IP核实现的。配置空间和以前的PCI9054的配置空间配置的一样,但板卡插上去以后,可以识别就是在装完inf文件后总是弹出“Windows无法为这个设备找到驱动程序。单击上一步搜索另一个位置,或选择一个选项并单击“完成”。”那个对话框下面的选项是“停用这个设备”和“跳过设备驱动程序的安装。Windows会再次提醒你驱动程序的安装。”在设备管理器里面,总是有感叹号“!”,通常情况下是问号“?”就表示装上驱动了。通过softICE看系统确实给这个板卡分配了资源,还读取了板卡的设备号,供应商代码,分类号等等,但就是在设备管理器中显示没有分配资源。 我不知道出了什么问题,请各位DX解决一下吧!版主Tom在吗?能否指点一下? 我的inf文件如下: ;; MyPCI9054.inf ;; ********* PLEASE READ *********** ;; The wizard cannot create exact INF files for all buses and device types. ;; You may have to make changes to this file in order to get your device to ;; install. In particular, hardware IDs and logical configurations require ;; intervention. ;; ;; The Windows DDK documentation contains an excellent INF reference. ;--------- Version Section --------------------------------------------------- [Version] Signature="$Windows 95$" Provider=%ProviderName% ; If device fits one of the standard classes, use the name and GUID here, ; otherwise create your own device class and GUID as this example shows. Class=NewDeviceClass ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b} ;--------- SourceDiskNames and SourceDiskFiles Section ----------------------- ; These sections identify source disks and files for installation. They are ; shown here as an example, but commented out. ;[SourceDisksNames] ;1 = "Install Disk",Disk1,, ;[SourceDisksFiles] ;MyPCI9054.sys = 1,, ;--------- ClassInstall/ClassInstall32 Section ------------------------------- ; Not necessary if using a standard class ; 9X Style [ClassInstall] Addreg=Class_AddReg ; NT Style [ClassInstall32] Addreg=Class_AddReg [Class_AddReg] HKR,,,,%DeviceClassName% HKR,,Icon,,"-18" ;--------- DestinationDirs Section ------------------------------------------- [DestinationDirs] MyPCI9054_Files_Driver = 10,System32\Drivers ;--------- Manufacturer and Models Sections ---------------------------------- [Manufacturer] %MfgName%=Mfg0 [Mfg0] ; PCI hardware IDs use the form ; PCI\VEN_aaaa&DEV_bbbb&SUBSYS_cccccccc&REV_dd ; %DeviceDesc%=MyPCI9054_DDI, PCI\VEN_10b5&DEV_9054&SUBSYS_905410b5&REV_0A ;---------- DDInstall Sections ----------------------------------------------- ; --------- Windows 9X ----------------- ; Experimentation has shown that DDInstall root names greater than 19 characters ; cause problems in Windows 98 [MyPCI9054_DDI] CopyFiles=MyPCI9054_Files_Driver AddReg=MyPCI9054_9X_AddReg [MyPCI9054_9X_AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,MyPCI9054.sys ; --------- Windows NT ----------------- [MyPCI9054_DDI.NT] CopyFiles=MyPCI9054_Files_Driver [MyPCI9054_DDI.NT.Services] Addservice = MyPCI9054, 0x00000002, MyPCI9054_AddService [MyPCI9054_AddService] DisplayName = %SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\System32\Drivers\MyPCI9054.sys ; --------- Files (common) ------------- [MyPCI9054_Files_Driver] MyPCI9054.sys ;--------- Strings Section --------------------------------------------------- [Strings] ProviderName="xxx" MfgName="xxxxxxxx" DeviceDesc="xxxxxx" DeviceClassName="XXXXXXX" SvcDesc="CPCI DRIVER" 感谢各位DX的帮忙!!!  | 
	|
| 
			 沙发# 
								发布于:2007-05-16 20:11				
			
					再说明一下,就是驱动强制安装上去后,设备管理器中设备上会出现黄色的感叹号, 
							请各位大侠看一下吧!  | 
	|
| 
			 板凳# 
								发布于:2007-05-17 19:03				
			  怎么都没人回复啊?哪位DX帮帮忙吧!  | 
	|
| 
			 地板# 
								发布于:2007-07-13 11:24				
			
					%DeviceDesc%=MyPCI9054_DDI, PCI\VEN_10b5&DEV_9054&SUBSYS_905410b5&REV_0A 
							有关的id改成你的pci配置空间相应的id  | 
	|
					
						
  | 
	
| 
			 地下室# 
								发布于:2007-07-14 17:26				
			
					谢谢,我已经试过了,就是这样改,就不会出现这样的对话框了! 
							万分感谢这位大侠!呵呵  | 
	|
| 
			 5楼# 
								发布于:2007-08-11 21:41				
			
					暂时看不懂.  
							 				 | 
	|
							
				
 怎么都没人回复啊?