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/


What is the right way to include new Hardware ID in already existing inbox inf file

lokichittilokichitti Member Posts: 77

Hello Experts,
I am trying to use ufxsynopsys driver as a controller driver for our Intel based hardware. However our device's Hardware id is not listed in the ufxsynopsys.inf file.
So I am thinking to add our Hardware ID by modifiying the ufxsynopsys.inf and trying to install the driver and it working fine for me. But I wanted to know Is it the right way to include the Hardware ID and install the driver for our device.?
Or do we need to create an extention inf file to add our Hardware ID?
We doesn't want to add any thing other than Hardware ID. Kindly help us on clarifying this.

Regards
Lokesh

Comments

  • Doron_HolanDoron_Holan Member - All Emails Posts: 10,516
    It is never the correct answer to edit an inbox INF. If ufxsynopsys.inf is not matching on any of your device IDs (hardware or compatible), then an extension INF doesn’t make much sense since there is no matching base INF (ufxsynopsys.inf) to extend. Rather you probably want your own complete INF which uses Needs/Include directives to pull in specific sections of ufxsynopsys.inf.
    d
  • lokichittilokichitti Member Posts: 77
    Hi Doron
    Thank you for the response.
    So I will create another new.inf file where I will copy all the information required to install the ufxsynopsys.sys from ufxsynopsys.inf and I will add my Hardware ID in the new.inf
    Is this way is good to go?
  • Doron_HolanDoron_Holan Member - All Emails Posts: 10,516
    No, you should not copy from the inbox inf. Instead you use the Needs And Includes directives in your DDInstall, xxx.HW.AddReg, and dddinstall.Services sections to refer to the appropriate sections in the inbox INF. this way you get the latest and correct install directives for the device, the dev node and service(s). There are various WDK samples which show how to do this.
    d
  • lokichittilokichitti Member Posts: 77
    Thank you for the response Doron, I got your points.

    Regards
    Lokesh
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!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA