This question already has an answer here:
While I am doing stuff... doesn't seem to matter what, my USB mouse just stops working... sometimes it will be the keyboard as well but usually not as often. Ubuntu forces me to press my power button to recover my mouse again.
Let me know if you need more information.
This is a dual boot system and only happens on Ubuntu, and it works fine under Windows