Let's say I have a mouse. I plug this mouse into slot 1 out of 4 on a computer. It goes through the new device detected and all of that, which is fine. But if I come back later with the same mouse and plug it into say slot 3, it does the detecting all over again! Why is this?
|
feedback
|
|
According to Raymond Chen:
| |||
feedback
|
|
Windows (as you don't state you OS I assume this is what you are using) associates a device with the port it is plugged into, so it considered "USB DISK A in port X" to be different from "USB DISK A in port Y" and it links up the drivers and registry entries accordingly. If you use the "show unattached devices" option when viewing Device Manager, you will see the device attached to all the ports it has ever been plugged into but greyed out as it isn't currently in them. When you plug the device into one of these ports Windows will just activate that driver instance, when you plug it into another port it will need to define a new driver instance for that port before activating it (which is the process you see as a user displayed as "adding new device". This allows you to have to identical devices plugged into different ports working at the same time. There are other ways to achieve this, with little or no practical difference to the end user which technique the OS uses, but that is how Windows chooses to arrange it. | |||||||
feedback
|