McMalloc: If someone has no luck with the aforementioned fix: The culprit for me was an esoteric bug with the USB controller. Plugging my input devices into an USB port that is connected to the CPU directly, and not via the chipset, fixed it for me (see the manual's block diagram for your specific mainboard).
There are specific motherboards, notably from Gigabyte, that have this issue.
I had a prebuilt from iBuyPower that had this issue, and it was so bad that I actually replaced *just* the motherboard to fix it. A family member had the exact same mobo in their prebuilt from iBuyPower, and it didn't have any issues.
It's just really hit and miss, specifically with Gigabyte, but yeah, you correctly showed the solution. Sometimes there's too much power passing through the motherboard on certain builds, and it "short circuits" the usb ports regularly.
I had this problem really badly when I upgraded to a GTX 1060 and tried to play Rift on max settings. Then once it started, it never stopped until as I said, I replaced the mobo.
The average gogladyte probably shouldn't try that though. ;)