I have run a test to verify, that windows (7 and 8) is capable of remembering the configured com port number for each usb port when i insert an usb->serial converter.
My test was simple:
- I have 2 similar USB to Serial converters from the same manufacturer and 1 converter from a different manufacturer.
- I insert converter no 1 into USB port no 1 and configure it as COM9 in device manager.
- I pull it out and insert the converter no 1 into USB port no 2 and configure it as COM10 in device manager.
- When moving converter no 1 between USB 1 and 2 i verify that the configured COM port settings are remembered.
- Using converter no 2 (From same manufacturer) i verify the same result as with converter no 1.
- Using a different converter (from a different manufacturer) i verify that it is assigned to a different COM port (in my case COM4).
Conclusion: It seems like windows is capable of identifying the inserted converter device, and configure the COM port with its previous setting.
Question: How does windows identify the inserted device?. I would assume by Vendor and/or Product ID, but I am not sure.