求助 为什么我的inf文件在win2000中可用!在xp中就不能发现硬件设备呢?急急急急!谢谢!

alongzy   2007-7-23 16:31 楼主

求助  在xp中 PCI驱动安装“Windows无法为这个设备找到驱动程序”???


请各位DX帮帮忙吧!

偶的inf在win2000 中正常,但在xp中提示“无硬件信息”(在手动安装inf文件时出现),但在win2000中使用是好的!请不吝赐教!!!!
谢谢!!!!!!!!!!!!!!!!!!!!!!

请高手过目!!!!!!!!!!!!!!!!!!!!!



[Version]
Signature=$CHICAGO$
Class=PCITEST
ClassGuid={379C30DA-E416-4d6f-84EE-************}
Provider=%String0%
DriverVer=06/06/2007,1.0.5.0

[ClassInstall32]
AddReg=DAS.addreg

[DAS.addreg]
HKR,,,2,PCITEST
HKR,,ICON,2,-5

[DestinationDirs]
PCITEST.FILES.Driver.NT=10,System32\Drivers

[Manufacturer]
%String1%=DeviceList

[DeviceList]
%String2%=PCITEST.Install,PCI\VEN_10b5&DEV_9050

[PCITEST.Install]
CopyFiles=DriverCopyFiles
AddReg=DriverAddReg

[DriverCopyFiles]
PCITEST.sys

[DriverAddReg]
HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,PCITEST.sys

[SourceDiskFiles]
PCITEST.sys = 1, \i386

[PCITEST.Install.NT]
CopyFiles=PCITEST.Files.Driver.NT

[PCITEST.Files.Driver.NT]
PCITEST.sys,,,%COPYFLG_NOSKIP%

[DriverInstall.NT]

[PCITEST.Install.NT.Services]
AddService = String2, %SPSVCINST_ASSOCSERVICE%, PCITEST.Service

[PCITEST.Service]
DisplayName    = %String3%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %10%\System32\Drivers\PCITEST.sys

[DriverService]

;[SourceDisksNames]
;1=TTPCI-TESTDriver,,


[Strings]
String0="TT"
String1="TT"
String2="TT PCI-TEST"
String3="TT PCI-TEST driver"

SPSVCINST_ASSOCSERVICE=0x00000002   
COPYFLG_NOSKIP=2   
SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1



请高手过目!!!!!!!!!!!!!!!!!!!!!

回复评论 (2)

1、你的驱动工程是在DDK XP编译环境下编译的么?
2、GUID没改变吧?
点赞  2007-7-26 20:08
1、你的驱动是WDM驱动么? 在XP下重新build过没有?
2、firmware有改吗,VID与PID有改变吗?
点赞  2007-10-12 18:28
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复