Another fix that you can try is to connect your keyboard or mouse to another USB port ... Also, check your keyboard USB cable. Connect your device to your computer via other USB ports.