Today I received a Dell XPS L502X laptop from a friend. The problem is that the keyboard has varying degrees of failure. When I first turned it on, it started spamming one key as if I had held it down the entire time. I couldn't even get past the Windows login password screen (although I couldn't see the character that was spammed, although I have reason to believe it was H). The issue even persists in the BIOS, as I just hear lots of beeping. No other keys would work either, not even Fn.
So I looked up a couple guides and it turns out removing the keyboard is actually really simple, and even better, it's separate from the trackpad, which works just fine. I disconnected and then reconnected the keyboard, and it stopped spamming the key, but then it didn't work at all.
I disconnected the keyboard and left it that way while I popped in my Windows 8 install disc and tried to boot it up, however it ran into an error (0xc000000f) on startup, so I reconnected the keyboard and tried it again to the same result. Booting back into Windows 7 again, I found that the spamming has started once again.
Might it be a connection issue? Or is the entire keyboard just broken? The only way I was able to get into the BIOS or Boot Menu was through a USB keyboard, and I didn't see any options in there related to the internal keyboard. The friend I received it from had gotten it from another relative, so I don't exactly have a lot of info on it (whether it was water damaged or not, etc.). Any help would be vastly appreciated.