|I guess it's a USB mouse? From:|
"If you're experiencing mouse lockups or failures, it may be because your computer is automatically turning off the power to a USB Root Hub.
1) Go to your Control Panel > System > Hardware tab > and click on the "Device Manager" button.
2) In the Device Manager window, find the item or items labeled "Universal Serial Bus controllers." Open it, and double-click the first item called "USB Root Hub."
3) In the USB Root Hub Properties dialog, click on the "Power Management" tab.
4) "Allow the computer to turn off this device to save power" is checked by default. Uncheck this box, and click "OK."