How get info about your display if it is digital or analog?
So I'm trying to find an API or a system call that will let me know if the display is digital or not (byte 20, bit 7 in EDID). Has anyone tried this? Here's what I've looked at:
1. xrandr --verbose == tells me a lot about the display, but nothing about digital or not.
2. read-edid/ parse-edid == what I'm looking for, but requires root privileges. I might be able to dig in there and just try to extract what I need without root.
3. parse /var/log/Xorg.0.log == spits out the EDID in hex, but not standardized. ATI differs from NV.