troubles with Inf file

Tech-Archive recommends: Speed Up your PC by fixing your registry



I have an audio driver I wrote that has a corresponding inf file. I
am now in the process of splitting up the driver into two drivers --
one that acts as a bus that notices attaches and detaches of the other
driver. I'm having some serious problems figuring out how to write an
INF file for this.

- can I share a single INF file for these or do they have to be
separate inf files?
- what is the appropriate class to choose? Should the whole thing
be marked "MEDIA" because the bus loads and unloads media files, or
should the bus device be marked something else (SYSTEM?)
- I tried putting them together in a single inf file (under the
class MEDIA) by adding another device in the device section, with its
own inst section that has AddReg and CopyFiles and also a Services
section. When I tried to use devcon to load my bus driver, this
failed to load. Is this because the MEDIA class has additional
requirements? I got a different error when I switched to SYSTEM. I
couldnt make heads or tails of either error.
media: "[CtlInst] skipped (DNF_BAD_DRIVER)
system: "The installation failed because a function driver was not
specified for this device instance."

It seems to me that there are different requirements for the INF files
for different classes. Is this documented in the WinDDK somewhere?
What are the requirements for each class?

-Tim
.



Relevant Pages

  • Re: I cannot get my Saitek AV8R Joystick to install
    ... 2.Saitek AV8R Classic Stick5.6.0.54 Saitek ... would need to look at the .inf file contents. ... 3.Saitek AV8R Classic Stick5.6.0.54 Saitek Windows Update I have no ... You may get into a situation that requires that you install the driver ...
    (microsoft.public.windowsxp.games)
  • RE: AVStream INF files + Chkinf + Fastinst = Brain-ache!!
    ... Driver and each bus driver has a different mechanism for enumerating the ... TestCap installs itself on the ROOT Bus and therefore ... I ran Chkinf on the inf file and it gave ...
    (microsoft.public.development.device.drivers)
  • Re: NDIS 6 miniport - MiniportInitialize is not called
    ... I added them to the inf file and its works!!! ... the time I was developing my ndis6 driver). ... The Driver Package does not contain a catalog file, ... sig: Error 1168: Element not found. ...
    (microsoft.public.development.device.drivers)
  • Re: Intel embedded graphics driver
    ... In the INF file check the settings.. ... you boot with a VGA monitor not plugged in it disables this output. ... I just forgot that I tried the embedded driver and it behaved the same way ... According Userguide, display config should be set in the .INF file, I did it ...
    (microsoft.public.windowsxp.embedded)
  • Re: NDIS 6 miniport - MiniportInitialize is not called
    ... Did you run check inf against your inf file? ... NetXtreme Vista/LH Server Miniport ... I am trying to write an ndis 6 miniport virtual driver (I am not strong ... No installed catalogs matching catalog name '' were found ...
    (microsoft.public.development.device.drivers)