PS2 keyboards

  • Thread starter Thread starter Graeme
  • Start date Start date
G

Graeme

Apart from setting/re-setting of the num, caps and scroll lock LEDs, what
other commands are sent from the host to a keyboard?
 
Apart from setting/re-setting of the num, caps and scroll lock LEDs, what
other commands are sent from the host to a keyboard?

Amongst others: typematic delay and typematic rate, I guess :-)
 
Gerard Bok said:
Amongst others: typematic delay and typematic rate, I guess :-)

Do you know of a list that shows them all? I've found a few lists that say
'here are some of the common commands'.
 
Graeme said:
Apart from setting/re-setting of the num, caps and scroll lock LEDs, what
other commands are sent from the host to a keyboard?

Commands from the system to the keyboard:

ED Set/Reset status indicators (CapsLock, NumLock, ScrolLock in low bits)
EE Echo
EF Invalid command
F0 Select alternate scan codes
F1 Invalid command
F2 Read ID
F3 Set typamatic rate/delay
F4 Enable
F5 Default disable
F6 Set default
F7 Set all keys - Typematic
F8 - Make/Break
F9 - Make
FA - Typematic/Make/Break
FB Set key type - Typematic
FC - Make/Break
FD - Make
FE Resend
FF Reset


Commands sent from the keyboard to the host:

00 Key detection error/overrun (code sets 2 or 3)
83AB Keyboard ID
AA Basic Assurance Test (BAT) completion code
FC BAT failure code
EE Echo
FA Acknowledge (ACK)
FE Resend
FF Key detection error/overrun (code set 1)

Source: an old PS/2 tech reference manual that for some reason is
still in my bookcase...

Joe Morris
 
Joe Morris said:
Commands from the system to the keyboard:

ED Set/Reset status indicators (CapsLock, NumLock, ScrolLock in low bits)
EE Echo
EF Invalid command
F0 Select alternate scan codes
F1 Invalid command
F2 Read ID
F3 Set typamatic rate/delay
F4 Enable
F5 Default disable
F6 Set default
F7 Set all keys - Typematic
F8 - Make/Break
F9 - Make
FA - Typematic/Make/Break
FB Set key type - Typematic
FC - Make/Break
FD - Make
FE Resend
FF Reset


Commands sent from the keyboard to the host:

00 Key detection error/overrun (code sets 2 or 3)
83AB Keyboard ID
AA Basic Assurance Test (BAT) completion code
FC BAT failure code
EE Echo
FA Acknowledge (ACK)
FE Resend
FF Key detection error/overrun (code set 1)

Source: an old PS/2 tech reference manual that for some reason is
still in my bookcase...

Thanks for taking the time to post that list.
It's certainly got more commands than any other list I've found.
 
Back
Top