none
WinUSB Installation RRS feed

  • Question

  • Hello,

    I"m trying to install WinUSB as the device driver for my device under XP SP3 (x86).

    I followed the MSDN guide up to the point where it tells me to "Open Device Manager to install the driver". When I do this, and point the DeviceManager to my INF file, I get the error message "The specified location does not contain information about your hardware". What am I doing wrong here?

    I first checked the VID & PID of the device in the device manager (Instance id: "HID\VID_15A2&PID_004F\7&1F2A2C99&0&0000") and adapted the INF file accordingly.

    Also, at one point the guide says that I should change "USB_Install" in section names to an appropriate DDInstall value. What is meant by that? What is an 'appropriate' DDInstall value?

    thx for any help in advance

    • Edited by DeX3 Wednesday, October 31, 2012 10:17 AM
    Wednesday, October 31, 2012 10:12 AM

Answers

All replies

  • First on the device ID what did you use?  Typically you want to use only the vid and pid are used, so something like USB\VID_15A2&PID_004F should be seen.

    The section names should be something relating to your work.  So for instance if your device was DEX3 replace Usb_Install with DEX3.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Marked as answer by Doron Holan [MSFT] Wednesday, October 31, 2012 2:52 PM
    • Unmarked as answer by DeX3 Tuesday, November 6, 2012 8:03 AM
    Wednesday, October 31, 2012 2:19 PM
  • Hello,

    So the USB_Install is just a custom name given by me? Ok I get that.

    I've inserted VID and PID into the INF file as follows:

    [Standard.NTamd64]
    %DeviceName% =USB_Install, USB\VID_15A2&PID_004F

    The complete INF-File looks like this right now:http://pastebin.com/eC4GxbKV

    Can you spot any obvious errors?

    Tuesday, November 6, 2012 8:12 AM
  • Ok, I got it to work:

    Problem was that the device showed up twice in the device manager (I only ever notice one new node). When I tried to install it via the other device node, it miraculously worked.

    However, I'd be grateful for a way to do this installation step automatically (say, in an installer). I wouldn't want end users fighting with the device manager. I figure there must be some system call to do exactly what the device manager does when installing drivers this way?

    Thanks!

    Tuesday, November 6, 2012 11:04 AM
  • On errors, run ChkInf from the WDK over it, and fix all warnings and errors.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Tuesday, November 6, 2012 11:50 AM
  • Yes there is a way to do this with an install program.  Take a look at Difx or DifxAPI if you want to write your own installer.  See http://msdn.microsoft.com/en-us/library/windows/hardware/gg463103.aspx for information on these.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Tuesday, November 6, 2012 11:52 AM