阅读:785回复:0
为什么驱动程序不识别设备
为什么驱动程序不能识别pci设备,我使用ddk写的程序。文件如下[Version]
Signature = \"$CHICAGO$\" Provider = %pcivga% Class = pcivga ClassGUID = {16F9B8F2-9E91-44ca-8ECB-45CDF8169D07} DriverVer = 01/30/2002, 1.0.0.0 [ClassInstall32] ;a new class will be added to Addreg=PciDevelopCardClassReg ;the system registry ;(HKLMSystemCurrentControlclass) [PciDevelopCardClassReg] HKR,,,,%ClassName% HKR,,Icon,,\"-18\" [DestinationDirs] DefaultDestDir = 12 [Manufacturer] %pcivga% = pcivga [pcivga] %s3chip% = s3chip.DDInstall,PCI_VEN_10ba&DEV_1000 ;这个位置的编码用于识别设备请注意 [s3chip.DDInstall.NT] copyfile = s3chip.files.ext copyfile = s3chip.files.inf addreg = launchregsection [s3chip.files.ext] objfre.sys [s3chip.files.inf] s3vga.inf [launchregsection] HKR,\"parameter\",\"coordinater\",FLG_ADDEG_TYPE_DWORD,0 [s3chip.DDInstall.NT.Services] AddService = pcivga,2,pcivga_service_ist [pcivga_service_ist] servicetype = 1 starttype = 3 errorcontrol = 1 sericebinary = %12% \\ objfre.sys [string] pcivga = \"hello\" PCI\\VID_1234&PID_1234DeviceDesc = \"hello world(s3 725)\" 我这个程序打算用于显卡程序但是安装不上。 |
|