none
Problems installing driver from driver sample Firefly on Windows 10 RRS feed

  • Question

  • It was no problems Building https://github.com/Microsoft/Windows-driver-samples/tree/master/hid/firefly 
    with Visual Studio Community 2015.

    Following instructions to change group policy with gpedit and then update mouse driver with firefly.inf
    Windows tells us that it is impossible to replace driver despite ignoring warnings.

    Have anyone succeeded on Windows 10?
    Monday, March 7, 2016 9:26 AM

Answers

  • usually you don't need to touch group policy. you need to turn on and enable test signing. what does %windir%\inf\setupapi.dev.log say?

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by Benurme Friday, March 11, 2016 12:45 PM
    Monday, March 7, 2016 5:25 PM

All replies

  • usually you don't need to touch group policy. you need to turn on and enable test signing. what does %windir%\inf\setupapi.dev.log say?

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by Benurme Friday, March 11, 2016 12:45 PM
    Monday, March 7, 2016 5:25 PM
  • I have a same problem.

    Could you please check setupapi.dev.log as below?

    >>>  [Device Install (DiShowUpdateDevice) - HID\VID_045E&PID_0745&MI_01&COL01\8&1D7E0DB8&0&0000]
    >>>  Section start 2016/04/14 15:19:01.020
          cmd: "C:\WINDOWS\system32\mmc.exe" C:\WINDOWS\system32\devmgmt.msc
         dvi: {DIF_UPDATEDRIVER_UI} 15:19:01.022
         dvi:      Default installer: Enter 15:19:01.024
         dvi:      Default installer: Exit
         dvi: {DIF_UPDATEDRIVER_UI - exit(0xe000020e)} 15:19:01.026
         ndv: {Update Driver Software Wizard for HID\VID_045E&PID_0745&MI_01&COL01\8&1D7E0DB8&0&0000}
         dvi:      {DIF_SELECTDEVICE} 15:19:06.086
         dvi:      {DIF_SELECTDEVICE - exit(0xe000020e)} 15:19:06.094
         dvi:      {DIF_SELECTDEVICE} 15:19:18.200
         dvi:      {DIF_SELECTDEVICE - exit(0xe000020e)} 15:19:18.203
         dvi:      {DIF_SELECTDEVICE} 15:20:36.437
         dvi:      {DIF_SELECTDEVICE - exit(0xe000020e)} 15:20:36.439
         sto:      {Setup Import Driver Package: c:\wdk\windows-driver-samples-master\hid\firefly\driver\x64\release\firefly\firefly.inf} 15:20:47.360
         inf:           Provider: TODO-Set-Provider
         inf:           Class GUID: {4D36E96F-E325-11CE-BFC1-08002BE10318}
         inf:           Driver Version: 04/14/2016,15.20.5.629
         inf:           Catalog File: KmdfSamples.cat
         sto:           {Copy Driver Package: c:\wdk\windows-driver-samples-master\hid\firefly\driver\x64\release\firefly\firefly.inf} 15:20:47.375
         sto:                Driver Package = c:\wdk\windows-driver-samples-master\hid\firefly\driver\x64\release\firefly\firefly.inf
         sto:                Flags          = 0x00000007
         sto:                Destination    = C:\Users\sharksym\AppData\Local\Temp\{d211c832-f72d-334c-b5f6-ee1ae872fbcc}
         sto:                Copying driver package files to 'C:\Users\sharksym\AppData\Local\Temp\{d211c832-f72d-334c-b5f6-ee1ae872fbcc}'.
         flq:                Copying 'c:\wdk\windows-driver-samples-master\hid\firefly\driver\x64\release\firefly\KmdfSamples.cat' to 'C:\Users\sharksym\AppData\Local\Temp\{d211c832-f72d-334c-b5f6-ee1ae872fbcc}\KmdfSamples.cat'.
         flq:                Copying 'c:\wdk\windows-driver-samples-master\hid\firefly\driver\x64\release\firefly\firefly.inf' to 'C:\Users\sharksym\AppData\Local\Temp\{d211c832-f72d-334c-b5f6-ee1ae872fbcc}\firefly.inf'.
         flq:                Copying 'c:\wdk\windows-driver-samples-master\hid\firefly\driver\x64\release\firefly\Firefly.sys' to 'C:\Users\sharksym\AppData\Local\Temp\{d211c832-f72d-334c-b5f6-ee1ae872fbcc}\Firefly.sys'.
         sto:           {Copy Driver Package: exit(0x00000000)} 15:20:47.457
         pol:           {Driver package policy check} 15:20:47.627
         pol:           {Driver package policy check - exit(0x00000000)} 15:20:47.629
         sto:           {Stage Driver Package: C:\Users\sharksym\AppData\Local\Temp\{d211c832-f72d-334c-b5f6-ee1ae872fbcc}\firefly.inf} 15:20:47.631
         inf:                {Query Configurability: C:\Users\sharksym\AppData\Local\Temp\{d211c832-f72d-334c-b5f6-ee1ae872fbcc}\firefly.inf} 15:20:47.651
         inf:                     Driver package uses WDF.
         inf:                     Driver package 'firefly.inf' is configurable.
         inf:                {Query Configurability: exit(0x00000000)} 15:20:47.658
         flq:                Copying 'C:\Users\sharksym\AppData\Local\Temp\{d211c832-f72d-334c-b5f6-ee1ae872fbcc}\KmdfSamples.cat' to 'C:\WINDOWS\System32\DriverStore\Temp\{a8a9f78f-2ff2-ff4b-beda-9c819dc924ea}\KmdfSamples.cat'.
         flq:                Copying 'C:\Users\sharksym\AppData\Local\Temp\{d211c832-f72d-334c-b5f6-ee1ae872fbcc}\firefly.inf' to 'C:\WINDOWS\System32\DriverStore\Temp\{a8a9f78f-2ff2-ff4b-beda-9c819dc924ea}\firefly.inf'.
         flq:                Copying 'C:\Users\sharksym\AppData\Local\Temp\{d211c832-f72d-334c-b5f6-ee1ae872fbcc}\Firefly.sys' to 'C:\WINDOWS\System32\DriverStore\Temp\{a8a9f78f-2ff2-ff4b-beda-9c819dc924ea}\Firefly.sys'.
         sto:                {DRIVERSTORE IMPORT VALIDATE} 15:20:47.730
         sig:                     {_VERIFY_FILE_SIGNATURE} 15:20:47.768
         sig:                          Key      = firefly.inf
         sig:                          FilePath = C:\WINDOWS\System32\DriverStore\Temp\{a8a9f78f-2ff2-ff4b-beda-9c819dc924ea}\firefly.inf
         sig:                          Catalog  = C:\WINDOWS\System32\DriverStore\Temp\{a8a9f78f-2ff2-ff4b-beda-9c819dc924ea}\KmdfSamples.cat
    !    sig:                          Verifying file against specific (valid) catalog failed! (0x800b0109)
    !    sig:                          Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
         sig:                     {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 15:20:47.775
         sig:                     {_VERIFY_FILE_SIGNATURE} 15:20:47.776
         sig:                          Key      = firefly.inf
         sig:                          FilePath = C:\WINDOWS\System32\DriverStore\Temp\{a8a9f78f-2ff2-ff4b-beda-9c819dc924ea}\firefly.inf
         sig:                          Catalog  = C:\WINDOWS\System32\DriverStore\Temp\{a8a9f78f-2ff2-ff4b-beda-9c819dc924ea}\KmdfSamples.cat
    !    sig:                          Verifying file against specific Authenticode(tm) catalog failed! (0x800b0109)
    !    sig:                          Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
         sig:                     {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 15:20:47.779
    !!!  sig:                     Driver package catalog file certificate does not belong to Trusted Root Certificates, and Code Integrity is enforced.
    !!!  sig:                     Driver package failed signature validation. Error = 0xE0000247
         sto:                {DRIVERSTORE IMPORT VALIDATE: exit(0xe0000247)} 15:20:47.781
    !!!  sig:                Driver package failed signature verification. Error = 0xE0000247
    !!!  sto:                Failed to import driver package into Driver Store. Error = 0xE0000247
         sto:           {Stage Driver Package: exit(0xe0000247)} 15:20:47.782
         sto:      {Setup Import Driver Package - exit (0xe0000247)} 15:20:47.786
    !!!  ndv:      Driver package import failed for device.
    !!!  ndv:      Error 0xe0000247: A problem was encountered while attempting to add the driver to the store.
         ndv: {Update Driver Software Wizard exit(e0000247)}
    <<<  Section end 2016/04/14 15:21:00.077
    <<<  [Exit status: FAILURE(0xe0000247)]

    Thursday, April 14, 2016 6:50 AM