Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: USB CDC com port name change

$
0
0
[quote user="Zrno Soli"](If device is not some kind of special) for all CDC devices same Win driver (usbser.sys) is used and they will be displayed in device manager as COM virtual port. On device manager tabs can be found details about VID / PID / serial number ... for selected device. If I remember right, I already answer to you that you are looking at wrong place (inf file). You must implement this stuff (searching device with right VID / PID / serial number by port name COMxx, and if it is needed connection / disconnection detection, whatever) inside you PC application using as example source code from MSP Debug stack or / and web search.[/quote] This is true if you are looking in Device Manager. On Windows 7 and up, there is a control panel called "Devices & Printers" which will show the friendly name from the .INF file. Therefore, you can identify your devices differently from other serial devices even though they all use usbser.sys driver. What Nitesh wanted, for each of his same type devices to have different strings, is not available via the .INF method. [quote user="Tsuneo Chinzei"]FriendlyName is manually editable by registry editor (regedit, etc).[/quote] This is a good point. To Nitesh - you will get some good ideas here, but remember that you are asking Window-specific questions on the MSP forum. If you run into problems implementing the Windows software, don't overlook the wealth of support available on Windows programming forums.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>