I had a very similar problem.
Mine is recurring, and specific to my Macbook, but resetting the PRAM seems to fix it for a few weeks or months;
Restart holding Command + Option + P + R, wait until you hear the second chime (when the computer restarts on it will chime once, then chime again, as if it has been restarted again almost straight after the first one.) After hearing the second chime, let go of the keys.
You may lose some preferences doing this.
Ollie