When you run VMware on a Windows XP host, and a WindowsXP virtual
machine runs in
the VMware, now you plugin a new usb device to the host, the found new
device wizard of
the host machine will say that the host found a new device named VMware
USB Device
whose Hardware ID is USB\Vid_0E0F&Pid_0001. Then the host will load the
VMware USB
Device driver, which is a USB client driver. And the VMware virtual
machine will detect the
real usb device type and install the correct device USB client driver.
When you unplug the
usb device from the virtual machine, the host machine will replace the
VMware USB Device
driver with the correct device driver.
I want to know how the whole process happens. Why the host pnp manager
load the VMware
usb client driver other than the correct device driver when detecting
any usb device with the
running of VMware? And how it replaces the VMware usb client driver
with the correct device
driver when you unplug the usb device from the virtual machine?
The process likes a magic to me. I want to know how. The more detailed,
the better.
Thank you all!