KDMF Hello World driver install failing

Paulo Santos 1 Reputation point
2021-10-26T21:04:49.93+00:00

Hi,

I followed the example to install a kmdf driver:

https://learn.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/writing-a-very-small-kmdf--driver

But in step 8 of section "Deploy the driver", devcon is failing to install the driver (setuppi.dev.log result):

>> [Device Install (UpdateDriverForPlugAndPlayDevices) - Root\KmdfHelloWorld3]
>> Section start 2021/10/26 14:56:12.000

  cmd: "C:\DriverTest\devcon.exe" -f install C:\DriverTest\Drivers\KmdfHelloWorld3.inf Root\KmdfHelloWorld3  
 ndv: INF path: C:\DriverTest\Drivers\KmdfHelloWorld3.inf  
 ndv: Install flags: 0x00000001  
 ndv: {Update Device Driver - ROOT\SYSTEM\0002}  
 dvi:      Set selected driver complete.  
 ndv:      Search options: 0x00000080  
 ndv:      Searching single INF 'C:\DriverTest\Drivers\KmdfHelloWorld3.inf'  
 dvi:      {Build Driver List} 14:56:12.093  
 dvi:           Searching for hardware ID(s):  
 dvi:                root\kmdfhelloworld3  
 dvi:           Processing a single INF: 'c:\drivertest\drivers\kmdfhelloworld3.inf'  
 inf:           Opened INF: 'c:\drivertest\drivers\kmdfhelloworld3.inf' ([strings])  
 dvi:           Enumerating INFs from path list 'C:\windows\INF'  
 inf:           Searched 0 potential matches in published INF directory  
 dvi:      {Build Driver List - exit(0x00000000)} 14:56:12.162  

! ndv: No matching drivers found in single INF
dvi: {DIF_SELECTBESTCOMPATDRV} 14:56:12.181
dvi: No class installer for 'System devices'
dvi: No CoInstallers found
dvi: Default installer: Enter 14:56:12.209
dvi: {Select Best Driver}
! dvi: Selecting driver failed(0xe0000228)
dvi: {Select Best Driver - exit(0xe0000228)}
! dvi: Default installer: failed
! dvi: Error 0xe0000228: There are no compatible drivers for this device.

IMPORTANT: My target (test PC) is running Windows 11 and is ARM64:
[Device Install Log]
OS Version = 10.0.22000
Service Pack = 0.0
Suite = 0x0300
ProductType = 1
Architecture = arm64

Is there some problem to run this example in a Windows 11 ARM64 device? (the example is written for x64)

Thank you in advance,
Paulo Santos.

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Satyavolu 1 Reputation point
    2022-06-28T11:10:04.98+00:00

    Hi Paulo Santos,

    Is there any resolution on this issue? I am also facing same issue.

    Best
    Lakshmi

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.