Qn: Why does h/w wizard search for my USB driver sys file every time I use a new port?

Discussion in 'Windows Vista Drivers' started by nevil, Aug 26, 2004.

  1. nevil

    nevil Guest

    This is a problem I am having with a driver I am
    working on- If someone else has had similar problem,
    please chip in. (after install) When I switch the
    device to another port, the h/w wizard runs again and
    copies the .sys files again to the system/drivers

    The behavior I would expect is that once the driver
    has been installed, if the user switches the port, it
    should not be re-installing or copying again the sys

    How do I modify the INF file so that after the initial
    install, the h/w wizard knows that the sys files are
    in the system/drivers directory and not look for it on
    the distribution disk?
    nevil, Aug 26, 2004
    1. Advertisements

  2. nevil

    Pavel A. Guest

    This is a well known issue. To avoid this, your device should have an USB serial number
    (so you need to modify the device itself - not the INF file).
    Pavel A., Aug 26, 2004
    1. Advertisements

  3. nevil

    michelle Guest

    You can put a unique number through the iSerialNumber field the Device
    Descriptor. To quote Walter Oney "If you put a serial number on a device,
    Microsoft recommends that you make it unique for each physical device. If you
    do so, and if your driver is digitally signed, the end user will be able to
    move the device around to different ports on the same computer and have it
    recognized as being the same device."

    michelle, Aug 26, 2004
  4. nevil

    nevil Guest

    Thanks Michelle,
    That was valuable advice. I tried that, but Microsoft has a catch in
    the whole deal- "If your driver is digitally signed" :( unfortunately,
    our driver is not signed.

    nevil, Aug 26, 2004
  5. nevil

    Mark Roddy Guest

    So get it signed. You can get test signatures from microsoft, or you can
    figure out how to generate your own test signatures.


    Mark Roddy DDK MVP
    Windows 2003/XP/2000 Consulting
    Hollis Technology Solutions 603-321-1032
    Mark Roddy, Aug 27, 2004
    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.