aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xmonitor-parse-edid2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 318b4cb..af96b80 100644
--- a/NEWS
+++ b/NEWS
@@ -6,7 +6,7 @@
was caused by a bug in the removed code)
o fix the retrieval of VBE vendor strings when using the LRMI interface
- monitor-parse-edid:
- o print EDID version
+ o print EDID version and the number of EDID extension blocks
Version 2.5 - 18 October 2009, by Anssi Hannula
diff --git a/monitor-parse-edid b/monitor-parse-edid
index 1200227..a033c35 100755
--- a/monitor-parse-edid
+++ b/monitor-parse-edid
@@ -447,6 +447,8 @@ sub print_edid {
print "Name: $edid->{monitor_name}\n" if $edid->{monitor_name};
print "EISA ID: $edid->{EISA_ID}\n" if $edid->{EISA_ID};
print "EDID version: $edid->{edid_version}.$edid->{edid_revision}\n";
+ # this is a number, despite the official name containing "flag":
+ print "EDID extension blocks: $edid->{extension_flag}\n";
printf "Screen size: %.1f cm x %.1f cm (%3.2f inches%s)\n",
$edid->{max_size_horizontal},
$edid->{max_size_vertical},