Driver Reinstall When Switching USB Ports

Piyono

Storage is cool
Joined
Jan 25, 2002
Messages
599
Location
Toronto
One of those things that I've always noticed but never researched is Windows' tendency to reinstall a driver when a USB device is unplugged from one port and plugged into a different port.

It just happened today with an M-Audio Fast Track Pro which I've been using for a couple of weeks. I swapped it to a different port and XP got all excited. "New hardware! Awesome! I know what to do!"

Why does this happen?

]-[
 

Chewy509

Wotty wot wot.
Joined
Nov 8, 2006
Messages
3,358
Location
Gold Coast Hinterland, Australia
Most onboard USB ports have individual controller IDs. (Look in device manager, and you'll see a huge group of USB controllers).

Since (according to Windows) you are connecting a device to a "new"/different controller, it has to redo the drivers...
 

Piyono

Storage is cool
Joined
Jan 25, 2002
Messages
599
Location
Toronto
Yeah, but I figured that once a device is installed it's, you know, installed...

Besides, this happens even between two ports on the same controller.
 

Will Rickards

Storage Is My Life
Joined
Jan 23, 2002
Messages
2,012
Location
Here
Website
willrickards.net
I read about this somewhere ... maybe wikipedia? That some devices identify themselves uniquely and some do not. But I can't seem to locate the source of my information.
 

sechs

Storage? I am Storage!
Joined
Feb 1, 2003
Messages
4,709
Location
Left Coast
\roothub0\device
is different than
\roothub1\device

Therefore, it has to install new drivers on the new port. It might be nice if it did this silently (ever seen a driver install for an ATA drive?).
 

mubs

Storage? I am Storage!
Joined
Nov 22, 2002
Messages
4,908
Location
Somewhere in time.
Not true. This happens even if the device is installed to the same exact port. Just happened with my APC UPS which got unplugged; when I plugged it back in, XP did the same "new hw discovered" shit.
 

Bozo

Storage? I am Storage!
Joined
Feb 12, 2002
Messages
4,396
Location
Twilight Zone
The USB port has to unload the driver when a device is removed. It doesn't know what is going to be installed there next. Hard drive, memory stick, printer? Each would have its own driver.

Bozo :joker:
 

sechs

Storage? I am Storage!
Joined
Feb 1, 2003
Messages
4,709
Location
Left Coast
Not true. This happens even if the device is installed to the same exact port. Just happened with my APC UPS which got unplugged; when I plugged it back in, XP did the same "new hw discovered" shit.
Same thing happens with a PCI card. Should one expect USB to be different?
 
Top