My keyboard and mouse freeze unexpectedly while working and I can't do anything. I'm forced to restart the computer to bring back the keyboard and mouse, and the problem is some of my files get lost. It's happening without any fixed intervals, maybe within half an hour, or after 4 or 5 hours etc. My system is Ubuntu 10.04.
And when I check in Windows 7, it's restarting automatically.
Can anybody figure out the problem?