Skip to content

Dasharo compatibility: Super I/O initialization - QubesOS

Test cases common documentation

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. Proceed with the Generic test setup: OS installer.
  3. Proceed with the Generic test setup: OS installation.
  4. Proceed with the Generic test setup: OS boot from disk.

PPS001.001 PS/2 keyboard detection

Test description

This test aims to verify that the external PS/2 keyboard is detected correctly by the OPERATING_SYSTEM and that all basic keys work according to their labels.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = QubesOS stable

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install libinput-tools in dom0 on the DUT.
  3. Connect the external PS/2 keyboard to the PS/2 port.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open a terminal window in dom0 and run the following command:

    sudo dmesg | grep -i PS/2
    
  5. Run the following command in the terminal:

    libinput debug-events --show-keycodes
    
  6. Test the alphanumeric keys and note the generated keycodes.

  7. Test non-alphanumeric keys and verify that they generate the correct keycodes.
  8. Test key combinations with the Shift, Ctrl and Alt modifier keys (this tests 2-key rollover).

Expected result

  1. The external PS/2 keyboard is detected in OS.
  2. All standard keyboard keys generate the correct keycodes and events as per their labels.
  3. Key combinations are detected correctly.