Results 1 to 4 of 4
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 ...
- 06-23-2009 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
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.
- 06-24-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Don't know about programmatically, but if you are using a VGA port or DVI->VGA adapter, it is analog, and if a DVI or HDMI port direct to the display, it is digital.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-24-2009 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
Are there logs (consistent between different graphics cards) or system calls to let us know if it detected the different ports (VGA,DVI,HDMI)?
- 06-24-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Consistent logs? It would be nice!

I looked at my nvidia installation log in /var/log and found nothing about the display types it found. It did use ACPI to determine the interrupt to use for the card.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
