Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


vhidmini kmdf unable to start the driver/ see in device manager

geeklostinwoodsgeeklostinwoods Member Posts: 8

I modified the vhidmini - just the class to point to hidclass and i was able to successfully make it enumerate and use the sample to interact send / recieve report. but as i modify, I unintalled the whole driver with delete software, after which I couldn't get it loaded. I tried many things including starting the mshidkmdf service, uninstall, reinstall, delete oem from driver store, every time it copies the drivers properly but doesn't show.

then i took a fresh computer to see what it would do there - same but interestingly it says it couldn't find a device

my question is what i am doing wrong? how could i get it back to enumerate as normal hid device? it used to show under hid mini driver, now its never coming back

[Device Install (DiInstallDriver) - C:\Users\prent\OneDrive\Desktop\zoom\CrestronByod.inf]
Section start 2021/01/24 21:26:12.154

  cmd: "C:\Windows\System32\InfDefaultInstall.exe" "C:\Users\prent\OneDrive\Desktop\zoom\CrestronByod.inf"
 ndv: Flags: 0x00000000
 ndv: INF path: C:\Users\prent\OneDrive\Desktop\zoom\CrestronByod.inf
 dvs: {DrvSetupInstallDriver - C:\Users\prent\OneDrive\Desktop\zoom\CrestronByod.inf}
 dvs:      Flags: 0x00000000
 dvs:      {Driver Setup Import Driver Package: C:\Users\prent\OneDrive\Desktop\zoom\CrestronByod.inf} 21:26:12.156
 sto:           {Copy Driver Package: C:\Users\prent\OneDrive\Desktop\zoom\CrestronByod.inf} 21:26:12.161
 sto:                Driver Package = C:\Users\prent\OneDrive\Desktop\zoom\CrestronByod.inf
 sto:                Flags          = 0x00000007
 sto:                Destination    = C:\Users\prent\AppData\Local\Temp\{3d64f7fb-0dde-9b4b-b064-c5b7ba25f3db}
 sto:                Copying driver package files to 'C:\Users\prent\AppData\Local\Temp\{3d64f7fb-0dde-9b4b-b064-c5b7ba25f3db}'.
 flq:                {FILE_QUEUE_COMMIT} 21:26:12.165
 flq:                     Copying 'C:\Users\prent\OneDrive\Desktop\zoom\CrestronByod.inf' to 'C:\Users\prent\AppData\Local\Temp\{3d64f7fb-0dde-9b4b-b064-c5b7ba25f3db}\CrestronByod.inf'.
 flq:                     Copying 'C:\Users\prent\OneDrive\Desktop\zoom\crestronbyod.sys' to 'C:\Users\prent\AppData\Local\Temp\{3d64f7fb-0dde-9b4b-b064-c5b7ba25f3db}\crestronbyod.sys'.
 flq:                     Copying 'C:\Users\prent\OneDrive\Desktop\zoom\wudf.cat' to 'C:\Users\prent\AppData\Local\Temp\{3d64f7fb-0dde-9b4b-b064-c5b7ba25f3db}\wudf.cat'.
 flq:                {FILE_QUEUE_COMMIT - exit(0x00000000)} 21:26:12.183
 sto:           {Copy Driver Package: exit(0x00000000)} 21:26:12.183
 ump:           Import flags: 0x00000000
 pol:           {Driver package policy check} 21:26:12.194
 pol:           {Driver package policy check - exit(0x00000000)} 21:26:12.194
 sto:           {Stage Driver Package: C:\Users\prent\AppData\Local\Temp\{3d64f7fb-0dde-9b4b-b064-c5b7ba25f3db}\CrestronByod.inf} 21:26:12.195
 inf:                {Query Configurability: C:\Users\prent\AppData\Local\Temp\{3d64f7fb-0dde-9b4b-b064-c5b7ba25f3db}\CrestronByod.inf} 21:26:12.196
 inf:                     Driver package uses WDF.
 inf:                     Driver package 'CrestronByod.inf' is configurable.
 inf:                {Query Configurability: exit(0x00000000)} 21:26:12.199
 flq:                {FILE_QUEUE_COMMIT} 21:26:12.201
 flq:                     Copying 'C:\Users\prent\AppData\Local\Temp\{3d64f7fb-0dde-9b4b-b064-c5b7ba25f3db}\CrestronByod.inf' to 'C:\Windows\System32\DriverStore\Temp\{dc001d48-5628-404d-8bf1-acf57aa9806c}\CrestronByod.inf'.
 flq:                     Copying 'C:\Users\prent\AppData\Local\Temp\{3d64f7fb-0dde-9b4b-b064-c5b7ba25f3db}\crestronbyod.sys' to 'C:\Windows\System32\DriverStore\Temp\{dc001d48-5628-404d-8bf1-acf57aa9806c}\crestronbyod.sys'.
 flq:                     Copying 'C:\Users\prent\AppData\Local\Temp\{3d64f7fb-0dde-9b4b-b064-c5b7ba25f3db}\wudf.cat' to 'C:\Windows\System32\DriverStore\Temp\{dc001d48-5628-404d-8bf1-acf57aa9806c}\wudf.cat'.
 flq:                {FILE_QUEUE_COMMIT - exit(0x00000000)} 21:26:12.213
 sto:                {DRIVERSTORE IMPORT VALIDATE} 21:26:12.214
 sig:                     Driver package catalog is valid.
 sig:                     {_VERIFY_FILE_SIGNATURE} 21:26:12.231
 sig:                          Key      = CrestronByod.inf
 sig:                          FilePath = C:\Windows\System32\DriverStore\Temp\{dc001d48-5628-404d-8bf1-acf57aa9806c}\CrestronByod.inf
 sig:                          Catalog  = C:\Windows\System32\DriverStore\Temp\{dc001d48-5628-404d-8bf1-acf57aa9806c}\wudf.cat

! sig: Verifying file against specific (valid) catalog failed.
! 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)} 21:26:12.237
sig: {_VERIFY_FILE_SIGNATURE} 21:26:12.238
sig: Key = CrestronByod.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp{dc001d48-5628-404d-8bf1-acf57aa9806c}\CrestronByod.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp{dc001d48-5628-404d-8bf1-acf57aa9806c}\wudf.cat
! sig: Verifying file against specific Authenticode(tm) catalog failed.
! 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)} 21:26:12.242
! sig: Driver package catalog file certificate does not belong to Trusted Root Certificates, but user wants to install anyway.
sto: {DRIVERSTORE IMPORT VALIDATE: exit(0x00000000)} 21:26:14.673
sig: Signer Score = 0x80000000 (Unsigned)
sto: {Core Driver Package Import: crestronbyod.inf_amd64_bb1582660d4cc77e} 21:26:14.674
sto: {DRIVERSTORE IMPORT BEGIN} 21:26:14.674
bak: Create system restore point:
bak: Description = Device Driver Package Install: Crestron Byod Device Human Interface Devices
bak: Time = 0ms
bak: Status = 0x00000422 (FAILURE)
sto: {DRIVERSTORE IMPORT BEGIN: exit(0x00000000)} 21:26:14.686
cpy: {Copy Directory: C:\Windows\System32\DriverStore\Temp{dc001d48-5628-404d-8bf1-acf57aa9806c}} 21:26:14.686
cpy: Target Path = C:\Windows\System32\DriverStore\FileRepository\crestronbyod.inf_amd64_bb1582660d4cc77e
cpy: {Copy Directory: exit(0x00000000)} 21:26:14.688
idb: {Register Driver Package: C:\Windows\System32\DriverStore\FileRepository\crestronbyod.inf_amd64_bb1582660d4cc77e\CrestronByod.inf} 21:26:14.688
idb: Created driver package object 'crestronbyod.inf_amd64_bb1582660d4cc77e' in SYSTEM database node.
idb: Created driver INF file object 'oem61.inf' in SYSTEM database node.
idb: Registered driver package 'crestronbyod.inf_amd64_bb1582660d4cc77e' with 'oem61.inf'.
idb: {Register Driver Package: exit(0x00000000)} 21:26:14.690
idb: {Publish Driver Package: C:\Windows\System32\DriverStore\FileRepository\crestronbyod.inf_amd64_bb1582660d4cc77e\CrestronByod.inf} 21:26:14.691
idb: Activating driver package 'crestronbyod.inf_amd64_bb1582660d4cc77e'.
cpy: Published 'crestronbyod.inf_amd64_bb1582660d4cc77e\crestronbyod.inf' to 'oem61.inf'.
idb: Indexed 2 device IDs for 'crestronbyod.inf_amd64_bb1582660d4cc77e'.
sto: Flushed driver database node 'SYSTEM'. Time = 0 ms
idb: {Publish Driver Package: exit(0x00000000)} 21:26:14.698
sto: {DRIVERSTORE IMPORT END} 21:26:14.699
dvi: Flushed all driver package files to disk. Time = 0 ms
sig: Installed catalog 'wudf.cat' as 'oem61.cat'.
sto: {DRIVERSTORE IMPORT END: exit(0x00000000)} 21:26:14.796
sto: {Core Driver Package Import: exit(0x00000000)} 21:26:14.796
sto: {Stage Driver Package: exit(0x00000000)} 21:26:14.798
dvs: {Driver Setup Import Driver Package - exit (0x00000000)} 21:26:14.831
! dvs: Unable to find any matching devices.
dvs: {DrvSetupInstallDriver - exit(00000000)}
<<< Section end 2021/01/24 21:26:14.841
<<< [Exit status: SUCCESS]

my inx file-
;/*++
;
;Copyright (c) Microsoft Corporation All rights Reserved
;

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 7 Dec 2020 LIVE ONLINE
Internals & Software Drivers 25 Jan 2021 LIVE ONLINE
Developing Minifilters 8 March 2021 LIVE ONLINE