Make sure you have all your latest motherboard drivers and/or latest BIOS.
I found that, in XP, after a USB port isn't used for a while the built in driver sets the OHCI controller to suspend. Sometimes when you plug a device back in, it can fail to 'wake up' properly. This problem was supposedly fixed in SP1 so make sure you have the latest XP service packs as well.
If updates don't fix your problem then try this:
Run regedt32.exe and navigate to; HKEY_LOCAL_Machine\SYSTEM\CurrentControlSet\Services\Usb Create the Usb key if it doesn't already exist. Under this key, create a new DWORD value called DisableSelectiveSuspend and give it a value of 1. Then restart the PC.
Alternatively, removing all entries relating to USB in Device Manager and all associated USB drivers will force XP into refreshing the USB driver stack.
Begin by unplugging all USB devices, then use Add/Remove Programs in Control Panel to uninstall any USB driver software.
Next, boot up into safe mode and go to Device Manager. Once in device manager make sure 'Show hidden devices' is checked under the View menu. Uninstall all device entries in this order;
- USB peripheral devices (printers,etc.)
- HID and/or Composite USB (Human Interface Devices) You're using PS/2 input devices so you may not have this entry.
- USB Root Hub(s)
- USB Host Controller(s) (Universal or Enhanced Host Controllers) Then boot back into Windows (not safe mode) and it should populate the Root Hubs & Host controllers again. Proceed to plug your USB devices back in, starting with your powered hub. Be aware that most USB printers and scanners need to have their drivers installed first before you plug them in.
*USB printers and scanners need to have their drivers installed first before you plug them in.
If none of this works, try a fresh install of Windows XP. If that doesn't cure you, get used to it or by another PC.