Skip to content

PS/2 (Personal System/2)

PS/2 is a bidirectional synchronous serial protocol for communication between a keyboard or mouse and a PC. Developed by IBM, it uses six pins: Clock, Data, +5 V, Ground, and two unused pins. The two ends exchange data over Clock and Data.

Wrong device type, Scan Code, or mouse type misreads the report. For channel-prefix differences, see Settings.

Decode Settings

Decode Settings

PS/2 Decode Settings
  • Channel: Set Clock and Data channels.
  • Export MATLAB file: Export analyzed data as MATLAB format (Time/Description/Data; DH = Device to Host, HD = Host to Device). The file (PS2_Matlab.m) is saved in the work directory. Field enabled (Enable) when checked. Default is unchecked.
  • Device:
    • Keyboard: Treat the device as a PS/2 keyboard.
    • Mouse: Treat the device as a PS/2 mouse.
    • Other (Only Display Raw Data): Other PS/2 devices; show raw data only. Default is this mode selected.
  • Startup Setting:
    • Scan Code: Keyboard Scan Code Set (Set 1/2/3). Default is Set 2.
    • Mouse Type: Mouse type (Standard/Scroll Wheel/Five Button). Default is Standard PS/2 Mouse.

Result

Keyboard

Keyboard

Keyboard

Mouse

Mouse

Mouse

Other (Only Display Raw Data)

Other (Only Display Raw Data)

Other (Only Display Raw Data)