You are experiencing unexpected restarts when you make certain changes to your system (removing/installing USB devices on one of your USB ports).
You should be aware that some operating systems, Win XP in particular, are designed to restart when detecting an apparent failure. You may be generating this failure detection process due to overload or conflicts with some of these devices. These problems may not occur when booting with these devices already installed, since the loads or conflicts, and the detection process can be quite different.
Without knowing which operating system you're using or any details of your USB devices, here are some comments:
USB devices are designed to operate/communicate using a standard that must support a wide range of devices and requirements. Some devices place very different loads (power and communication) on your system. In many cases your USB port/hub must provide all power to a device, in other cases no power is needed.
Possible causes for USB problems is the act of installing or removing a device may cause communications conflicts or unacceptable loads (transient or normal) on your system, especially if your system is operating near or beyond its capacity (too many things, etc.). This can result in your system detecting an apparent failure.
Possible causes of restart/reboot:
Generally Win XP is designed to restart/reboot after detecting certain system failures. To verify that this is what may be causing your restarts, you can disable the restart on system failure setting. To do so, right click on My Computer and select the Properties command from the resulting shortcut menu. When you do, you will see the System Properties sheet. Click the Advanced tab and click the Settings button found in the Startup and Recovery section. Finally, deselect the Automatically Restart check box and click OK.
If you no longer experience retarts, take a look at all your USB devices running normally (keyboard, mouse, drives, etc.) and determine whether you can reduce the loading on your system.
If you still experience restarts, the motherboard, case or device may be faulty.
Dell