Chosen Solution
My Macbook pro 17” died. I have been able to reuse the display by using a cicuit board off ebay, which drives the LCD display via a HDMI plug and 12v power. My question is can I reuse my Mac keyboard by converting it to a USB keyboard? I’d like to keep the case with the screen plus circuitry to drive it and also use the keyboard on another computer (Rasberry Pi) by converting it to USB. The flat cable that comes out the Keyboard is thin, very short and has a lot of wires. Is there a standard socket for this keyboard interface. And is it a standard keyboard interface andis there any where I can find out what the ribbon cable leads are if I can find a socket for it? It seems a shame not to be able to use a perfectly good keyboard etc.
Sorry the interface the MacBook Pro keyboard assembly has is the straight analog lines (X-Y lines) switch matrix part. You would still need the keyboard encoder chip to convert the signals into the needed digital code and then convert it to the USB interface (Apple uses a custom chip for this on the logic board). Here’s a schematic view of things
The lines WS_KBDx are the raw matrix lines (keyboard ribbon cable) which connects to the encoder chip U5701 on the logic board in this example system.
Reference: How Computer Keyboards Work
Peter, you have had precisely the idea I have had. Dead 17" in the drawer, I have purchased a circuit board to drive the LCD from China but not connected it up yet. I too want to get the keyboard converted to USB then I plan to install a Raspberry Pi into the MBP case for a nice Raspberry Book Pro (with 17" screen).How far did you get with the keyboard cunning plan? I was considering using a Raspberry Pi Pico to read the keyboard lines and then do the digital encoding, there are others that have used a Pico as a USB keyboard controller. Another option would be to cannibalise a standard Apple keyboard in the hope that the matrix is the same (I doubt it is). Not sure about getting the track pad to work though.