Skip to content

Dasharo Stability: USB Type-A devices detection

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.
  5. Connect the USB device to the USB Type-A port.

SUD0001.001 USB devices detection after cold boot (Ubuntu 22.04)

Test description

This test aims to verify that the external USB devices are detected correctly after performing a cold boot. The test should be performed in multiple iterations.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.

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 and run the following command:

    lsusb
    
  5. Note the results.

  6. Disconnect the power source, and remove the battery if present.
  7. Connect power and battery again.
  8. Power on the DUT.
  9. Boot into the system.
  10. Log into the system by using the proper login and password.
  11. Open a terminal window and run the following command:

    lsusb
    
  12. Note the results.

Expected result

The output of each lsusb command should contain an entry of the connected USB device.

SUD0002.001 USB devices detection after warm boot (Ubuntu 22.04)

Test description

This test aims to verify that the external USB devices are detected correctly after performing a warm boot. The test should be performed in multiple iterations.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.

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 and run the following command:

    lsusb
    
  5. Note the results.

  6. Power off the DUT using the power button.
  7. Power on the DUT.
  8. Boot into the system.
  9. Log into the system by using the proper login and password.
  10. Open a terminal window and run the following command:

    lsusb
    
  11. Note the results.

Expected result

The output of each lsusb command should contain an entry of the connected USB device.

SUD0003.001 USB devices detection after reboot (Ubuntu 22.04)

Test description

This test aims to verify that the external USB devices are detected correctly after performing a reboot. The test should be performed in multiple iterations.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Generic test setup: firmware

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 and run the following command:

    lsusb
    
  5. Note the results.

  6. Disconnect the power source, and remove the battery if present.
  7. Connect power and battery again.
  8. Power on the DUT.
  9. Boot into the system.
  10. Log into the system by using the proper login and password.
  11. Open a terminal window and run the following command:

    lsusb
    
  12. Note the results.

Expected result

The output of each lsusb command should contain an entry of the connected USB device.

SUD0004.001 USB devices detection after suspension (Ubuntu 22.04)

Test description

This test aims to verify that the external USB devices are detected correctly after performing suspension. The test should be performed in multiple iterations.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install the Firmware test suite package.

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 and run the following command:

    lsusb
    
  5. Note the results.

  6. Execute the following command to suspend the system and automatically wake it up after 10 seconds:

    sudo fwts s3 --s3-sleep-delay=10
    
  7. Open a terminal window and run the following command:

    lsusb
    
  8. Note the results.

Expected result

The output of each lsusb command should contain an entry of the connected USB device.