get-edid
Retrieve raw EDID from a monitor via DDC
TLDR
SYNOPSIS
get-edid [OPTIONS]
DESCRIPTION
get-edid is part of the read-edid toolkit. It retrieves the raw Extended Display Identification Data (EDID) block from a connected monitor using the VESA Data Display Channel (DDC). It can talk to the display through Linux I2C (Enhanced DDC) or, on supported builds, through real-mode VBE DDC calls.The program writes the binary EDID to standard output. Companion tool parse-edid reads that binary stream and prints a human-readable summary plus an xorg.conf-compatible Monitor section (modelines usable with xrandr). The usual workflow is to pipe the two together: get-edid | parse-edid.On modern systems, reading **/sys/class/drm/\*/edid and decoding with edid-decode is often simpler and does not require root; get-edid** remains useful when sysfs EDID is missing or when configuring displays from a lower-level DDC path.
PARAMETERS
-b BUS, --bus BUS
Only scan I2C bus number BUS (when built with i2c support).-c, --classiconly
Use only the older VBE interface (when both i2c and VBE are available).-h, --help
Display a short help message and list build-supported options.-i, --i2conly
Use only the I2C interface (when both i2c and VBE are available).-m NUM, --monitor NUM
Request information for monitor number NUM (VBE interface only).-q, --quiet
Suppress status messages on standard error.
INSTALL
CAVEATS
Usually needs root (or CAPSYSRAWIO / access to the relevant /dev/i2c-* devices). Not all video cards and monitors implement DDC reliably; some combinations return partial or empty data. Multi-monitor setups may require --bus or --monitor to select the right display. Prefer edid-decode on **/sys/class/drm/\*/edid** when kernel DRM exposes EDID for the connector.
HISTORY
read-edid was originally written by John Fremlin. From version 1.4.2, Matthew Kern became maintainer and largely rewrote the tools for 3.0.0, adding I2C support and the current option set. Homepage: http://www.polypux.org/projects/read-edid/.
SEE ALSO
edid-decode(1), xrandr(1), Xorg(1)
