| 
			 
					阅读:2052回复:5
				 
				为什么我的驱动一安装就死机?
					我用DriverWork做了一个9052的驱动程序 硬件向导提示找到新硬件后我指定了inf文件 点确定后就死机,只能重启。试了好多次, 每次都是这样。我都块疯了,请各位高手救救我吧!
 
							下面是我的inf文件 ;; PCI9052.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=\"$CHICAGO$\" ; 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=DAQDevice ClassGUID={82fd06e6-87f9-477d-8149-0a7da9d0ff5f} Provider=%ProviderName% ;--------- 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] ;PCI9052.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] PCI9052_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%=PCI9052_DDI, PCI\\VEN_10B5&DEV_9050&SUBSYS_905010B5&REV_02 ;---------- DDInstall Sections ----------------------------------------------- ; --------- Windows 9X ----------------- ; Experimentation has shown that DDInstall root names greater than 19 characters ; cause problems in Windows 98 [PCI9052_DDI] CopyFiles=PCI9052_Files_Driver AddReg=PCI9052_9X_AddReg [PCI9052_9X_AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,PCI9052.sys HKR, \"Parameters\", \"BreakOnEntry\", 0x00010001, 0 ; --------- Windows NT ----------------- [PCI9052_DDI.NT] CopyFiles=PCI9052_Files_Driver AddReg=PCI9052_NT_AddReg [PCI9052_DDI.NT.Services] Addservice = PCI9052, 0x00000002, PCI9052_AddService [GPIB_NT_AddReg] HKLM, \"System\\CurrentControlSet\\Services\\PCI9052\\Parameters\",\\ \"BreakOnEntry\", 0x00010001, 0 [PCI9052_AddService] DisplayName = %SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\\System32\\Drivers\\PCI9052.sys ; --------- Files (common) ------------- [PCI9052_Files_Driver] PCI9052.sys ;--------- Strings Section --------------------------------------------------- [Strings] ProviderName=\"Your Company Name here\" MfgName=\"Name of HW Manufacturer here\" DeviceDesc=\"Description of Device here\" DeviceClassName=\"Description of Test Device class here\" SvcDesc=\"Description of Test NT service here\"  | 
	|
| 
			 沙发# 
								发布于:2005-04-12 20:11				
			
					多办是你驱动有问题
 
							你调试一下应该很容易确定问题  | 
	|
					
						
  | 
	
| 
			 板凳# 
								发布于:2005-04-13 10:13				
			
					可是我一安装就死机了,改怎么调试啊。另外inf文件里面的ClassGUID和驱动文件里的GUID有什么关系吗? 每次我用向导生成
 
							的驱动的GUID都是一样的。我该了inf里的ClassGUID 这有影响吗?  | 
	|
| 
			 地板# 
								发布于:2005-04-16 11:01				
			
					我也一样啊,请各位大侠们拉小弟们一把吧!				 
							 | 
	|
| 
			 地下室# 
								发布于:2005-04-22 16:18				
			
					我也正在苦恼中
 
							我的驱动程序也是安装时死机,而且时直接重起,用SoftICE都抓不到. 郁闷的是在大部分机器上运行良好.少数XP系统上就是怎么也装不起. 解决了就分享一下经验啊  | 
	|
| 
			 5楼# 
								发布于:2007-03-29 09:37				
			
					PCI9052好像不支持XP系统				 
							 | 
	|