论坛风格切换切换到宽版


  • 2000阅读
  • 11回复

请教高手:ISA的INF文件为什么不能用DDK自带的install安装? [复制链接]

上一主题 下一主题
离线diaryon
 
发帖
18
积分
2
威望
4
贡献值
0
好评度
2
原创分
0
专家分
0
只看楼主 倒序阅读 楼主  发表于: 2004-12-06
; install information file for GCU Series Card

[Version]
Signature="$Windows NT$"
Class=Leader Sample Driver
ClassGuid={337B6A7D-6400-4a90-AF29-9924EE97532F}
Provider=%Company%
DriverVer=10/27/2004,1.0.00.0

[ClassInstall32]
AddReg=DAQCardClassAddReg

[DAQCardClassAddReg]
HKR,,,,"Leader Sample Driver"
HKR,,Icon,,-5

[Manufacturer]
%Company% = SECTION_0

[SECTION_0]
%Product%=Drv.Install


[DestinationDirs]
Drv.Files.Driver=10,System32\Drivers
Drv.Files.Driver.NTx86=10,System32\Drivers

[SourceDisksNames]
1="Gcu2kSample build directory",,,

[SourceDisksFiles]
Gcu2kSample.sys=1

[SourceDisksFiles.x86]
Gcu2kSample.sys=1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Windows 98

[Drv.Install]
CopyFiles=Drv.Files.Driver
AddReg=Drv.AddReg
LogConfig=Drv.LConfig01, Drv.LConfig02

[Drv.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Gcu2kSample.sys

[Drv.Files.Driver]
Gcu2kSample.sys

[Drv.LConfig01]
ConfigPriority=DESIRED
IOConfig=0270-027F,\
1270-127F,\
2270-227F,\
3270-327F,\
4270-427F,\
5270-527F,\
6270-627F,\
7270-727F,\
8270-827F,\
9270-927F,\
A270-A27F,\
B270-B27F,\
C270-C27F,\
D270-D27F,\
E270-E27F,\
F270-F27F
IRQConfig=7,6,5,4,3

[Drv.LConfig02]
ConfigPriority=NORMAL
IOConfig=0270-027F,\
1270-127F,\
2270-227F,\
3270-327F,\
4270-427F,\
5270-527F,\
6270-627F,\
7270-727F,\
8270-827F,\
9270-927F,\
A270-A27F,\
B270-B27F,\
C270-C27F,\
D270-D27F,\
E270-E27F,\
F270-F27F


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Windows 2000

[Drv.Install.NTx86]
CopyFiles=Drv.Files.Driver.NTx86
LogConfig=Drv.LConfig01, Drv.LConfig02

[Drv.Files.Driver.NTx86]
Gcu2kSample.sys,,,%COPYFLG_NOSKIP%

[Drv.Install.NTx86.Services]
AddService = Gcu2kSample, %SPSVCINST_ASSOCSERVICE%, Drv.Service

[Drv.Service]
DisplayName= %Drv.ServiceName%
ServiceType= 1
StartType = 2
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\Gcu2kSample.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Strings

[Strings]
Company="LEADER Co. LTD"
Product="LEADER GCU100"
Drv.ServiceName="LEADER Gcu2kSample Driver"

SPSVCINST_ASSOCSERVICE=0x00000002 ; Driver service is associated with device being installed
COPYFLG_NOSKIP=2 ; Do not allow user to skip file
SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
驱动程序数字签名证书申请,免费技术支持  
 
离线tigerL
发帖
134
积分
0
威望
22
贡献值
0
好评度
19
原创分
0
专家分
0
只看该作者 沙发  发表于: 2004-12-06
是否安装的时候要你指定sys文件的位置?
驱动程序数字签名证书申请,免费技术支持  
 
省元坊
离线diaryon
发帖
18
积分
2
威望
4
贡献值
0
好评度
2
原创分
0
专家分
0
只看该作者 板凳  发表于: 2004-12-08
没有,程序老提示找不到hardware_id,对于非PNP的ISA设备可以任意给一个吧?
Search for Device ID: [*SUP2440]
Compare device ID: [ACPI\ACPI0003]
Compare device ID: [*ACPI0003]
Compare device ID: [ACPI\FixedButton]
Compare device ID: [*FixedButton]
Compare device ID: [ACPI\PNP0000]
Compare device ID: [*PNP0000]
Compare device ID: [ACPI\PNP0100]
Compare device ID: [*PNP0100]
Compare device ID: [ACPI\PNP0200]
Compare device ID: [*PNP0200]
Compare device ID: [ACPI\PNP030B]
Compare device ID: [*PNP030B]
Compare device ID: [ACPI\PNP0800]
Compare device ID: [*PNP0800]
Compare device ID: [ACPI\PNP0A03]
Compare device ID: [*PNP0A03]
Compare device ID: [ACPI\PNP0B00]
Compare device ID: [*PNP0B00]
Compare device ID: [ACPI\PNP0C01]
Compare device ID: [*PNP0C01]
Compare device ID: [ACPI\PNP0C02]
Compare device ID: [*PNP0C02]
Compare device ID: [ACPI\PNP0C02]
Compare device ID: [*PNP0C02]
Compare device ID: [ACPI\PNP0C04]
Compare device ID: [*PNP0C04]
Compare device ID: [ACPI\PNP0C09]
Compare device ID: [*PNP0C09]
Compare device ID: [ACPI\PNP0C0A]
Compare device ID: [*PNP0C0A]
Compare device ID: [ACPI\PNP0C0C]
Compare device ID: [*PNP0C0C]
Compare device ID: [ACPI\PNP0C0D]
Compare device ID: [*PNP0C0D]
Compare device ID: [ACPI\PNP0C0E]
Compare device ID: [*PNP0C0E]
Compare device ID: [ACPI\SYN0801]
Compare device ID: [*SYN0801]
Compare device ID: [ACPI\ThermalZone]
Compare device ID: [*ThermalZone]
Compare device ID: [ACPI_HAL\PNP0C08]
Compare device ID: [*PNP0C08]
Compare device ID: [Monitor\MS_0003]
Compare device ID: [Monitor\MS_0003]
Compare device ID: [HID\Vid_046d&Pid_c00e&Rev_1110]
Compare device ID: [HID\Vid_046d&Pid_c00e]
Compare device ID: [HID_DEVICE_SYSTEM_MOUSE]
Compare device ID: [HID_DEVICE_UP:0001_U:0002]
Compare device ID: [HID_DEVICE]
Compare device ID: [IDE\CdRomQSI_CDRW/DVD_SBW242B_________________
Compare device ID: [IDE\QSI_CDRW/DVD_SBW242B____________________UU
Compare device ID: [IDE\CdRomQSI_CDRW/DVD_SBW242B_________________
Compare device ID: [QSI_CDRW/DVD_SBW242B____________________UU54__
Compare device ID: [GenCdRom]
Compare device ID: [IDE\DiskFUJITSU_MHT2040AT_____________________
Compare device ID: [IDE\FUJITSU_MHT2040AT_______________________00
Compare device ID: [IDE\DiskFUJITSU_MHT2040AT_____________________
Compare device ID: [FUJITSU_MHT2040AT_______________________0022__
Compare device ID: [GenDisk]
Compare device ID: [ISAPNP\ReadDataPort]
Compare device ID: [MODEMWAVE\FULLDUPLEX]
Compare device ID: [PCI\VEN_104C&DEV_8023&SUBSYS_70001584&REV_00]
Compare device ID: [PCI\VEN_104C&DEV_8023&SUBSYS_70001584]
Compare device ID: [PCI\VEN_104C&DEV_8023&CC_0C0010]
Compare device ID: [PCI\VEN_104C&DEV_8023&CC_0C00]
Compare device ID: [PCI\VEN_104C&DEV_AC50&SUBSYS_32001584&REV_02]
Compare device ID: [PCI\VEN_104C&DEV_AC50&SUBSYS_32001584]
Compare device ID: [PCI\VEN_104C&DEV_AC50&CC_060700]
Compare device ID: [PCI\VEN_104C&DEV_AC50&CC_0607]
Compare device ID: [PCI\VEN_10EC&DEV_8139&SUBSYS_97001584&REV_10]
Compare device ID: [PCI\VEN_10EC&DEV_8139&SUBSYS_97001584]
Compare device ID: [PCI\VEN_10EC&DEV_8139&CC_020000]
Compare device ID: [PCI\VEN_10EC&DEV_8139&CC_0200]
Compare device ID: [PCI\VEN_8086&DEV_2448&SUBSYS_00000000&REV_83]
Compare device ID: [PCI\VEN_8086&DEV_2448&SUBSYS_00000000]
Compare device ID: [PCI\VEN_8086&DEV_2448&REV_83]
Compare device ID: [PCI\VEN_8086&DEV_2448]
Compare device ID: [PCI\VEN_8086&DEV_2448&CC_060400]
Compare device ID: [PCI\VEN_8086&DEV_2448&CC_0604]
Compare device ID: [PCI\VEN_8086&DEV_24C2&SUBSYS_90201584&REV_03]
Compare device ID: [PCI\VEN_8086&DEV_24C2&SUBSYS_90201584]
Compare device ID: [PCI\VEN_8086&DEV_24C2&CC_0C0300]
Compare device ID: [PCI\VEN_8086&DEV_24C2&CC_0C03]
Compare device ID: [PCI\VEN_8086&DEV_24C3&SUBSYS_90201584&REV_03]
Compare device ID: [PCI\VEN_8086&DEV_24C3&SUBSYS_90201584]
Compare device ID: [PCI\VEN_8086&DEV_24C3&CC_0C0500]
Compare device ID: [PCI\VEN_8086&DEV_24C3&CC_0C05]
Compare device ID: [PCI\VEN_8086&DEV_24C4&SUBSYS_90201584&REV_03]
Compare device ID: [PCI\VEN_8086&DEV_24C4&SUBSYS_90201584]
Compare device ID: [PCI\VEN_8086&DEV_24C4&CC_0C0300]
Compare device ID: [PCI\VEN_8086&DEV_24C4&CC_0C03]
Compare device ID: [PCI\VEN_8086&DEV_24C5&SUBSYS_84021584&REV_03]
Compare device ID: [PCI\VEN_8086&DEV_24C5&SUBSYS_84021584]
Compare device ID: [PCI\VEN_8086&DEV_24C5&CC_040100]
Compare device ID: [PCI\VEN_8086&DEV_24C5&CC_0401]
Compare device ID: [PCI\VEN_8086&DEV_24C6&SUBSYS_40071584&REV_03]
Compare device ID: [PCI\VEN_8086&DEV_24C6&SUBSYS_40071584]
Compare device ID: [PCI\VEN_8086&DEV_24C6&CC_070300]
Compare device ID: [PCI\VEN_8086&DEV_24C6&CC_0703]
Compare device ID: [PCI\VEN_8086&DEV_24C7&SUBSYS_90201584&REV_03]
Compare device ID: [PCI\VEN_8086&DEV_24C7&SUBSYS_90201584]
Compare device ID: [PCI\VEN_8086&DEV_24C7&CC_0C0300]
Compare device ID: [PCI\VEN_8086&DEV_24C7&CC_0C03]
Compare device ID: [PCI\VEN_8086&DEV_24CA&SUBSYS_90201584&REV_03]
Compare device ID: [PCI\VEN_8086&DEV_24CA&SUBSYS_90201584]
Compare device ID: [PCI\VEN_8086&DEV_24CA&CC_01018A]
Compare device ID: [PCI\VEN_8086&DEV_24CA&CC_0101]
Compare device ID: [PCI\VEN_8086&DEV_24CC&SUBSYS_00000000&REV_03]
Compare device ID: [PCI\VEN_8086&DEV_24CC&SUBSYS_00000000]
Compare device ID: [PCI\VEN_8086&DEV_24CC&REV_03]
Compare device ID: [PCI\VEN_8086&DEV_24CC]
Compare device ID: [PCI\VEN_8086&DEV_24CC&CC_060100]
Compare device ID: [PCI\VEN_8086&DEV_24CC&CC_0601]
Compare device ID: [PCI\VEN_8086&DEV_24CD&SUBSYS_90201584&REV_03]
Compare device ID: [PCI\VEN_8086&DEV_24CD&SUBSYS_90201584]
Compare device ID: [PCI\VEN_8086&DEV_24CD&CC_0C0320]
Compare device ID: [PCI\VEN_8086&DEV_24CD&CC_0C03]
Compare device ID: [PCI\VEN_8086&DEV_3580&SUBSYS_00000000&REV_02]
Compare device ID: [PCI\VEN_8086&DEV_3580&SUBSYS_00000000]
Compare device ID: [PCI\VEN_8086&DEV_3580&REV_02]
Compare device ID: [PCI\VEN_8086&DEV_3580]
Compare device ID: [PCI\VEN_8086&DEV_3580&CC_060000]
Compare device ID: [PCI\VEN_8086&DEV_3580&CC_0600]
Compare device ID: [PCI\VEN_8086&DEV_3582&SUBSYS_95001584&REV_02]
Compare device ID: [PCI\VEN_8086&DEV_3582&SUBSYS_95001584]
Compare device ID: [PCI\VEN_8086&DEV_3582&CC_030000]
Compare device ID: [PCI\VEN_8086&DEV_3582&CC_0300]
Compare device ID: [PCI\VEN_8086&DEV_3582&SUBSYS_95001584&REV_02]
Compare device ID: [PCI\VEN_8086&DEV_3582&SUBSYS_95001584]
Compare device ID: [PCI\VEN_8086&DEV_3582&CC_038000]
Compare device ID: [PCI\VEN_8086&DEV_3582&CC_0380]
Compare device ID: [PCI\VEN_8086&DEV_3584&SUBSYS_90201584&REV_02]
Compare device ID: [PCI\VEN_8086&DEV_3584&SUBSYS_90201584]
Compare device ID: [PCI\VEN_8086&DEV_3584&CC_088000]
Compare device ID: [PCI\VEN_8086&DEV_3584&CC_0880]
Compare device ID: [PCI\VEN_8086&DEV_3585&SUBSYS_90201584&REV_02]
Compare device ID: [PCI\VEN_8086&DEV_3585&SUBSYS_90201584]
Compare device ID: [PCI\VEN_8086&DEV_3585&CC_088000]
Compare device ID: [PCI\VEN_8086&DEV_3585&CC_0880]
Compare device ID: [Intel-24ca]
Compare device ID: [Primary_IDE_Channel]
Compare device ID: [*PNP0600]
Compare device ID: [Intel-24ca]
Compare device ID: [Secondary_IDE_Channel]
Compare device ID: [*PNP0600]
Compare device ID: [acpipic_up]
Compare device ID: [COMPOSITE_BATTERY]
Compare device ID: [*FSVGA932]
Compare device ID: [ROOT\DMIO]
Compare device ID: [ROOT\FTDISK]
Compare device ID: [MS_MMACM]
Compare device ID: [MS_MMDRV]
Compare device ID: [MS_MMMCI]
Compare device ID: [MS_MMVCD]
Compare device ID: [MS_MMVID]
Compare device ID: [ms_l2tpminiport]
Compare device ID: [ms_ndiswanip]
Compare device ID: [ms_pptpminiport]
Compare device ID: [ms_ptiminiport]
Compare device ID: [root\swenum]
Compare device ID: [root\update]
Compare device ID: [STORAGE\Volume]
Compare device ID: [STORAGE\Volume]
Compare device ID: [STORAGE\Volume]
Compare device ID: [SW\{a7c7a5b0-5af3-11d1-9ced-00a024bf0407}]
Compare device ID: [SW\{b7eafdc0-a680-11d0-96d8-00aa0051e51d}]
Compare device ID: [SW\{cd171de3-69e5-11d2-b56d-0000f8754380}]
Compare device ID: [USB\ROOT_HUB]
Compare device ID: [USB\OTHER_ID]
Compare device ID: [USB\ROOT_HUB]
Compare device ID: [USB\OTHER_ID]
Compare device ID: [USB\ROOT_HUB]
Compare device ID: [USB\OTHER_ID]
Compare device ID: [USB\ROOT_HUB20&VID8086&PID24CD&REV0003]
Compare device ID: [USB\ROOT_HUB20&VID8086&PID24CD]
Compare device ID: [USB\ROOT_HUB20]
Compare device ID: [USB\Vid_03eb&Pid_7613&Rev_0100]
Compare device ID: [USB\Vid_03eb&Pid_7613]
Compare device ID: [USB\Vid_046d&Pid_c00e&Rev_1110]
Compare device ID: [USB\Vid_046d&Pid_c00e]
EnumDeviceInfo FAILURE: 没有可用的数据了。

UpdateDriverForPlugAndPlayDevices FAILURE: (0xe0000203)



驱动程序数字签名证书申请,免费技术支持  
 
离线diaryon
发帖
18
积分
2
威望
4
贡献值
0
好评度
2
原创分
0
专家分
0
只看该作者 地板  发表于: 2004-12-08
先说一下:手工可以安装成功!
驱动程序数字签名证书申请,免费技术支持  
 
离线tigerL
发帖
134
积分
0
威望
22
贡献值
0
好评度
19
原创分
0
专家分
0
只看该作者 地下室  发表于: 2004-12-08

[SECTION_0]
%Product%=Drv.Install
改成
[SECTION_0]
%Product%=Drv.Install,*SUP2440
试试。
驱动程序数字签名证书申请,免费技术支持  
 
省元坊
离线diaryon
发帖
18
积分
2
威望
4
贡献值
0
好评度
2
原创分
0
专家分
0
只看该作者 5楼 发表于: 2004-12-10
谢谢我先试一下
驱动程序数字签名证书申请,免费技术支持  
 
离线diaryon
发帖
18
积分
2
威望
4
贡献值
0
好评度
2
原创分
0
专家分
0
只看该作者 6楼 发表于: 2004-12-10
我试了一下,没有成功提示
EnumDeviceInfo FAILURE:没有可用的数据了。
GetINFClass FAILURE:系统找不到指定的文件。




QQ:251753978
驱动程序数字签名证书申请,免费技术支持  
 
离线diaryon
发帖
18
积分
2
威望
4
贡献值
0
好评度
2
原创分
0
专家分
0
只看该作者 7楼 发表于: 2004-12-11
我改用Devcon来安装设备驱动程序,用Devcon来显示手动安装驱动程序的信息:
D:\InstallDriv>devcon hwids @root\unknown\*
ROOT\UNKNOWN\0000
Name: XXXXX XXXX
No hardware/compatible ID's available for this device.
1 matching device(s) found.

竟然说没有HardWare/compatible ID's,天!

如果我要用Devcon install xxx.inf HardWare_ID来安装驱动程序,这个HardWare_ID如何设置呢?
驱动程序数字签名证书申请,免费技术支持  
 
离线diaryon
发帖
18
积分
2
威望
4
贡献值
0
好评度
2
原创分
0
专家分
0
只看该作者 8楼 发表于: 2004-12-11
我改用Devcon来安装设备驱动程序,用Devcon来显示手动安装驱动程序的信息:
D:\InstallDriv>devcon hwids @root\unknown\*
ROOT\UNKNOWN\0000
Name: XXXXX XXXX
No hardware/compatible ID's available for this device.
1 matching device(s) found.

竟然说没有HardWare/compatible ID's,天!

如果我要用Devcon install xxx.inf HardWare_ID来安装驱动程序,这个HardWare_ID如何设置呢?
驱动程序数字签名证书申请,免费技术支持  
 
离线diaryon
发帖
18
积分
2
威望
4
贡献值
0
好评度
2
原创分
0
专家分
0
只看该作者 9楼 发表于: 2004-12-11
为什么贴不上来
我改用Devcon来安装设备驱动程序,用Devcon来显示手动安装驱动程序的信息:
D:InstallDriv>devcon hwids @rootunknown*
ROOTUNKNOWN000
Name: XXXXX XXXX
No hardware/compatible ID's available for this device.
1 matching device(s) found.
竟然说没有HardWare/compatible ID's,天!
如果我要用Devcon install xxx.inf HardWare_ID来安装驱动程序,这个HardWare_ID如何设置呢?
驱动程序数字签名证书申请,免费技术支持  
 
离线diaryon
发帖
18
积分
2
威望
4
贡献值
0
好评度
2
原创分
0
专家分
0
只看该作者 10楼 发表于: 2004-12-11
我有Devcon install xxx.inf *0000安装成功,并将INF文件作以下修改
[SECTION_0]
%Product%=Drv.Install,*0000
但是在硬件资源管理看到我设置的IO和IRQ资源要手动配制
驱动程序数字签名证书申请,免费技术支持  
 
离线diaryon
发帖
18
积分
2
威望
4
贡献值
0
好评度
2
原创分
0
专家分
0
只看该作者 11楼 发表于: 2004-12-11
devcon.exe
附件: 2004-12-11_devcon.exe (55 K) 下载次数:15
驱动程序数字签名证书申请,免费技术支持  
 
快速回复
限100 字节
 
上一个 下一个