none
WHQL测试时更新驱动的问题 RRS feed

  • 问题

  • 由于被测的设备带有驱动程序,因此在win8中做HCK测试时,驱动会先安装上,现在的问题是,某个测试项无法通过,经查,是因为驱动的问题,修改驱动后重新更新驱动,但是系统却提示“名称已用作服务名或服务显示名称”(The name is already in use as either a service name or a service display name.) ,请问应该如何更新驱动?

    而且有些测试项目,例如Device Install Check For Other Device Stability,也会不断更新设备驱动,这个测试项也经常会因为“名称已用作服务名或服务显示名称”的原因导致测试失败。

    下面是setupapi.dev的记录:

    >>>  [Device Install (DiShowUpdateDevice) - USB\VID_2401&PID_4003&MI_00\6&3B745B85&0&0000]
    >>>  Section start 2013/08/07 17:56:04.287
          cmd: "C:\Windows\system32\mmc.exe" "C:\Windows\system32\compmgmt.msc" /s
         dvi: {DIF_UPDATEDRIVER_UI} 17:56:04.287
         dvi:      No class installer for 'USB 输入设备'
         dvi:      Default installer: Enter 17:56:04.287
         dvi:      Default installer: Exit
         dvi: {DIF_UPDATEDRIVER_UI - exit(0xe000020e)} 17:56:04.287
         ndv: {Update Driver Software Wizard for USB\VID_2401&PID_4003&MI_00\6&3B745B85&0&0000}
         sto:      {Import Driver Package: c:\program files (x86)\igms\VX\driver\x64\rpmsk.inf} 17:56:07.547
         sto:           Driver Store   = C:\Windows\System32\DriverStore [Online] (6.2.9200)
         sto:           Driver Package = c:\program files (x86)\igms\VX\driver\x64\rpmsk.inf
         sto:           Architecture   = amd64
         sto:           Flags          = 0x00000000
         inf:           Provider       = igms
         inf:           Class GUID     = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
         inf:           Driver Version = 07/01/2013,1.3.2.0
         inf:           Catalog File   = rpmsk.cat
         inf:           Version Flags  = 0x00000001
         flq:           Copying 'c:\program files (x86)\igms\VX\driver\x64\rpmsk.cat' to 'C:\Users\z-test\AppData\Local\Temp\{59d0073e-7724-7244-872f-214a47169c4a}\rpmsk.cat'.
         flq:           Copying 'c:\program files (x86)\igms\VX\driver\x64\rpmsk.inf' to 'C:\Users\z-test\AppData\Local\Temp\{59d0073e-7724-7244-872f-214a47169c4a}\rpmsk.inf'.
         flq:           Copying 'c:\program files (x86)\igms\VX\driver\x64\rpmsk.sys' to 'C:\Users\z-test\AppData\Local\Temp\{59d0073e-7724-7244-872f-214a47169c4a}\rpmsk.sys'.
         pol:           {Driver package policy check} 17:56:07.594
         pol:           {Driver package policy check - exit(0x00000000)} 17:56:07.594
         sto:           {Stage Driver Package: C:\Users\z-test\AppData\Local\Temp\{59d0073e-7724-7244-872f-214a47169c4a}\rpmsk.inf} 17:56:07.594
         inf:                {Query Configurability: C:\Users\z-test\AppData\Local\Temp\{59d0073e-7724-7244-872f-214a47169c4a}\rpmsk.inf} 17:56:07.625
         inf:                     Driver package 'rpmsk.inf' is configurable.
         inf:                {Query Configurability: exit(0x00000000)} 17:56:07.656
         flq:                Copying 'C:\Users\z-test\AppData\Local\Temp\{59d0073e-7724-7244-872f-214a47169c4a}\rpmsk.cat' to 'C:\Windows\System32\DriverStore\Temp\{42d4938a-9e55-0d42-8c5c-45024cc6ff02}\rpmsk.cat'.
         flq:                Copying 'C:\Users\z-test\AppData\Local\Temp\{59d0073e-7724-7244-872f-214a47169c4a}\rpmsk.inf' to 'C:\Windows\System32\DriverStore\Temp\{42d4938a-9e55-0d42-8c5c-45024cc6ff02}\rpmsk.inf'.
         flq:                Copying 'C:\Users\z-test\AppData\Local\Temp\{59d0073e-7724-7244-872f-214a47169c4a}\rpmsk.sys' to 'C:\Windows\System32\DriverStore\Temp\{42d4938a-9e55-0d42-8c5c-45024cc6ff02}\rpmsk.sys'.
         sto:                {DRIVERSTORE IMPORT VALIDATE} 17:56:07.656
         sig:                     {_VERIFY_FILE_SIGNATURE} 17:56:07.672
         sig:                          Key      = rpmsk.inf
         sig:                          FilePath = C:\Windows\System32\DriverStore\Temp\{42d4938a-9e55-0d42-8c5c-45024cc6ff02}\rpmsk.inf
         sig:                          Catalog  = C:\Windows\System32\DriverStore\Temp\{42d4938a-9e55-0d42-8c5c-45024cc6ff02}\rpmsk.cat
         sig:                          Success: File is signed in catalog.
         sig:                     {_VERIFY_FILE_SIGNATURE exit(0x00000000)} 17:56:07.687
         sto:                {DRIVERSTORE IMPORT VALIDATE: exit(0x00000000)} 17:56:07.687
         sig:                Signer Score = 0x0D000005
         sig:                Signer Name  = Microsoft Windows Hardware Compatibility Publisher
         sto:                {DRIVERSTORE IMPORT BEGIN} 17:56:07.687
         sto:                {DRIVERSTORE IMPORT BEGIN: exit(0x00000000)} 17:56:07.687
         cpy:                {Copy Directory: C:\Windows\System32\DriverStore\Temp\{42d4938a-9e55-0d42-8c5c-45024cc6ff02}} 17:56:07.687
         cpy:                     Target Path = C:\Windows\System32\DriverStore\FileRepository\rpmsk.inf_amd64_fa3dfdbe4d9afbcc
         cpy:                {Copy Directory: exit(0x00000000)} 17:56:07.703
         idb:                {Register Driver Package: C:\Windows\System32\DriverStore\FileRepository\rpmsk.inf_amd64_fa3dfdbe4d9afbcc\rpmsk.inf} 17:56:07.703
         idb:                     Created driver package object 'rpmsk.inf_amd64_fa3dfdbe4d9afbcc' in SYSTEM database node.
         idb:                     Created driver INF file object 'oem2.inf' in SYSTEM database node.
         idb:                     Registered driver package 'rpmsk.inf_amd64_fa3dfdbe4d9afbcc' with 'oem2.inf'.
         idb:                {Register Driver Package: exit(0x00000000)} 17:56:07.703
         idb:                {Publish Driver Package: C:\Windows\System32\DriverStore\FileRepository\rpmsk.inf_amd64_fa3dfdbe4d9afbcc\rpmsk.inf} 17:56:07.703
         idb:                     Activating driver package 'rpmsk.inf_amd64_fa3dfdbe4d9afbcc'.
         cpy:                     Published 'rpmsk.inf_amd64_fa3dfdbe4d9afbcc\rpmsk.inf' to 'oem2.inf'.
         idb:                     Indexed 9 device IDs for 'rpmsk.inf_amd64_fa3dfdbe4d9afbcc'.
         idb:                {Publish Driver Package: exit(0x00000000)} 17:56:07.719
         sto:                {DRIVERSTORE IMPORT END} 17:56:07.719
         sig:                     Installed catalog 'rpmsk.cat' as 'oem2.cat'.
         sto:                {DRIVERSTORE IMPORT END: exit(0x00000000)} 17:56:07.719
         sto:           {Stage Driver Package: exit(0x00000000)} 17:56:07.719
         sto:           Driver Store Filename = C:\Windows\System32\DriverStore\FileRepository\rpmsk.inf_amd64_fa3dfdbe4d9afbcc\rpmsk.inf
         sto:      {Import Driver Package: exit(0x00000000)} 17:56:07.765
         dvi:      Searching for hardware ID(s):
         dvi:           usb\vid_2401&pid_4003&rev_0000&mi_00
         dvi:           usb\vid_2401&pid_4003&mi_00
         dvi:      Searching for compatible ID(s):
         dvi:           usb\class_03&subclass_01&prot_01
         dvi:           usb\class_03&subclass_01
         dvi:           usb\class_03
         dvi:      Class GUID of device changed to: {745a17a0-74d3-11d0-b6fe-00a0c90f57da}.
         dvi:      {Plug and Play Service: Device Install for USB\VID_2401&PID_4003&MI_00\6&3B745B85&0&0000}
         ndv:           Infpath=C:\Windows\INF\oem2.inf
         ndv:           DriverNodeName=rpmsk.inf:741f41b571ec391b:rpmsk_Inst:1.3.2.0:usb\vid_2401&pid_4003&mi_00
         ndv:           DriverStorepath=C:\Windows\System32\DriverStore\FileRepository\rpmsk.inf_amd64_fa3dfdbe4d9afbcc\rpmsk.inf
         dvi:           Searching for hardware ID(s):
         dvi:                usb\vid_2401&pid_4003&rev_0000&mi_00
         dvi:                usb\vid_2401&pid_4003&mi_00
         dvi:           Searching for compatible ID(s):
         dvi:                usb\class_03&subclass_01&prot_01
         dvi:                usb\class_03&subclass_01
         dvi:                usb\class_03
         dvi:           Class GUID of device changed to: {745a17a0-74d3-11d0-b6fe-00a0c90f57da}.
         ndv:           {Core Device Install} 17:56:07.781
         sto:                {Configure Driver Package: C:\Windows\System32\DriverStore\FileRepository\rpmsk.inf_amd64_fa3dfdbe4d9afbcc\rpmsk.inf}
         sto:                     Driver Store   = C:\Windows\System32\DriverStore [Online] (6.2.9200)
         sto:                     Driver Package = rpmsk.inf_amd64_fa3dfdbe4d9afbcc
         sto:                     Flags          = 0x00020000
         sto:                     Source Filter  = usb\vid_2401&pid_4003&mi_00
         inf:                     Class GUID     = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
         inf:                     Class Status   = Configurable Critical
         inf:                     {Configure Driver: igms Gaming Device}
         inf:                          Manufacturer = (标准系统设备)
         inf:                          Section Name = rpmsk_Inst
         inf:                          {Add Service: HidUsb}
         inf:                               Start Type    = 3
         inf:                               Service Type  = 1
         inf:                               Error Control = 0
         inf:                               Image Path    = \SystemRoot\system32\drivers\hidusb.sys
         inf:                               Display Name  = Microsoft HID Class Driver
         inf:                               Group         = extended base
         inf:                               Updated service 'HidUsb'.
         inf:                          {Add Service: exit(0x00000000)}
         inf:                          {Add Service: rpmsk}
         inf:                               Start Type    = 3
         inf:                               Service Type  = 1
         inf:                               Error Control = 0
         inf:                               Image Path    = \SystemRoot\system32\drivers\rpmsk.sys
         inf:                               Display Name  = igms V Gaming Driver
         inf:                               Group         = Extended Base
    !!!  inf:                               Failed to create service 'rpmsk'. Error = 0x00000436
         inf:                          {Add Service: exit(0x00000436)}
         inf:                     {Configure Driver: exit(0x00000436)}
    !!!  sto:                     Failed to configure driver package. Error = 0x00000436
         sto:                {Configure Driver Package: exit(0x00000436)}
    !!!  ndv:                Error(00000436) configuring device.
    !    ndv:                Unable to configure device, falling back to standard device installation.
         dvi:                {DIF_ALLOW_INSTALL} 17:56:07.843
         dvi:                     No class installer for 'igms Gaming Device'
         dvi:                     No CoInstallers found
         dvi:                     Default installer: Enter 17:56:07.843
         dvi:                     Default installer: Exit
         dvi:                {DIF_ALLOW_INSTALL - exit(0xe000020e)} 17:56:07.843
         dvi:                {DIF_INSTALLDEVICEFILES} 17:56:07.843
         dvi:                     No class installer for 'igms Gaming Device'
         dvi:                     Default installer: Enter 17:56:07.843
         dvi:                     Default installer: Exit
         dvi:                {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 17:56:07.859
         flq:                File 'C:\Windows\system32\drivers\rpmsk.sys' pruned from copy.
         flq:                File 'C:\Windows\system32\DRIVERS\hidusb.sys' pruned from copy.
         flq:                File 'C:\Windows\system32\DRIVERS\hidclass.sys' pruned from copy.
         flq:                File 'C:\Windows\system32\DRIVERS\hidparse.sys' pruned from copy.
         dvi:                {DIF_REGISTER_COINSTALLERS} 17:56:07.890
         dvi:                     No class installer for 'igms Gaming Device'
         dvi:                     Default installer: Enter 17:56:07.890
         dvi:                     Default installer: Exit
         dvi:                {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 17:56:07.890
         dvi:                {DIF_INSTALLINTERFACES} 17:56:07.890
         dvi:                     No class installer for 'igms Gaming Device'
         dvi:                     No CoInstallers found
         dvi:                     Default installer: Enter 17:56:07.906
         dvi:                     Default installer: Exit
         dvi:                {DIF_INSTALLINTERFACES - exit(0x00000000)} 17:56:07.906
         dvi:                {DIF_INSTALLDEVICE} 17:56:07.906
         dvi:                     No class installer for 'igms Gaming Device'
         dvi:                     Default installer: Enter 17:56:07.906
         dvi:                          {Install DEVICE}
         dvi:                               {Writing Device Properties}
         dvi:                                    Strong Name=oem2.inf:741f41b571ec391b:rpmsk_Inst:1.3.2.0:usb\vid_2401&pid_4003&mi_00
         dvi:                               {Writing Device Properties - Complete}
         inf:                               AddService=HidUsb,0x00000002,HIDUSB_Service_Inst  (rpmsk.inf line 68)
         dvi:                               Add Service: Modified existing service 'HidUsb'.
         inf:                               AddService=rpmsk,,rpmsk_Service_Inst  (rpmsk.inf line 69)
    !!!  dvi:                               Add Service: Failed to create service 'rpmsk'.
    !!!  dvi:                               Error 1078: The name is already in use as either a service name or a service display name.
    !!!  dvi:                               Error while installing services.
    !!!  dvi:                               Error 1078: The name is already in use as either a service name or a service display name.
    !!!  dvi:                               Cleaning up failed installation
    !!!  dvi:                               Error 1078: The name is already in use as either a service name or a service display name.
         dvi:                          {Install DEVICE exit (0x00000436)}
    !!!  dvi:                          Cleaning up failed installation (00000436)
    !!!  dvi:                     Default installer: failed!
    !!!  dvi:                     Error 1078: The name is already in use as either a service name or a service display name.
         dvi:                {DIF_INSTALLDEVICE - exit(0x00000436)} 17:56:07.921
    !!!  ndv:                Error(00000436) installing device!
    !    ndv:                Queueing up error report since device installation failed...
         ndv:           {Core Device Install - exit(0x00000436)} 17:56:07.921
         ump:      {Plug and Play Service: Device Install exit(00000436)}
    !!!  ndv:      Device install failed for device.
    !!!  ndv:      Error 1078: The name is already in use as either a service name or a service display name.
         ndv: {Update Driver Software Wizard exit(00000436)}
    <<<  Section end 2013/08/07 17:56:13.147
    <<<  [Exit status: FAILURE(0x00000436)]

    2014年1月17日 3:35

答案

  • 应该是原来有错误的驱动程序导致的问题。可以重新安装Windows 8,然后重新安装驱动程序,再重新安装HCK Client。HCK Project不需要重建。Client和Controller连接成功后,可以在原Project中继续完成剩余的测试项。

    http://whqlcn.wordpress.com

    2014年1月20日 3:01
    版主