I'm using Ubuntu 14.04 LTS with a Dell normal desktop PC. I've been suffering this issue from the very beggining.
Randomly, the USBs ports seem disconnected/powered off at the login screen, before any access to the system. Sometimes the machines boots properly and everything works as expected. But others, the mouse and keyboards turn off (lights off) and I have to perform a hard power off and power on again.
I tried to plug other USB devices and they showed no power input.
I guess it is some kernel configuration that presents some problem with the hardware, and tried to set the autosuspend and autosuspend_delay_ms to -1, but this didn't fix my problem.