If bios detect keyboard before windows load, then bios has nothing to do. To check, try to enter bios with keyboard. If bios run fine with keyboard, then its okay.
As I was saying before, when it's giving me problems, it does so before Windows boot....that is to say I can't enter the BIOS or enter Windows. If I unplug it and then plug it back in, no problems.