Dasharo Compatibility: USB HID and MSC Support
Test cases
Common
Test setup
- Proceed with the Generic test setup: firmware
- Proceed with the Generic test setup: OS installer
- Proceed with the Generic test setup: OS installation
- Proceed with the Generic test setup: OS boot from disk
USB001.001 USB devices detected in FW
Test description
This test verifies that the external USB devices are detected correctly by the firmware and all basic keys work according to their labels.
Test configuration data
FIRMWARE
= corebootBIOS_SETUP_KEY
=F2
Test setup
- Proceed with the Generic test setup: firmware
- Proceed with the Generic test setup: OS installer
- Connect the flash drive using the USB port
Test steps
- Power ON the DUT
- Enter the boot menu using the
BIOS_SETUP_KEY
- Select the
Boot Menu
, pressEnter
and note the result
Expected result
- Flash drive entry is listed in the boot menu
USB001.002 USB devices detected by OS (Ubuntu 20.04)
Test description
This test verifies that the external USB devices are detected correctly
by the OPERATING_SYSTEM
and all basic keys work according to their labels.
Test configuration data
FIRMWARE
= corebootBIOS_SETUP_KEY
=F2
OPERATING_SYSTEM
= Ubuntu 20.04
Test setup
- Proceed with the Common section.
Test steps
- Power ON the DUT
- Open the terminal, run the command:
watch -n1 lsusb
- Connect external USB devices to DUT USB A port and note the result
Expected result
- After each device is connected to the USB port, a new USB device entry
in
lsusb
command output should appear
USB001.003 USB devices detected by OS (Windows 10)
Test description
This test verifies that the external USB devices are detected correctly
by the OPERATING_SYSTEM
and all basic keys work according to their labels.
Test configuration data
FIRMWARE
= corebootBIOS_SETUP_KEY
=F2
OPERATING_SYSTEM
= Windows 10
Test setup
- Proceed with the Common section.
Test steps
- Power ON the DUT
- Open PowerShell and execute the command:
while (1) {Get-PnpDevice -PresentOnly | Where-Object { $_.InstanceId -match '^USB' }; sleep 5; clear}
- Connect external USB devices to DUT USB A port and note the result
Expected result
- After each device is connected to the USB port, a new USB device entry in the output of the command should appear
USB002.001 USB keyboard detected in FW
Test description
This test verifies that the external USB keyboard is detected correctly by the firmware and all basic keys work according to their labels.
Test configuration data
FIRMWARE
= corebootBIOS_SETUP_KEY
=F2
Test setup
- Proceed with the Generic test setup: firmware
- Connect the external USB keyboard using the USB port
Test steps
- Power on the DUT and press the
BIOS_SETUP_KEY
to enter the setup menu - Use the arrow keys, Esc key and the Enter key to navigate the menus
Expected result
- All menus can be entered using the external USB keyboard
USB002.002 USB keyboard in OS (Ubuntu 20.04)
Test description
This test verifies that the external USB keyboard is detected correctly
by the OPERATING_SYSTEM
and all basic keys work according to their labels.
Test configuration data
FIRMWARE
= corebootBIOS_SETUP_KEY
=F2
OPERATING_SYSTEM
= Ubuntu 20.04
Test setup
- Proceed with the Common section.
- Install
libinput-tools
on the DUT. - Connect the external USB keyboard using the USB port.
Test steps
- Run
lsusb
in the terminal. - Run
sudo libinput debug-events --show-keycodes
in the terminal:- Test the alphanumeric keys and note the generated keycodes
- Test non-alphanumeric keys and verify that they generate the correct keycodes
- Test key combinations with the
Shift
,Ctrl
andAlt
modifier keys (this tests 2-key rollover)
Expected result
- The extarnal USB keyboard is detected in OS.
- All standard keyboard keys generate the correct keycodes and events as per their labels
- Key combinations are detected correctly
USB002.003 USB keyboard in OS (Windows 10)
Test description
This test verifies that the external USB keyboard is detected correctly
by the OPERATING_SYSTEM
and all basic keys work according to their labels.
Test configuration data
FIRMWARE
= corebootBIOS_SETUP_KEY
=F2
OPERATING_SYSTEM
= Windows 10
Test setup
- Proceed with the Common section.
- Connect the external USB keyboard using the USB port.
Test steps
- Open
notepad
- Test the alphanumeric keys and note the generated characters
- Test non-alphanumeric keys and verify that they generate the signs
- Test key combinations with the
Shift
, andAlt
modifier keys
- Open
On-Screen Keyboard
and pressCtrl
key on the hardware keyboard. Check ifOn-Screen Keyboard
correctly highlights it. - Open
Start menu
and pressEsc
. Check ifStart menu
is properly closed.
Expected result
- All standard keyboard keys generate correct characters or actions when pressed.
- Key combinations are detected correctly.