PS2 keyboards

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?
 
G

Gerard Bok

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 :)
 
G

Graeme

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'.
 
J

Joe Morris

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
 
G

Graeme

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top