Blog Archives

#MacOSX : Display EDID [UPDATED]

EDID (Extended Display Identification Data) enables Mac OS X to know what kind of monitor is connected to it.
Why are we interested in it? If we know the exact model of LCD connected to our mac we can retrieve who is the manufacter of the panel (which often it is not the brand under the monitor is sold) and its properties (like response time, contrast and brightness) as Apple doesn’t specify they in its own products.

So here we go:

  1. Open Terminal app.
  2. Type (see this comment):
    ioreg -lw0 | grep IODisplayEDID | sed "/[^<]*</s///" | xxd -p -r | strings -6
    ioreg -lw0 -r -c "IODisplayConnect" -n "display0" -d 2 | grep IODisplayEDID | sed "/[^<]*</s///" | xxd -p -r | strings -6
  3. Second line is what we are looking for.

NOTE: if you are interested in how this work, you can type in Terminal (but be ready for a full NERD immersion):

  • man bash
  • man ioreg
  • man grep
  • man sed
  • man xxd
  • man strings

Don’t say i haven’t Warned you! 😀