There's more than one thing to check and correct
A. USB power is automatically turning off:
click my computer, on your desktop
click control panel, it's on the left hand side of my computer window
click the "system" icon, a window will open that says system properties
click the hardware tab
click the device manager bar
when the device manager window opens, scroll down, find universal serial bus controllers
double click universal serial bus controllers, it's on this list
now you will see a list, find USB root hub on the list
double click the first USB hub on the list
when the USB hub properties window opens, click the power management tab at the top of the window
now you will see a box that says: "allow computer to turn off this device to save power"
Un-check that box, click OK
Now double click the second USB hub on the USB Hub Properties list, click the power management tab, un-check the power saver box just as above, and click OK
Now repeat that same procedure for all the other USB hubs on the list, un-check the power saver box in each USB hub, until you have done all the USB hubs on the list. There may be several, you must do each, one at a time.
Now close all your windows and restart the computer.
Now the USB should stay on.
The computer was turning off the USB device to save power. It's a bug in XP.
B: Plug and play USB needs to be turned on in bios settings:
Hold down F2 and start computer, look all through the bios settings. The plug and play needs to be turned on, the USB needs to be turned on. This varies with the type of computer, you may or may not see these settings in the bios set up.
Save the changes and exit the bios setup, if you were able to make changes.
C. Driver not installed correctly:
click my computer, click control panel, click add remove programs. Look at the list for the Casio MIDI diver. Delete the driver.
Turn off the anti virus, re-install the driver, restart the computer, turn the anti virus back on.
D. Midi sound turned off, midi turned off:
Double click the speaker icon in the lower right hand corner of the screen. This opens the audio settings. Look through the audio software and determine if the MIDI volume is turned up, if the midi is turned on.
click my computer, click control panel, click sounds and audio devices, click the audio tab. Look at: MIDI music playback, determine if the volume is set correctly, check the other available settings and drivers in this window.