WDK Win 8 ChkInf工具和'设备驱动程序INF验证测试'忽略使用usbser.sys的inf的include指令 [英] WDK Win 8 ChkInf tools and 'Device Driver INF Verification Test' ignores the include directive for inf using usbser.sys

查看:210
本文介绍了WDK Win 8 ChkInf工具和'设备驱动程序INF验证测试'忽略使用usbser.sys的inf的include指令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


面对chkinf工具忽略了Windows 8中安装的WDK中chkinf v2.5中的include指令。



[DriverInstall.nt]

include = mdmcpq.inf

CopyFiles = FakeModemCopyFileSection

; (E22.1.1003)未定义[FakeModemCopyFileSection]部分。 



看起来mdmcpq.inf根本没有引用。



我们已经按照msdn中提到的方式使用FakeModemCopyFileSection。



过去签署Win7时没有看到错误提示。



如果usbser.sys路径是明确定义而不是引用,则chkinf可以通过,但inf2cat失败:



可签名性测试失败。



错误:



22.9.1:xxx.inf的[fakemodemcopyfilesection]中的usbser.sys缺失或无法从源媒体解压缩。请验证SourceDiskNames中指定的所有路径值,
SouceDisksFiles和CopyFiles部分解析为文件的实际位置,并以相对于inf的位置的术语表示。



Inf被修改为:



[DestinationDirs]

FakeModemCopyFileSection = 12

DefaultDestDir = 12



[FakeModemCopyFileSection]

usbser.sys ,,, 0x20
$


[SourceDisksNames]

3426 = windows cd

[SourceDisksFiles]

usbser.sys  = 3426



[DriverInstall.nt]

include = mdmcpq.inf

CopyFiles = FakeModemCopyFileSection

AddReg = DriverInstall.nt.AddReg



......



这不适合传递chkinf,只是为了表明chkinf没有正确检查。我正在寻找解决方案来完成HCK'设备驱动程序INF验证测试'。



有人可以帮忙吗?



谢谢,



G

解决方案


我认为这个问题的正确论坛是:"Windows硬件测试和认证"  http://social.msdn.microsoft.com/Forums/en-US/whck/threads


阿龙


Faced that the chkinf tools neglects the include directive in chkinf v2.5 inside WDK installed in Windows 8.

[DriverInstall.nt]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
; (E22.1.1003) Section [FakeModemCopyFileSection] not defined. 

It looks the mdmcpq.inf is not referenced at all.

We already followed the way mentioned in msdn, using FakeModemCopyFileSection.

The error prompt was not seen when signing for Win7 in the past.

If the usbser.sys path is defined explicitly rather than referencing, the chkinf could pass but the inf2cat failed:

Signability test failed.

Errors:

22.9.1: usbser.sys in [fakemodemcopyfilesection] of xxx.inf is missing or cannot be decompressed from source media. Please verify all path values specified in SourceDiskNames, SouceDisksFiles, and CopyFiles sections resolve to the actual location of the file, and are expressed in terms relative to the location of the inf.

Inf was modified to:

[DestinationDirs]
FakeModemCopyFileSection=12
DefaultDestDir=12

[FakeModemCopyFileSection]
usbser.sys,,,0x20

[SourceDisksNames]
3426=windows cd
[SourceDisksFiles]
usbser.sys = 3426

[DriverInstall.nt]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=DriverInstall.nt.AddReg

......

This is not proper to pass the chkinf, just to show that the chkinf is not checking correctly. I am looking for solution to finish the HCK 'Device Driver INF Verification Test'.

Could someone help?

Thanks,

G

解决方案

Hi,

I think the correct forum for this matter is: "Windows Hardware Testing and Certification" http://social.msdn.microsoft.com/Forums/en-US/whck/threads

Alon


这篇关于WDK Win 8 ChkInf工具和'设备驱动程序INF验证测试'忽略使用usbser.sys的inf的include指令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆