Dasharo Compatibility: SD Card Reader
Test cases common documentation
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.
- The
USB-C docking station
connected to the USB-C port. - The
SD card
put into the slot on theUSB-C docking station
.
DSD001.001 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
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu 22.04
Test setup
- Proceed with the Test cases common documentation 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 execute the following command:
lsusb | grep "Card Reader"
- 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
DSD001.002 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
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows 11
Test setup
- Proceed with the Test cases common documentation 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 execute the following command:
Get-PnpDevice -Status "OK" -Class "DiskDrive"
-
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
DSD002.001 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
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu 22.04
Test setup
- Proceed with the Test cases common documentation 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 execute the following commands to identify the SD card mounting point:
lsblk | grep "sd"
-
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
-
Note the result.
Expected result
-
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
-
The output from the last command should contain 2 identical checksums.
Example output
2083776668ed0c8095a9ac42188153c02f360e116c14b36d2ef5c98665d75dcb /tmp/in.bin 2083776668ed0c8095a9ac42188153c02f360e116c14b36d2ef5c98665d75dcb /tmp/out.bin
DSD002.002 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
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows 11
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Determine the localization of the mounted SD card.
-
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"
-
Note the result.
Expected result
The last command should return the following message: This is a test string.