Author Topic: Interface GUID changed in Windows 7  (Read 13838 times)

twhittaker

  • Member
  • ***
  • Posts: 2
Interface GUID changed in Windows 7
« on: June 20, 2012, 12:01:19 am »
Does anyone know why Windows 7 assigns a generic USB Interface GUID when the WinUSB driver is installed instead of the one listed in the INF file?

dsmtoday

  • Member
  • ***
  • Posts: 7
Re: Interface GUID changed in Windows 7
« Reply #1 on: June 27, 2012, 08:39:58 pm »
I have had no problems assigning a GUID to a device using WinUSB.  My devices always get the GUID specified in the .inf file.

First thing you should do is open up regedit and surf to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB

Look for the folder corresponding to your devices VID and PID and open it.  Then open up the subfolder under that and look for another folder called "Device Parameters" and open that.

You should have a key called "DeviceInterfaceGUIDs".  Note the "s" at the end.  That's what I use and it works.  And this key should contain your GUID.  If it doesn't, that means your .inf file is probably not set up properly.

If you post your .inf file, I will check it out for possible errors.


Wow, I am so sorry, just after posting this, I took a look at my device enumeration code and found I've completely mis-remembered this stuff which I did about 2 years ago.

I've assigned a device class GUID to my devices, and I look for all devices with my device class GUID, which gets assigned properly.  Then I iterate through the usb device paths and crack them apart looking for a PID part match.  That's how I find particular devices that I make.

So you are completely right about the Interface GUIDs in the .inf file not working.  Sorry.
« Last Edit: June 30, 2012, 06:08:53 am by dsmtoday »