Stupid question but is the keyboard plug connected the right way around? Not sure if it possible but always worth checking.
It could be that the keyboard controller mounted on the keyboard PCB is blown. If so, replacing the chip or entire keyboard will fix it.