LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How get info about your display if it is digital or analog? (https://www.linuxquestions.org/questions/programming-9/how-get-info-about-your-display-if-it-is-digital-or-analog-735028/)

mmacx 06-23-2009 12:41 PM

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.

adam999 06-23-2009 05:55 PM

xrandr --verbose displays info about for backlight control, does this differ between analog and digital?

mmacx 06-24-2009 12:13 PM

yeah, it's not the same (double checked the output of xrandr). To phrase this into another question:

Are there logs (consistent between different graphics cards) or system calls to let us know if it detected the different ports (VGA,DVI,HDMI)?


All times are GMT -5. The time now is 12:27 AM.