aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2010-01-02 03:56:20 +0000
committerAnssi Hannula <anssi@mandriva.org>2010-01-02 03:56:20 +0000
commitc0e4b6f737dc71e342d162e15e504cdff763d7ea (patch)
treea5366e8b810a17e89515fe21fbd10734fae65ab8
parente08d9161b291e0af26f098a59e24ad3932ff2d70 (diff)
downloadmonitor-edid-c0e4b6f737dc71e342d162e15e504cdff763d7ea.tar
monitor-edid-c0e4b6f737dc71e342d162e15e504cdff763d7ea.tar.gz
monitor-edid-c0e4b6f737dc71e342d162e15e504cdff763d7ea.tar.bz2
monitor-edid-c0e4b6f737dc71e342d162e15e504cdff763d7ea.tar.xz
monitor-edid-c0e4b6f737dc71e342d162e15e504cdff763d7ea.zip
monitor-parse-edid: print the number of EDID extension blocks
-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},