Check out my first novel, midnight's simulacra!

DDC/EDID: Difference between revisions

From dankwiki
No edit summary
 
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:


The data to be returned over DDC is stored in [http://en.wikipedia.org/wiki/Extended_display_identification_data EDID] format.
The data to be returned over DDC is stored in [http://en.wikipedia.org/wiki/Extended_display_identification_data EDID] format.
==When it doesn't work==
Sometimes, despite hardware support, DDC breaks down. This usually manifests as bad settings in [[Xorg_hell|X]], especially regarding viewing dimensions (DisplaySize) and DPI (DPI, NVIDIA-specific option). Look at <tt>xdpyinfo</tt> to see what X believes the settings to be. DisplaySize is described in millimeters (25.4 per inch).
* Extract H*V from a diagonal length using the Pythagorean Theorem and the resolution ratio
* Divide H and V by their appropriate resolutions to get the DPI
==See also==
* [http://www.mythtv.org/wiki/Specifying_DPI_for_NVIDIA_Cards Specifying DPI for NVIDIA Cards] at the MythTV site
* [http://http.download.nvidia.com/XFree86/Linux-x86/1.0-8178/README/appendix-y.html Appendix Y -- DPI] from the NVIDIA documentation

Latest revision as of 14:23, 8 September 2010

The Display Data Channel is carried on three pins in HDMI, DVI and (modern) VGA cables (a VGA monitor implementing DDC or DDC2 will set the 9th (KEY) pin to +5V. To read the DDC information, use ddcprobe (requires root). To manipulate these settings, use ddccontrol from the ddccontrol package. There exist three DDC protocols (standardized by the VESA consortium):

  • DDC1 - A unidirectional (display to host only) serial comm system which provides basic display ID and feature support information (including supported timings, display size, colorimetry and gamma, etc.) to the host. This uses pin 12 on the 15-pin "VGA" connector as a data line.
  • DDC2B - Adds clock (pin 15) and return (pin 11) to enable at least ID information to be obtained via an I²C interface. I²C is a bidirectional interface, but display control via DDC2B is not defined at this time.
  • DDC2AB - Full ID and control of the monitor via ACCESS.bus. As ACCESS.bus is basically a command and protocol definition on top of the I²C hardware interface, this uses the same lines as DDC2B.

The data to be returned over DDC is stored in EDID format.

When it doesn't work

Sometimes, despite hardware support, DDC breaks down. This usually manifests as bad settings in X, especially regarding viewing dimensions (DisplaySize) and DPI (DPI, NVIDIA-specific option). Look at xdpyinfo to see what X believes the settings to be. DisplaySize is described in millimeters (25.4 per inch).

  • Extract H*V from a diagonal length using the Pythagorean Theorem and the resolution ratio
  • Divide H and V by their appropriate resolutions to get the DPI

See also