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 detection (firmware)
Test description
This test aims to verify that the external USB devices are detected correctly by the firmware and all basic keys work according to their labels.
Test configuration data
FIRMWARE
= coreboot
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 detection in OS (Ubuntu 20.04)
Test description
This test aims to verify 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
= corebootOPERATING_SYSTEM
= Ubuntu 20.04
Test setup
- Proceed with the Common section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the follwing 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 detection in OS (Windows 11)
Test description
This test aims to verify 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
= corebootOPERATING_SYSTEM
= Windows 11
Test setup
- Proceed with the Common section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open PowerShell and and run the follwing command:
Get-PnpDevice -PresentOnly | Where-Object { $_.InstanceId -match '^USB' }
-
Note the results.
Expected result
-
After executing the command, a list containing all USB devices should be displayed. All devices' status should be
OK
.Example output:
Status Class FriendlyName ------ ----- ------------ OK DiskDrive Mass Storage Device USB Device OK USB Generic USB Hub OK HIDClass USB Input Device OK Bluetooth Intel(R) Wireless Bluetooth(R) OK USB USB Root Hub (USB 3.0) OK Net TP-LINK Gigabit Ethernet USB Adapter OK USB Generic USB Hub OK USB USB Mass Storage Device
USB002.001 USB keyboard detection (firmware)
Test description
This test aims to verify that the external USB keyboard is detected correctly by the firmware and all basic keys work according to their labels.
Test configuration data
FIRMWARE
= coreboot
Test setup
- Proceed with the Generic test setup: firmware.
- Connect the external USB keyboard using the USB port.
Test steps
- Power on the DUT
- Enter the boot menu using the
BIOS_SETUP_KEY
. - 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 detection (Ubuntu 20.04)
Test description
This test aims to verify 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
= corebootOPERATING_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
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the follwing command:
lsusb
-
Run the follwing command in the terminal:
libinput debug-events --show-keycodes
-
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 detection (Windows 11)
Test description
This test aims to verify 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
= corebootOPERATING_SYSTEM
= Windows 11
Test setup
- Proceed with the Common section.
- Connect the external USB keyboard using the USB port.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open PowerShell and and run the follwing command:
Get-CimInstance win32_KEYBOARD
-
Note the results.
- 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
-
After running the PowerShell command information about connected keyboard should be displayed.
Example output:
Caption : Enhanced (101- or 102-key) Description : USB Input Device InstallDate : Name : Enhanced (101- or 102-key) Status : OK Availability : ConfigManagerErrorCode : 0 ConfigManagerUserConfig : False CreationClassName : Win32_Keyboard DeviceID : USB\VID_046D&PID_C31C&MI_00\6&26C21341&0&0000 ErrorCleared : ErrorDescription : LastErrorCode : PNPDeviceID : USB\VID_046D&PID_C31C&MI_00\6&26C21341&0&0000 PowerManagementCapabilities : PowerManagementSupported : False StatusInfo : SystemCreationClassName : Win32_ComputerSystem SystemName : DESKTOP-CUR9H2J IsLocked : Layout : 00000409 NumberOfFunctionKeys : 12 Password : PSComputerName :
-
All standard keyboard keys generate correct characters or actions when pressed.
- Key combinations are detected correctly.