AnsweredAssumed Answered

USB CDC, composite device, Windows SetupAPI

Question asked by mastykin.dmitry.001 on May 12, 2014
Latest reply on May 15, 2014 by mastykin.dmitry.001
I tried virtual COM port example on STM32 and used driver VCP_V1.3.1. I'm surprised that without pre-installing driver the device is found as a composite in Device Manager, and I cannot use the same inf file (attached) as for my old product, based on another ARM and represented a bundle of ACM and CDC interfaces.
My problems are:
1) It's not nice to include VCP installer in my own one. But it's a minor problem.
2) VCP_V1.3.1 device is not discoverable by SetupAPI interface (SetupDiEnumDeviceInterfaces() and others). In my old inf I added serenum.sys  for that. It's a bigger problem.
How can I modify firmware to support custom inf-file, or how can I modify driver to be compatible with SetupAPI?

Many thanks