You may have remember some attempts to install classic X220 keyboard into X230 - they were not quite successful.
Recently I stumbled upon a story of removing lenovo battery authentity check, which as it turned out was implemented in the Embedded Controller firmware. The author published a toolset required to reproduce his work. Someone used these tools to try make X220 keyboard work in X230 - and reported partial success - got working Delete, PgUp, PgDn, Wback, Wfwd and Menu. However, PrtSc, ScrLk, Pause, Insert and Home were still malfunctioning.
I continued his research and found another table which is related to keyboard mappings:
Code: Select all
0x000219E8: FF 00 7F 00 7F 00 FF 00 FF 00 FF 00 FF 00 FF 00 0x000219F8: FF 00 8A 00 FF 00 D3 00 A2 00 A0 00 48 00 41 80
To make new mapping work, I modified this mask table as follows:
Code: Select all
0x000219E8: FF 00 7F 00 7F 00 FF 00 FF 00 FF 00 FF 00 FF 00 0x000219F8: FF 00 8B 00 FF 00 D3 00 E3 00 A6 00 48 00 41 80
Now all that left is Fn keys (and, probably, CapsLock led). I'll post here once we get progress with that.
A guide on how to patch and flash EC firmware on Reddit - thanks to theamdman
X220/X230 keyboard pinouts are slightly different, so first thing you need to do is to isolate pins #25 and #29 (grab a schematic to see where they are [Page 63]). The reason for it is that in X230 keyboard these pins are separated, but in X220 one they are connected all together, shorting VCC5M_KBD (pin #25) to ground through the keyboard cable. I disassembled the keyboard and covered #25, #27 and #29 with a piece of scotch tape (#27 is redundant since it's connected directly to ground on the motherboard).
Ignoring this thing will cause keyboard overheating and damage.nitrocaster wrote:You need to disassemble the keyboard.
I got a cheapass chinese keyboard (don't buy these) and took some pictures that can help to understand the process: http://imgur.com/a/YLW83
MOD edit: there are two layers of gold-contacts. The tape goes on the right-hand side of the layer closest to the keyboard-metal.
Check again: http://i.imgur.com/Lx41VMw.jpg