none
Failed to test MTP inf with WHCK RRS feed

  • Pergunta

  •  use Win8-x86, MTP inf is as follow:

    [Version]
    Signature="$WINDOWS NT$"
    Class=WPD
    ClassGUID={EEC5AD98-8080-425f-922A-DABF3DE3F69A}
    Provider=%ProviderName%
    DriverVer=04/28/2012,1.1.0.1
    CatalogFile.NTx86  = usbmtpx86.cat
    CatalogFile.NTAMD64 = usbmtpamd64.cat

    [Manufacturer]
    %ProviderName%=Generic,NTx86,NTamd64

    [Generic.NTx86]
    %GenericMTP.DeviceDesc%=DriverInstall, USB\VID_<my vid>&PID_<my pid>&MI_00

    [Generic.NTamd64]
    %GenericMTP.DeviceDesc%=DriverInstall, USB\VID_<my vid>&PID_<my pid>&MI_00

    ;;******************************************************************************
    ;; MTP section
    ;;******************************************************************************

    [DriverInstall]
    Include = wpdmtp.inf
    Needs   = WPD.MTP

    [DriverInstall.hw]
    Include = wpdmtp.inf
    Needs   = WPD.MTP.Registration

    [DriverInstall.Services]
    Include = wpdmtp.inf
    Needs   = WPD.MTP.Services

    [DriverInstall.CoInstallers]
    Include = wpdmtp.inf
    Needs = WPD.MTP.CoInstallers

    [DriverInstall.Wdf]
    Include = wpdmtp.inf
    Needs = WPD.MTP.Wdf
    UmdfServiceOrder=WpdMtpDriver

    ;
    ; =================== Strings ===================
    ;

    [Strings]
    ProviderName           = "My MTP"

    ;Localizable
    WinUsb.SvcDesc ="WinUsb"
    GenericMTP.DeviceDesc ="MTP USB Device"

    WHCK reported 4  errors as following:

    1st:

    The inf C:\windows\inf\oem3.inf had an error at line 42. INF should add WUDFRd as a service

    and 

    The inf C:\windows\inf\oem3.inf had an error at line 43. UMDF driver using a unique service name for WudfRd which is available only for win8 and above, should declare the ServiceBinary directive as %12%\WudfRd.sys from the service-install section

    2nd:

    System.IO.FileNotFoundException: Error getting field data. : TARGET="".....

    3rd:

    This is an text file: MTP Compliance Test -Core.txt,  the error text is as following:

    - <Msg UserText="Function: GetDeviceStringProperty" CA="1273338" LA="1278152">
      <rti id="1677065284" /> 
      <ctx id="2850271600" /> 
      </Msg>
    - <Msg UserText="Error:Unable to get the size of the device property. So returning NULL" CA="1273389" LA="1279933">
      <rti id="1677065284" /> 
      <ctx id="2850271600" /> 
      </Msg>
    - <Msg UserText="Finished Enumerating Active Mtp Devices" CA="1273512" LA="1281354">
      <rti id="1677065284" /> 
      <ctx id="2850271600" /> 
      </Msg>
    - <EndTest Title="Running mtpinfupdater to update/enable/disable the driver for all currently active mtp devices" TUID="" Result="Fail" Repro="mtpinfup.exe" CA="1277904" LA="1282681">

    4th:

    This is a text file: MTP Compliance Test -Requirements-Core.txt, the error text is as following:

     <Msg UserText="Function: GetDeviceStringProperty" CA="1266962" LA="1268402">
      <rti id="1143161384" /> 
      <ctx id="2850271600" /> 
      </Msg>
    - <Msg UserText="Error:Unable to get the size of the device property. So returning NULL" CA="1267017" LA="1269793">
      <rti id="1143161384" /> 
      <ctx id="2850271600" /> 
      </Msg>
    - <Msg UserText="Finished Enumerating Active Mtp Devices" CA="1267190" LA="1272300">
      <rti id="1143161384" /> 
      <ctx id="2850271600" /> 
      </Msg>
    - <EndTest Title="Running mtpinfupdater to update/enable/disable the driver for all currently active mtp devices" TUID="" Result="Fail" Repro="mtpinfup.exe" CA="1272323" LA="1274610">

    Who can tell me why? Was MTP INF always  like this?


    • Editado male_worker quarta-feira, 22 de maio de 2013 09:45
    quarta-feira, 22 de maio de 2013 09:29

Respostas