This is a great write-up! Thanks!
I ended up replacing my keyboard.
In case it helps anyone else, here's what worked/didn't work in my situation, when my a, s & d keys stopped working. For all of the hardware stuff, I used the ifixit guides, which are excellent. I didn't have the right tools, so I bought the Stronger-brand TK-LA40 toolkit from Amazon because it was cheap (about $15) and it ended up working surprisingly well. I've heard the ifixit tools are excellent, as well. If you use the TK-LA40, I'd suggest also getting one or two pencil-like spudgers, because the ones that come with the kit are shaped like guitar picks, and they aren't useful in this particular situation.
For anyone who has no experience with computer hardware but wants to try this on their own: I have a few bits of advice that aren't mentioned in the ifixt manuals (which are otherwise excellent):
- You should either wear a grounding (anti-static) strap or make sure you touch the metal computer case before touching the logic board (static discharge can blow out the sensitive circuits on the board) AND, as much as possible, avoid touching any metal parts on the logic board.
- There are A LOT of different types and sizes of screws in the macbook. Even some that you would assume will be the same (e.g., the 3 screws holding the fan to the logic board) will be different from each other. DON'T TRUST YOUR MEMORY. What I like to do is draw a rough outline sketch of the part I'm working on and then tape each screw to the right place on the drawing as I remove it. Not only does that ensure I know what goes where, it keeps the screws from getting lost and saves time later, when I just grab the screw off the drawing instead of sorting through a pile of them to find the right one.
- Keep a magnifying glass handy.
So here's what I did BEFORE replacing the keyboard, to verify I really had to:
- Rest SMC and PRAM: didn't help.
- Took off all key caps and meticulously removed all dust, crumbs and cat fur. That made no difference.
- Attached a bluetooth keyboard; a, s & d worked fine with that, confirming my suspicion that problem was hardware, not software/settings.
- In System Preferences, changed the modifier key layout to use caps lock as a command key, since the similar key on the cheapy keyboard wouldn't work for that.
- Downloaded Karibiner (free keyboard remapping app) so I could disable the built-in keyboard and set the bluetooth on top of it. I have a cheapy keyboard originally intended for use with and Android tablet, and it is almost exactly the same size as the built-in keyboard so it fits there perfectly while the laptop is open. I used this until I was able to fix the built-in keyboard.
So none of that worked. Now, here's my experience with the new keyboard project:
- Ordered a new keyboard on ebay. About $40, including shipping. This was a major exercise in frustration because of the horrible little screws on the keyboard (50-60, depending on macbook model). Having spent a good portion of my career working on computer hardware, I wasn't worried by the horror stories I read online about people not being able to get these screws loose; I figured it was probably due to their relative inexperience working on computer hardware, since many people had no problem. I am now humbled. Even though I had the proper screwdriver, between the really tiny size of the screws, the Locktite that has the screws virtually glued in place, and my old eyes, I could only get about half of them out. The rest stripped, and I couldn't see them well enough to tell they were stripping until it was too late. As far as I can tell, it's luck of the draw whether it will be easier/harder to remove the keyboard from a particular laptop. After trying various methods of getting the screws loose, I gave up and moved on.
- Bought a refurbished top case on ebay (about $65 including keyboard and shipping). Relatively smooth sailing after that, with only one small hitch:
- Fired up the laptop and found that both Shift keys, the Control key, all Function keys and the left Command and Option keys did not work. Since the keyboard cable is easily accessible once the bottom plate is removed, it was really easy to re-seat the cable; that did the trick. The laptop is now working great! Whew!