why isn't the second device in my device list added in the device manager?

Discussion in 'Windows Vista Drivers' started by Bruno van Dooren, Apr 28, 2005.

  1. Hi all,

    i am still fiddling around with the first sample from Oney's book.

    i wanted to add a second device in the device list so that there are 2
    devices listed under "Sample devices".

    to do that i modified the INF file to read (i only pasted the -i think-
    relevant pieces)



    MFGNAME="Walter Oney Software"
    DESCRIPTION="Stupid Device Driver"
    DESCRIPTION2="Stupid Device Driver 2"

    basically i only added 2 lines to the INF file. 1 in the DeviceList section
    and 1 in the Strings section.

    but only the first device shows up in the device manager.
    I read the DDK documentation, and according to that, my addition should

    is there an obvious error?

    kind regards,
    Bruno van Dooren, Apr 28, 2005
    1. Advertisements

  2. Bruno van Dooren

    Woody Guest


    Your changes are correct. I tried them myself. The only trick here is
    that since it is a software driver only, and not detected by PNP, you
    have to select the second device yourself via the Hardware Wizard.

    For example:
    1. Add Hardware
    2. Select "Yes, I have already connected the hardware"
    3. Select "Add a new hardware device"
    4. Select "Install the hardware that I manually select from a list
    5. Select "Show All Devices"
    6. Select "Have Disk"
    7. Select your INF
    8. Highlight your manufacturer
    9. Now you will see both devices, select the second one and install

    Now you will have both show up in Device Manager.

    Normally, PNP will determine the hardware ID from the actual device and
    find the appropriate section in the INF file for installation. In this
    case, the hardware ID is synthetic and you need to give PNP a boost by
    manually selecting it.

    Hope this helps


    Daniel Whitaker
    DDK Support Team

    This posting is provided "AS IS" with no warranties, and confers no
    Woody, Apr 30, 2005
    1. Advertisements

  3. Hi Daniel,

    thanks for your reply. i will try it out today.
    i installed the driver using the 'FastInst' utility that comes with the
    basically this utility installs the driver for you with a simple mouseclick
    so that you don't have to go through the wizards.

    i guess that the utility only installs the first device or something like


    kind regards,
    Bruno van Dooren, Apr 30, 2005
  4. It worked.

    kind regards,

    Bruno van Dooren, May 3, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.