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/
I am trying to modify Microsoft sample driver AVSHWS from software driver to detect PCIe card when loading.
Original inf section is:
[Manufacturer] %ManufacturerName%=Standard, NTamd64 [Standard.NTamd64] %avshws.DevicesDesc%=avshws,AVSHWS
I install using command line :
devcon install avshws.inf avshws
This entry creates a working device in Device manager:
Cameras -> AVStream Simulated Hardware Sample
I modified inx file in VS2019 and rebuild to:
[Manufacturer] %Companyname%=Xilinx,NTamd64 [Xilinx.NTamd64] %avshws.DeviceDesc%= avshws, PCI\VEN_10ee&DEV_9024
devcon install avshws.inf PCI\VEN_10ee&DEV_9024
This steps also creates the same working device in device manager and it has bus location: PCI Slot 4 (PCI bus 4, device 0, function 0)
I have not added code to access PCIe yet.
However, an extra Unknown Device is also created un Class Cameras. Properties in Device manager reads:
Driver status: No drivers are installed.
Device Instance path: ROOT\CAMERA\0000
What went wrong?
|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!|
|Internals & Software Drivers||15 November 2021||Live, Online|
|Writing WDF Drivers||24 January 2022||Live, Online|
|Developing Minifilters||7 February 2022||Live, Online|
|Kernel Debugging||21 March 2022||Live, Online|