
Luckily the layout of the fullsize 5251 keyboard proved to be massively influencial on the Datamaster and the first set of Model Fs, and by extension PC clones of all kinds copying the success of the 5150. Converting an XT keyboard to interface with a 5251 terminal seems like a natural solution to the missing keyboard problem. If supporting AT protocol as well can be done simply that would allow the use of essentially any PS/2 keyboard with the 5251.
Based on my current understanding the converter would have 2 roles. First it provides keyboard input which is converted to 5251 protocol and attached using a DB25 connector. Second it would recieve the 8.5V out and solenoid trigger from the 5251 terminal to activate an onboard beeper to replace the solenoid of the 5251 keyboard. I've been able to get most of the pinout for the DB25 connector (by crossreferencing kbdbabel and a couple of the documents on bitsavers) and the IBM manuals describe the scan codes as well. The layout/version of the 5251 keyboard is set with jumpers and that the terminal can read, but I believe that can be achomplished in software.
- Cable Check A
- Click (Solenoid Trigger)
- Scan Code Bit 1
- Data Strobe
- Scan Code Bit 4
- Scan Code Bit 5
- Scan Code Bit 6
- Break Code Bit 0
- Scan Code Bit 7
- Unknown
- +8.5V (Solenoid power)
- Unknown
- -5V DC
- KB Ident Bit 0
- KB Ident Bit 1
- Scan Code Bit 2
- Power-On Reset
- KB Ident Bit 2
- KB Ident Bit 3
- + Delay Strobe
- Cable Check B
- Scan Code Bit 3
- Ground
- Ground
- Vcc +5V