Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ requires:
plugin: shell
flags: simple
command:
if ! lspci -v | grep dwc3-pci; then
echo "Cannot find the 'dwc3-pci' driver be used!"
if ! lspci -v | grep dwc3-pci
then
echo "The 'dwc3-pci' driver is not loaded!"
echo "Please make sure this feature is supported on this platform and check the value of xDCI in BIOS setting."
exit 1
fi
Expand All @@ -23,23 +24,23 @@ requires:
plugin: shell
flags: simple
command:
if ! lsmod | grep dwc3_pci; then
echo "Cannot find the 'dwc3_pci' module be loaded!"
if ! lsmod | grep dwc3_pci
then
echo "The 'dwc3_pci' module is not loaded!"
echo "Please make sure this feature is supported on this platform and check the value of xDCI in BIOS setting."
exit 1
fi
echo "dwc3_pci module loaded"

id: usb-dwc3/mass-storage
_summary: Check DUT can be detected as mass storage device
_purpose:
Check that after connecting the device under test (DUT) to another device
(host), DUT can be detected as mass storage device by the host.
_steps:
1. In BIOS, enable USB xDCI support (Advanced Menu -> USB Configuration ->
xDCI Support -> [Enabled]).
1. In BIOS, enable USB xDCI support.
2. Press Enter to setup a 256 MB FAT32 image on the device.
3. From an Ubuntu (or Windows) host, connect a cable to the USB OTG port (on
Aaeon EHL board, it's the USB type C connector) of the DUT.
3. From an Ubuntu (or Windows) host, connect a cable to the USB OTG port of the DUT.
_verification:
The host detects and mounts a mass storage device. It has read and write
permissions on it.
Expand All @@ -62,7 +63,6 @@ flags: preserve-locale
id: usb-dwc3/mass-storage-cleanup
_summary: Cleanup mass storage setup after mass storage device test
plugin: shell
category_id: usb-dwc3
after: usb-dwc3/mass-storage
command:
echo "Removing g_mass_storage module..."
Expand All @@ -72,4 +72,6 @@ command:
rm "${PLAINBOX_SESSION_SHARE}"/checkbox-mass-storage-test.img
fi
user: root
category_id: usb-dwc3
estimated_duration: 1s

Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ nested_part:
id: usb-dwc3-manual
_name: DesignWare Core SuperSpeed USB 3.0 Controller (DWC3) tests (manual)
unit: test plan
bootstrap_include:
device
module
include:
usb-dwc3/mass-storage
usb-dwc3/mass-storage-cleanup
bootstrap_include:
com.canonical.certification::device
com.canonical.certification::module

id: usb-dwc3-automated
_name: DesignWare Core SuperSpeed USB 3.0 Controller (DWC3) tests (automated)
unit: test plan
bootstrap_include:
device
module
include:
usb-dwc3/driver-detect
usb-dwc3/module-detect
bootstrap_include:
com.canonical.certification::device
com.canonical.certification::module
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ nested_part:
usb-cert-manual
usb3-cert-manual
usb-c-cert-full # no manual only
usb-dwc3-manual
wireless-cert-manual
# start of suspend related tests
# suspend point
Expand Down Expand Up @@ -114,6 +115,7 @@ nested_part:
touchscreen-cert-automated
usb-cert-automated
usb-automated
usb-dwc3-automated
wireless-cert-automated
wireless-netplan-cert-automated
# start of suspend related tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ nested_part:
usb-manual
usb-c-manual
usb3-manual
usb-dwc3-manual
watchdog-manual
wireless-manual
wireless-wifi-master-mode-manual
Expand Down Expand Up @@ -164,6 +165,7 @@ nested_part:
thunderbolt-cert-automated
tpm-cert-automated
usb-automated
usb-dwc3-automated
watchdog-automated
wireless-automated
wireless-wifi-master-mode-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ nested_part:
usb-manual
usb-c-manual
usb3-manual
usb-dwc3-manual
watchdog-manual
wireless-manual
wireless-wifi-master-mode-manual
Expand Down Expand Up @@ -153,6 +154,7 @@ nested_part:
thunderbolt-cert-automated
tpm-cert-automated
usb-automated
usb-dwc3-automated
watchdog-automated
wireless-automated
wireless-wifi-master-mode-auto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ nested_part:
usb-manual
usb-c-manual
usb3-manual
usb-dwc3-manual
thunderbolt-cert-manual
watchdog-manual
wireless-manual
Expand Down Expand Up @@ -154,6 +155,7 @@ nested_part:
thunderbolt-cert-automated
ubuntucore-automated
usb-automated
usb-dwc3-automated
watchdog-automated
wireless-automated
wireless-wifi-master-mode-auto
Expand Down
Loading