z13455525731
驱动牛犊
驱动牛犊
  • 注册日期2005-03-10
  • 最后登录2009-07-02
  • 粉丝0
  • 关注0
  • 积分107分
  • 威望20点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:787回复:0

为什么驱动程序不识别设备

楼主#
更多 发布于:2005-05-28 10:31
为什么驱动程序不能识别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)\"
我这个程序打算用于显卡程序但是安装不上。

游客

返回顶部