Skip to content

Dasharo Compatibility: USB-C/Thunderbolt support with charging and display

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.

UTC001.001 USB Type-A charging capability

Test description

This test verifies that the USB-A ports are able to provide charging to a connected smartphone.

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. Connect a phone to the USB Type-A port located on the left side of the laptop using a USB cable.
  5. Note the charging status on the phone screen.
  6. Connect a phone to the USB Type-A port located on the right side of the laptop using a USB cable.
  7. Note the charging status on the phone screen.

Expected result

  1. The smartphone should indicate that it's charging when connected to either USB Type-A port.

UTC002.001 Thunderbolt 4 USB Type-C power output

Test description

This test verifies that the Thunderbolt 4 port is able to provide charging to a USB Type-C accessory.

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. Connect a phone to the Thunderbolt 4 USB Type-C port located on the left side of the laptop using a USB cable.
  5. Note the charging status on the phone screen.

Expected result

  1. The smartphone should indicate that it's charging.

UTC003.001 USB Type-C PD power input (Ubuntu 22.04)

Test description

This test verifies that the device can sink power from a USB-PD power supply connected to the Thunderbolt 4 port.

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. Disconnect any charger from the DUT.
  5. Connect the charger plug to the docking station.
  6. Open a terminal window and run the following command:

    cat /sys/class/power_supply/BAT0/status
    

Expected result

Output of the command should show one of this: Charging or Full. That means laptop is charged properly.

UTC003.002 USB Type-C PD power input (Windows 11)

Test description

This test verifies that the device can sink power from a USB-PD power supply connected to the Thunderbolt 4 port.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

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. Disconnect any charger from the DUT.
  5. Connect the charger plug to the docking station.
  6. Open PowerShell and and run the following command:

    Get-WmiObject win32_battery
    

Expected result

If BatteryStatus is equal 2, that means laptop is charged properly.

Example part of output:

BatteryStatus               : 2

UTC004.001 USB Type-C Display output (Ubuntu 22.04)

Test description

This test verifies that DUT output video to a display connected via the Thunderbolt 4 USB Type-C port.

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. Connect a display to the Thunderbolt 4 USB Type-C port using a USB Type-C hub
  5. Open the Settings application and select the Displays panel in the left menu.
  6. Verify that the attached external monitor can be selected.
  7. Select and enable the monitor.

Expected result

  1. The monitor connected to the laptop via the Thunderbolt 4 port should power on and display video from the laptop.

UTC004.002 USB Type-C Display output (Windows 11)

Test description

This test verifies that DUT output video to a display connected via the Thunderbolt 4 USB Type-C port.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

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. Connect a display to the Thunderbolt 4 USB Type-C port using a USB Type-C hub.
  5. Right click on the desktop to open the desktop context menu.
  6. Select Display Settings to open the display settings window.
  7. Verify that the attached external monitor can be selected.
  8. Select and enable the monitor.

Expected result

  1. The monitor connected to the laptop via the Thunderbolt 4 port should power on and display video from the laptop.

UTC005.001 USB Type-C docking station HDMI display (Ubuntu 22.04)

Test description

This test aims to verify that the display connected with the HDMI cable to the docking station is correctly recognized by the OPERATING_SYSTEM.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Connect an HDMI cable to the docking station and a display.
  3. The USB-C docking station connected to the USB-C port.

    If the docking station is not directly connected to the DUT, but with a USB-C to USB-C cable, make sure it is full-featured cable (>=5Gbps) with 5A current capability.

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. If using more than one display, switch the display mode between Mirror and Join Displays.

Expected result

The image should be displayed on the external HDMI-connected display in Mirror and Join Displays modes.

UTC005.002 USB Type-C docking station HDMI display (Windows 11)

Test description

This test aims to verify that the display connected with the HDMI cable to the docking station is correctly recognized by the OPERATING_SYSTEM.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Connect an HDMI cable to the docking station and a display.
  3. The USB-C docking station connected to the USB-C port.

    If the docking station is not directly connected to the DUT, but with a USB-C to USB-C cable, make sure it is full-featured cable (>=5Gbps) with 5A current capability.

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. If using more than one display, switch the display mode between Duplicate and Extend.

Expected result

The image should be displayed on the external HDMI-connected display in Duplicate and Extend modes.

UTC006.001 USB Type-C docking station DP display (Ubuntu 22.04)

Test description

This test aims to verify that the display connected with the HDMI cable to the docking station is correctly recognized by the OPERATING_SYSTEM.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Connect a Display Port cable to the docking station and a display.
  3. The USB-C docking station connected to the USB-C port.

    If the docking station is not directly connected to the DUT, but with a USB-C to USB-C cable, make sure it is full-featured cable (>=5Gbps) with 5A current capability.

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. If using more than one display, switch the display mode between Mirror and Join Displays.

Expected result

The image should be displayed on the external DisplayPort-connected display in Mirror and Join Displays modes.

UTC006.002 USB Type-C docking station DP display (Windows 11)

Test description

This test aims to verify that the display connected with the DisplayPort cable to the docking station is correctly recognized by the OPERATING_SYSTEM.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Connect a DisplayPort cable to the docking station and a display.
  3. The USB-C docking station connected to the USB-C port.

    If the docking station is not directly connected to the DUT, but with a USB-C to USB-C cable, make sure it is full-featured cable (>=5Gbps) with 5A current capability.

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. If using more than one display, switch the display mode between Duplicate and Extend.

Expected result

The image should be displayed on the external DisplayPort-connected display in Duplicate and Extend modes.

UTC007.001 USB Type-C docking station Triple display (Ubuntu 22.04)

Test description

This test aims to verify that the three display simultaneously connected to the docking station is correctly recognized by the OPERATING_SYSTEM.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Connect three displays using HDMI/DisplayPort cables, depending on the specifications of the docking station.
  3. The USB-C docking station connected to the USB-C port.

    If the docking station is not directly connected to the DUT, but with a USB-C to USB-C cable, make sure it is full-featured cable (>=5Gbps) with 5A current capability.

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. Switch the display mode between Mirror and Join Displays.

Expected result

The image should be displayed on the three external displays in Mirror and Join Displays modes.

UTC007.002 USB Type-C docking station Triple display (Windows 11)

Test description

This test aims to verify that the three display simultaneously connected to the docking station is correctly recognized by the OPERATING_SYSTEM.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Connect three displays using HDMI/DisplayPort cables, depending on the specifications of the docking station.
  3. The USB-C docking station connected to the USB-C port.

    If the docking station is not directly connected to the DUT, but with a USB-C to USB-C cable, make sure it is full-featured cable (>=5Gbps) with 5A current capability.

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. If using more than one display, switch the display mode between Duplicate and Extend.

Expected result

The image should be displayed on the three external displays in Duplicate and Extend modes.

UTC008.001 USB Type-C docking station detection after coldboot (Ubuntu 22.04)

Test description

This test aims to verify that the DUT properly detects the docking station after coldboot (realized by power supply cutting off then restoring back). This test case may be re-done several times to specify the platform and connection stability.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.

Test steps

  1. Cut the power off while DUT is turned on.
  2. Restore power and power on the DUT.
  3. Boot into the system.
  4. Log into the system by using the proper login and password.
  5. Open a terminal window and run the following command:

    lsusb
    
  6. Note the results.

Expected result

After lsusb command the docking station entries should be displayed, but output can be different depending on the model of the docking station.

Example entries signifing the docking station:

Bus 002 Device 010: Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 009: Prolific Technology, Inc. USB SD Card Reader
Bus 002 Device 008: VIA Labs, Inc. USB3.0 Hub

UTC009.001 USB Type-C docking station detection after warmboot (Ubuntu 22.04)

Test description

This test aims to verify that the DUT properly detects the docking station after warmboot (realized by device turning off then turning on). This test case may be re-done several times to specify the platform and connection stability.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C 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 and run the following command:

    lsusb
    
  5. Note the results.

Expected result

After lsusb command the docking station entries should be displayed, but output can be different depending on the model of the docking station.

Example entries signifing the docking station:

Bus 002 Device 010: Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 009: Prolific Technology, Inc. USB SD Card Reader
Bus 002 Device 008: VIA Labs, Inc. USB3.0 Hub

UTC010.001 USB Type-C docking station detection after reboot (Ubuntu 22.04)

Test description

This test aims to verify that the DUT properly detects the docking station after system reboot (performed by relevant command). This test case may be re-done several times to specify the platform and connection stability.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. The USB-C docking station connected to the USB-C 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 and run the following command:

    sudo reboot
    
  5. Boot into the system.

  6. Log into the system by using the proper login and password.
  7. Open a terminal window and run the following command:

    lsusb
    
  8. Note the results.

Expected result

After lsusb command the docking station entries should be displayed, but output can be different depending on the model of the docking station.

Example entries signifing the docking station:

Bus 002 Device 010: Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 009: Prolific Technology, Inc. USB SD Card Reader
Bus 002 Device 008: VIA Labs, Inc. USB3.0 Hub

UTC011.001 USB Type-C docking station USB devices recognition (firmware)

Test description

This test aims to verify that the external USB devices connected to the docking station are recognized correctly by the FIRMWARE.

Test configuration data

  1. FIRMWARE = Dasharo

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The USB storage connected to the USB-C docking station.

Test steps

  1. Power on the DUT.
  2. Hold the BIOS_MENU_KEY to enter the BIOS Menu.
  3. Check if the USB storage is available on the list.

Expected result

The USB storage is available which confirms successful recognition.

UTC011.002 USB Type-C docking station USB devices recognition (Ubuntu 22.04)

Test description

This test aims to verify that the external USB devices connected to the docking station are recognized correctly by the OPERATING_SYSTEM.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The USB storage connected to the USB-C docking station.

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:

    watch -n1 lsusb
    
  5. Connect(or Disconnect) external USB devices to the USB ports on the docking station and note the result.

Expected result

  1. After each device is connected to the USB port, a new USB device entry in lsusb command output should appear.
  2. After each device is disconnected from the USB port, a USB device entry in lsusb command output should disappear.

UTC011.003 USB Type-C docking station USB devices recognition (Windows 11)

Test description

This test aims to verify that the external USB devices connected to the docking station are recognized correctly by the OPERATING_SYSTEM.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The USB storage connected to the USB-C docking station.

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

    Get-PnpDevice -PresentOnly | Where-Object { $_.InstanceId -match '^USB' }
    
  5. Note the results.

Expected result

After executing the command, a list containing all USB devices should be displayed. The list should contain the USB storage, which is plug in.

Example output:

```bash
    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         DiskDrive       USB SanDisk 3.2Gen1 USB Device
    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
```

UTC012.001 USB Type-C docking station USB keyboard (firmware)

Test description

This test aims to verify that the external USB keyboard connected to the docking station is detected correctly by the FIRMWARE and all basic keys work according to their labels.

Test configuration data

  1. FIRMWARE = Dasharo

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The external USB keyboard connected to the docking station.

Test steps

  1. Power on the DUT
  2. Hold the BIOS_MENU_KEY to enter the Bios Menu.
  3. 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.

UTC012.002 USB Type-C docking station USB keyboard (Ubuntu 22.04)

Test description

This test aims to verify that the external USB keyboard connected to the docking station is detected correctly by the OPERATING_SYSTEM and all basic keys work according to their labels.

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 libinput-tools package: sudo apt install libinput-tools.
  3. The USB-C docking station connected to the USB-C port.
  4. The external USB keyboard connected to the docking station.

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. 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 USB 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.

UTC012.003 USB Type-C docking station USB keyboard (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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The external USB keyboard connected to the docking station.

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

    Get-CimInstance win32_KEYBOARD
    
  5. Note the results.

  6. Open notepad.
  7. Test the alphanumeric keys and note the generated characters.
  8. Test non-alphanumeric keys and verify that they generate the signs.
  9. Test key combinations with the Shift, and Alt modifier keys.
  10. Open On-Screen Keyboard and press Ctrl key on the hardware keyboard. Check if On-Screen Keyboard correctly highlights it.
  11. Open Start menu and press Esc. Check if Start menu is properly closed.

Expected result

  1. After running the PowerShell command information about connected keyboards should be displayed.

    One of keyboard should have identical part of output:

    Description                 : USB Input Device
    
  2. All standard keyboard keys generate correct characters or actions when pressed.

  3. Key combinations are detected correctly.

UTC013.001 USB Type-C docking station upload 1GB file on USB storage (Ubuntu 22.04)

Test description

This test aims to verify that the 1GB file can be transferred from the OPERATING_SYSTEM to the USB storage connected to the docking station.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The USB storage connected to the USB-C docking station.

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 to generate 1GB file:

    openssl rand -out test_file.txt -base64 $(( 2**30 * 3/4 ))
    
  5. Read the path to the USB storage by running the following command:

    lsblk
    
  6. Copy the generated file to the USB storage by running the following command:

    cp test_file.txt {path_to_usb_storage}
    
  7. Verify that the files are the same by running the following command:

    sha256sum test_file.txt {path_to_usb_storage}/test_file.txt
    

Expected result

The output from the last command should contain 2 identical checksums:

f46597c0c63a1eefb200d40edf654e52f10c3d5d21565886ad603fabaf8d39fb  test_file.txt
f46597c0c63a1eefb200d40edf654e52f10c3d5d21565886ad603fabaf8d39fb  {path_to_usb_storage}/test_file.txt

UTC013.002 USB Type-C docking station upload 1GB file on USB storage(Windows 11)

Test description

This test aims to verify that the 1GB file can be transferred from the OPERATING_SYSTEM to the USB storage connected to the docking station.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The USB storage connected to the USB-C docking station.

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 powershell as administrator and run the following command to generate 1GB file:

    fsutil file createnew test_file.txt 1073741824
    
  5. Read the drive letter assigned to the USB storage by running the following command:

    (Get-Volume | where drivetype -eq removable).driveletter
    
  6. Copy the generated file to the USB storage by running the following command:

    Copy-Item -Path C:\Windows\system32\test_file.txt {drive_letter}:
    
  7. Verify that the files are the same by running the following commands:

    Get-FileHash test_file.txt
    Get-FileHash {drive_letter}:\test_file.txt
    

Expected result

The output from the last commands should have equal hash:

Algorithm       Hash                                                              Path
---------       ----                                                              ----
SHA256          F46597C0C63A1EEFB200D40EDF654E52F10C3D5D21565886AD603FABAF8D39FB  C\Windows\system3...
Algorithm       Hash                                                              Path
---------       ----                                                              ----
SHA256          F46597C0C63A1EEFB200D40EDF654E52F10C3D5D21565886AD603FABAF8D39FB  E:\test_file.txt

UTC014.001 USB Type-C docking station Ethernet connection (Ubuntu 22.04)

Test description

This test aims to verify that the connection to internet via docking station's Ethernet port can be obtained on Ubuntu 22.04.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C 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. Plug in a Ethernet cable with internet connection to docking station.
  5. Wait for internet connection to initialize.
  6. Ping 3mdeb.com using command in terminal:

    ping 3mdeb.com
    

Expected result

  1. Command should return ping info:

    PING 3mdeb.com (178.32.205.96) 56(84) bytes of data.
    64 bytes from cluster026.hosting.ovh.net (178.32.205.96): icmp_seq=1 ttl=50 time=44.3 ms
    64 bytes from cluster026.hosting.ovh.net (178.32.205.96): icmp_seq=2 ttl=50 time=47.7 ms
    64 bytes from cluster026.hosting.ovh.net (178.32.205.96): icmp_seq=3 ttl=50 time=41.1 ms
    ...
    
  2. Log should not contain phrase information that host is unreachable.

    Failed ping for Ubuntu 22.04:

    ping: connect: Network is unreachable
    

UTC014.002 USB Type-C docking station Ethernet connection (Windows 11)

Test description

This test aims to verify that the connection to internet via docking station's Ethernet port can be obtained on Windows 11.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C 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. Plug in a Ethernet cable with internet connection to docking station.
  5. Wait for internet connection to initialize.
  6. Ping 3mdeb.com using command in PowerShell:

    ping 3mdeb.com
    

Expected result

  1. Command should return ping info:

    Pinging 3mdeb.com [178.32.205.96] with 32 bytes of data:
    Reply from 178.32.205.96: bytes=32 time=50ms TTL=50
    Reply from 178.32.205.96: bytes=32 time=47ms TTL=50
    Reply from 178.32.205.96: bytes=32 time=46ms TTL=50
    
  2. Log should not contain phrase information that host is unreachable.

    Failed ping for Windows 11:

    Ping request could not find host 3mdeb.com. Please check the name and try again.
    

UTC015.001 USB Type-C docking station audio recognition (Ubuntu 22.04)

Test description

This test aims to verify that the external headset is properly recognized after plugging in the 3.5 mm jack into the docking station.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C 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. Plug in a headset jack into the docking station.
  5. When the Select Audio Device menu appears, select what type of external device has been connected to the laptop (headset).
  6. Open a terminal window and run the following command:

    watch -n1 lsusb
    
  7. Connect(or Disconnect) external headset to the 3.5 mm jack on the docking station and note the result.

Expected result

  1. After connecting the external headset to the 3.5 mm jack, a new entry in lsusb command output should appear.
  2. After disconnecting the external headset from the 3.5 mm jack, a headset entry in lsusb command output should disappear.

UTC015.002 USB Type-C docking station audio recognition (Windows 11)

Test description

This test aims to verify that the external headset is properly recognized after plugging in the 3.5 mm jack into the docking station.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C 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. Plug in a headset jack into the docking station
  5. After the Which device did you plug in menu appearing, select what type of external device has been connected to the laptop (headset).
  6. Find the Speakers icon in the bottom right part of the screen and click it using the right mouse button then using the left mouse button click Sound Settings.
  7. Locate the All sound device bar and click on it.
  8. Connect(or Disconnect) external headset to the 3.5 mm jack on the docking station and note the result.

Expected result

  1. After connecting the external headset to the 3.5 mm jack, new entries regarding the connected headphones should appear in the Output devices and Input devices sections.
  2. After disconnecting the external headset from the 3.5 mm jack, the entries for connected headset should disappear from the Output devices and Input devices sections.

UTC016.001 USB Type-C docking station audio playback (Ubuntu 22.04)

Test description

This test aims to verify that the audio subsystem is able to playback audio recordings by using the external headset speakers connected to the docking station.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C 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. Plug in a headset jack into the docking station.
  5. When the Select Audio Device menu appears, select what type of external device has been connected to the laptop (headset).
  6. Open a terminal window and execute the following command:

    pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo  0
    pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo 65535
    speaker-test
    

Expected result

Sound should be played from the external speakers.

UTC016.002 USB Type-C docking station audio playback (Windows 11)

Test description

This test aims to verify that the audio subsystem is able to playback audio recordings by using the external headset speakers connected to the docking station.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C 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. Plug in a headset jack into the docking station.
  5. Find the Speakers icon in the bottom right part of the screen and click it using the left mouse button to open volume menu.
  6. After the Which device did you plug in menu appearing, select what type of external device has been connected to the laptop (headset).
  7. In the volume menu, click the rightmost part of it and note the reult.

Expected result

Sound should be played from the external speakers.

UTC017.001 USB Type-C docking station audio capture (Ubuntu 22.04)

Test description

This test aims to verify that the audio subsystem is able to capture audio from external headset connected to the docking station.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C 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. Plug in a headset jack into the docking station.
  5. When the Select Audio Device menu appears, select what type of external device has been connected to the laptop (headset).
  6. Open a terminal window and execute the following command:

    arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic.wav
    
  7. Make some noise for the headset. For example, say something.

  8. Execute the following command:

    aplay /tmp/test-mic.wav
    

Expected result

The recorded audio clip is recorded correctly and played back.

UTC017.002 USB Type-C docking station audio capture (Windows 11)

Test description

This test aims to verify that the audio subsystem is able to capture audio from external headset connected to the docking station.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C 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. Plug in a headset jack into the docking station.
  5. After the Which device did you plug in menu appearing, select what type of external device has been connected to the laptop (headset).
  6. Find the Speakers icon in the bottom right part of the screen and click it using the right mouse button then using the left mouse button click Sound Settings.
  7. Locate the All sound device bar and click on it.
  8. Select the Microphone position in the Input devices section.
  9. Click on the Start Test bar in the Input settings section.
  10. Create some noise for the DUT to capture and note the result. For example, say something.
  11. Click on the Stop Test bar.

Expected result

  1. The Input volume bar located in the Input settings section should raise when some noise is being created.
  2. The result of the test after clicking the Stop Test bar should be more than 0% of the total volume.

UTC018.001 USB Type-C docking station SD Card reader detection (Ubuntu 22.04)

Test description

This test aims to verify that the SD Card reader built into the docking station is enumerated correctly and might be detected by the operating system.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The SD card put into the slot on the USB-C docking station.

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 execute the following command:
lsusb | grep "Card Reader"
  1. Note the result.

Expected result

The output from the command should contain information about the connected USB SD Card Reader.

Example output:

Bus 002 Device 007: ID 067b:2733 Prolific Technology, Inc. USB SD Card Reader

UTC018.002 USB Type-C docking station SD Card reader detection (Windows 11)

Test description

This test aims to verify that the SD Card reader built into the docking station is enumerated correctly and can be detected by the operating system.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The SD card put into the slot on the USB-C docking station.

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

    Get-PnpDevice -Status "OK" -Class "DiskDrive"
    
  5. Note the result.

Expected result

The output from the command should contain information about the connected USB SD Card Reader.

Example output:

    OK         DiskDrive       SD Card Reader USB Device

UTC019.001 USB Type-C docking station SD Card read/write (Ubuntu 22.04)

Test description

This test aims to verify that the SD Card reader is initialized correctly and can be used from the operating system.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The SD card put into the slot on the USB-C docking station.

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 execute the following commands to identify the SD card mounting point:

    lsblk | grep "sd"
    
  5. Execute the following commands for generating, copying and comparing generated file:

    dd if=/dev/urandom of=/tmp/in.bin bs=4K count=100
    dd if=/tmp/in.bin of=/dev/sda bs=4K count=100
    dd if=/dev/sda of=/tmp/out.bin bs=4K count=100
    sha256sum /tmp/in.bin /tmp/out.bin
    
  6. Note the result.

Expected result

  1. The output from the command to identify the SD card mounting point should return information about the SD card mounting location.

    Example output:

    sda           8:0    1  29,5G  0 disk
    └─sda1        8:1    1  29,5G  0 part /media/user/DCB0-C7E8
    sdb           8:16   1     0B  0 disk
    
  2. The output from the last command should contain 2 identical checksums.

    Example output

    2083776668ed0c8095a9ac42188153c02f360e116c14b36d2ef5c98665d75dcb  /tmp/in.bin
    2083776668ed0c8095a9ac42188153c02f360e116c14b36d2ef5c98665d75dcb  /tmp/out.bin
    

UTC019.002 USB Type-C docking station SD Card read/write (Windows 11)

Test description

This test aims to verify that the SD Card reader is initialized correctly and can be used from the operating system.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.
  2. The USB-C docking station connected to the USB-C port.
  3. The SD card put into the slot on the USB-C docking station.

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. Determine the localization of the mounted SD card.
  5. Open PowerShell and execute the following commands:

    New-Item -Path "${drive_location}:\" -Name "testfile.txt" -ItemType "file" -Value "This is a test string."
    Get-Content -Path "${drive_location}:\testfile.txt"
    
  6. Note the result.

Expected result

The last command should return the following message: This is a test string.

UTC020.001 USB Type-C PD current limiting (Ubuntu 22.04)

Test description

This test aims to verify that the power draw from a USB-C PD power supply does not exceed the limits of the power supply's specifications.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test steps 1. Power on the DUT. 1. Boot into the system. 1. Log into the system by using the proper login and password. 1. Attach a 65W USB-C power supply, with the power meter between the power supply and the laptop's Thunderbolt 4 port. 1. Open a terminal window and run the following command, while observing the power meter's display:

```bash
stress-ng -c 20 -t 5
```
  1. Repeat the step above 5 times, noting the maximum power draw shown on the power meter each time.

Expected result

The power draw does not exceed more than 105% of the power supply's nominal power. The power meter's display stays lit all the time, indicating that the power supply's over-current protection was not triggered.

UTC020.002 USB Type-C PD current limiting (Windows 11)

Test description

This test aims to verify that the power draw from a USB-C PD power supply does not exceed the limits of the power supply's specifications.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test steps 1. Power on the DUT. 1. Boot into the system. 1. Log into the system by using the proper login and password. 1. Download and install ThrottleStop 1. Attach a 65W USB-C power supply, with the power meter between the power supply and the laptop's Thunderbolt 4 port. 1. Open ThrottleStop. 1. Click the Limits button to open a window displaying current throttle status and reasons. 1. Click the TS Bench button to open the benchmark window. 1. Start a benchmark with the default parameters (Normal, 16 threads, 120M, Fixed MHz), while observing the power meter's display. 1. Repeat the step above 5 times, noting the maximum power draw shown on the power meter each time.

Expected result

The power draw does not exceed more than 105% of the power supply's nominal power. The power meter's display stays lit all the time, indicating that the power supply's over-current protection was not triggered. When the power draw approaches or exceeds 100% of the AC adapter's rating (65W), the field EDP Other in the ThrottleStop Limit Reasons window is colored red.