mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
=== USB Configuration
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/hardware/usb]
==== Description
This test checks if the configuration is consistent with hardware state,
and verifies whether the USB ports are correctly _locked_ (restricted from
use) and _unlocked_ (available for use) when they should. It also verifies
this behavior during reboot. This test does not involve the actual use of
the USB port; it only ensures the configured state is consistent with the
hardware state.
If this pass you can be certain that the configuration of the USB
port is handled correctly.
==== Topology
image::topology.svg[USB Configuration topology, align=center, scaledwidth=75%]
==== Sequence
. Set up topology and attach to target DUT
. Unlock all USB ports
. Verify that all USB ports are unlocked
. Lock all USB ports
. Verify that all USB ports are locked
. Remove all hardware configuration
. Verify that all USB ports are locked
. Unlock USB ports
. Verify that all USB ports are unlocked
. Save the configuration to startup configuration and reboot
. Verify USB port remain unlocked after reboot