[SOLVED] Problem with USB device enumeration in Windows 7 x64: Wrong values - Page 1
Forum section: electronics / general

author: ElektroQuark
author_rank: Unknown
timestamp: June 06, 2015, 03:13:32 pm
content: Some days ago I bought an MSP-FET, a debugger for MSP430 microcontrollers from TI.My system, with Windows 7 x64, is unable to install the correct drivers. My notebook, with Windows XP does without any problem.The device is described in the in file as:%DESCRIPTION_DBG%=TIUSB, USB\Vid_2047&Pid_0014&MI_00%DESCRIPTION1%=TIUSB, USB\Vid_2047&Pid_0014&MI_02It installs two devices. Windows XP shows the correct VID/PID pairs and installs both devices correctly.But my system with Win7 shows the MSP-FET as:USB\VID_2047&PID_0014&REV_0200USB\VID_2047&PID_0014Complains about missing drivers and hardware don't work.What is working bad in my Windows 7 x64 installation?

author: John_ITIC
author_rank: Frequent Contributor
timestamp: June 07, 2015, 10:53:30 pm
content: Both operating systems appear to detect the same VID/PID combination (2047/0014). the difference between the two strings reported by the device manager is due to implementation differences between the two OSs. I suspect your issue is that Windows 7 does not automatically prompt the user for drivers to install, while Windows XP always does so.Try to go to the device manager and right-click on your device. Then click update driver and direct the device installer to the .inf file for the driver. By default, Windows 7 x64 requires the driver to be "pre-installed" which is much more complex for the device driver writer and therefore often not done.

author: ElektroQuark
author_rank: Unknown
timestamp: June 08, 2015, 06:37:07 am
content: I done that. Win7 doesn't want the drivers.If I edit the inf file to mach the strings it install one device. But two devices must be installed for the FET to work, the debugger and the UART.Anyone knows what Win7 services are for USB enumeration or device installation?

author: John_ITIC
author_rank: Frequent Contributor
timestamp: June 08, 2015, 06:48:03 am
content: Quote from: EdoNork on June 08, 2015, 06:37:07 amIf you edit the INF then the Windows x64 would no longer treat the driver package as signed. How did you manage to install? What is the exact error message you're getting when attempting to install?One thing you could try is to enable the Setup API logging. This will show you why the install fails.https://msdn.microsoft.com/en-us/library/windows/hardware/ff550887(v=vs.85).aspx

author: ElektroQuark
author_rank: Unknown
timestamp: June 08, 2015, 06:56:53 am
content: There are no error. Win7 complains about no adecuate drivers to install. If I edit the inf file for the VID/PID to mach complains about not signed drivers of course, but I can install them.I will try creating the log but I think the problem is the bad enumeraion string. I don't know why Win7 reads it different than XP does.

author: amyk
author_rank: Super Contributor
timestamp: June 08, 2015, 02:13:18 pm
content: Fromhttps://www.osronline.com/showthread.cfm?link=252964QuoteThat leads me to believe there is a problem in enumerating a composite device.A bit of Googling reveals that attempting to install the driver for the composite device manually might work:http://www.aheil.de/2009/12/12/fixing-wrong-usb-devices-in-windows-7/

author: ElektroQuark
author_rank: Unknown
timestamp: June 08, 2015, 02:26:48 pm
content: Yes, it's a composite device. And it doesn't enumerate the MI_** part correctly.I have tried to install drivers manually but I don't remember selecting "Show compatible hardware". I will try and report. Thanks.

author: rsjsouza
author_rank: Super Contributor
timestamp: June 08, 2015, 02:58:45 pm
content: I found this on TI's forum.https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/427627Is that you?Found this other one with a possible solution...https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/374102/1326449#1326449

author: ElektroQuark
author_rank: Unknown
timestamp: June 08, 2015, 03:17:11 pm
content: Yes,it's me.I have upgrade the MSP-FET firmware in Windows XP but nothing changed.

author: ElektroQuark
author_rank: Unknown
timestamp: June 08, 2015, 05:15:07 pm
content: SOLVED!Thanks to amyk I find the problem.In the last of his links someone solved a similar problem installing manually the drivers for a USB Composite device. I tried but there was no USB Composite drivers available in my system. So I make a search and found out that the driver for composite devices is in usb.inf, a system file that is in EVERY Windows 7 system in C:\Windows\Inf folder. But not in mine. Somewhat that file was deleted. I found it in many places in my system files three, so I copied it to the C:\Windows\Inf folder and reconnected the MSP-FET. And it was detected and both correct drivers intalled.Thank you.

author: DrTune
author_rank: Contributor
timestamp: December 16, 2015, 01:40:13 am
content: OMFG! Thankyou.I was in Windows driver hell for days there..My problem (win7 x64) was that at some point a few weeks ago my PC stopped enumerating any composite devices (e.g. FTDI 2232, etc), I could manually force it to install a driver for the single device instance it showed but my dual-port FTDIs (and Blackmagic Probe, and many more things) were all broken. My desk is piled high with devboards and the like and it was totally f'ing with me...WHAT WORKED FOR ME:1) Finding backup usb.inf and replacing it into c:\windows\inf (which was missing)2) Manually doing "let me choose.." on the (oh so tediously familiar) "Update driver" page and picking the newly reappeared "USB Composite Device"...and lo! All the separate interfaces on my devices are back. THANK YOU!

author: ElektroQuark
author_rank: Unknown
timestamp: December 16, 2015, 08:41:23 am
content: I'm glad those posts has been of any help.How do you find them? Google?Ah, the missing usb.inf headaches...

author: amyk
author_rank: Super Contributor
timestamp: December 16, 2015, 11:54:18 am
content: I'm a her, but you're welcome.The usb.inf can be found in your Windows disc (or .iso)http://blog.nirsoft.net/2009/09/17/how-to-extract-missing-system-files-from-the-dvd-of-windows-7vista/