From c0e4b6f737dc71e342d162e15e504cdff763d7ea Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Sat, 2 Jan 2010 03:56:20 +0000 Subject: monitor-parse-edid: print the number of EDID extension blocks --- NEWS | 2 +- monitor-parse-edid | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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}, -- cgit v1.2.1