


Resolved by resetting the firmware as explained by Dave Meehan in How to Reset an Apple Wireless Bluetooth Keyboard, Mouse or Trackpad (Troubleshooting Pairing and Other Common Problems): The Bluetooth pairing dialog would appear with a 6-digit code, but the only key that worked was Return/Enter. I had the same problem: an Apple Bluetooth Keyboard would not pair with an iMac after having been paired with a MacBook Pro. Note I copied/pasted the one and nine digit from elsewhere into this answer :-) Except this: the keys 1 through 9 still do not work, nor do the symbols on those keys when holding shift. I am typing this with that very keyboard. I did so, and even though the screen did not show I could hit enter - presumably because it wanted four more digits - I hit enter anyway.

I reattempted and was asked to type 0000. I then selected the custom passkey setting which was now populated as 0000. On my next attempt, I typed 00000000 and enter for the passkey and waited for the failure. I decided to start over, clearing out the list of bluetooth devices. I tried a few times and then noticed for whatever reason the custom setting was back to eight random digits. I played around with connecting again but the enter key would not highlight until I typed eight zeros instead of four. So, after being unable to type anything but 0 and enter and watching the connection attempt fail, I clicked a button on the failure screen that allowed me to then choose an alternate passkey. For posterity, some troubleshooting on this exact same problem.Īfter reading the question and answer here I was ready to throw the keyboard in the trash, but then thought that if two people have such an odd failure maybe its just a bug that one can work around.
