Display Connectivity
Counts the display ports exposed by the DRM subsystem and how many of them have a monitor connected. It collects data only and does not fail on missing displays.
Test suite
test_display_connectivity (src/esq/suites/system/display/test_display_connectivity.py)
Integration type
Type 1: generic suite . ESQ checks the system directly, and the profile selects the checks.
Key metric
total_connected (all ports), hdmi_ports_connected (HDMI), or dp_ports_connected (DisplayPort), in ports
Devices
DRM display connectors (/sys/class/drm)
How It Works
List the DRM cards and their connectors, optionally only those of drm_device.
Keep the connectors selected by the check_* flags. HDMI matches connector types containing HDMI, DisplayPort matches types containing DP (including eDP).
Count total and connected ports per type. A port is connected when its DRM status is connected.
Save the device and port list, with the modes of connected ports, to esq_data/data/suites/system/display/results/<test_id>/.
Parameters
Parameter
Default
Description
check_all, check_hdmi, check_displayport
false
Ports to check: all connectors, HDMI only, or DisplayPort only. Set one per test case.
drm_device
unset
DRM card to check, for example card0. Unset checks all cards.
Profiles
Expand a profile to see the test cases it runs with this suite.
profile.horizontal.system.display
Test ID
Test case
SYS-DISP-001
All Display Ports
SYS-DISP-002
HDMI Ports
SYS-DISP-003
DisplayPort
Run
esq run --profile profile.horizontal.system.display --filter test_id = SYS-DISP-001