USB2

The USB2 test verifies basic USB2 port functionality. You can run this test to verify that all USB2 ports present in a system can be accessed by the operating system.

What the test covers
The USB2 test covers USB2 ports from a basic functionality standpoint, ensuring that all ports can be accessed by the OS.
RHEL version supported
  • RHEL 8
  • RHEL 9
  • RHEL 10
What the test does

This test ensures that all USB2 ports function as expected. It asks for the number of available USB2 ports, minus any in use for a keyboard or mouse. It then asks the tester to plug and unplug a USB2 device into each port.

The test watches for attach and detach events and records them. The test passes if it detects both plug and unplug events for each unique port entered.

Preparing for the test
Count the available USB2 ports and have a spare USB2 device available to use during the test. You may need to trace the USB ports from the motherboard header(s) to distinguish between USB2 and USB3 ports.
Running the test

The USB2 test is interactive. Run the following command, then select the USB2 test name from the list that displays.

 rhcert-run

When prompted, enter the number of available USB2 ports on the system. Don’t count ports currently used by a keyboard or mouse. The system asks you to plug the test USB2 device into a port.

The system pauses until you press y to continue, then asks you to unplug the device. Press y again to continue. Repeat these steps for each port you entered.

You can test ports in any order, but test each port only once.

Run time
The USB2 test takes about 15 seconds per USB2 port. This includes the time to manually plug in the device, scan the port, unplug the device, and scan the port again. The required supportable test adds about a minute to the overall run time.