You might try plugging the keyboard into the same port as you normally plug it in, and plug the drive in on the same port that you plugged it into.
Then, uninstall the driver for the drive, then the hub, then the keyboard, unplug the drive from the keyboard, and the keyboard from the computer, reboot, then plug the keyboard back in.