Chosen Solution
this happened after i replaced magsafe plug, at first some of the keyboard buttons stopped responding, then i opened the laptop again and tried moving the flex cable of the keyboard, the problem remained but other buttons stopped working, then all of the keyboard, power button and trackpad stopped working, i could turn on the laptop without the power button by removing the battery and connecting the charger, it showed that there were no keyboard or trackpad connected. please help me solve this problem.
It’s a little tricky getting the keyboard cable completely into the receiving end on the logic board. Really try making sure that sucker is securely in there. Warning* if you scratch one of those black pins on the cable, you may have to replace the keyboard. Hope this helps.