none
WDK Win 8 ChkInf tools and 'Device Driver INF Verification Test' ignores the include directive for inf using usbser.sys RRS feed

  • Question

  • 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

    Wednesday, January 9, 2013 3:24 AM

All replies

  • 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

    Wednesday, January 9, 2013 8:22 AM
  • Hi Alon,

    chkinf tools is part of the WDK. So it was decided to put it here.

    Thanks,

    G

    Wednesday, January 9, 2013 10:27 AM
  • OK...Fine :-)
    Wednesday, January 9, 2013 10:36 AM
  • just add and empty section :

    [FakeModemCopyFileSection]

    in your inf file, just like you did with SourceDiskNames and SourceDiskFiles

    • Proposed as answer by lamy_philog Wednesday, January 16, 2013 9:17 AM
    Friday, January 11, 2013 12:34 PM