Class DrmEdid
java.lang.Object
oshi.util.driver.linux.DrmEdid
Utility to read EDID data from the Linux DRM (Direct Rendering Manager) subsystem. The kernel exposes raw EDID bytes
for each connected display at
/sys/class/drm/card<N>-<connector>/edid, which works regardless of whether X11
or Wayland is in use.-
Method Summary
Modifier and TypeMethodDescriptionstatic List<byte[]> Read EDID byte arrays from /sys/class/drm for all connected displays.
-
Method Details
-
getEdidArrays
Read EDID byte arrays from /sys/class/drm for all connected displays.- Returns:
- a list of EDID byte arrays (at least 128 bytes each), or empty if none found
-