aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2009-09-06 13:04:01 +0000
committerAnssi Hannula <anssi@mandriva.org>2009-09-06 13:04:01 +0000
commitce4d9ae7cccc9370646adfc30da4db3c4a0a33d1 (patch)
treee3f24ce0a20fa419ee6d55499c91605d784970a1
parent9724a1766da9ddeeb5f19a2fe28d812fa1436cd2 (diff)
downloadmonitor-edid-ce4d9ae7cccc9370646adfc30da4db3c4a0a33d1.tar
monitor-edid-ce4d9ae7cccc9370646adfc30da4db3c4a0a33d1.tar.gz
monitor-edid-ce4d9ae7cccc9370646adfc30da4db3c4a0a33d1.tar.bz2
monitor-edid-ce4d9ae7cccc9370646adfc30da4db3c4a0a33d1.tar.xz
monitor-edid-ce4d9ae7cccc9370646adfc30da4db3c4a0a33d1.zip
monitor-edid, monitor-get-edid:
probe ports 0-2 by default instead of just 0-1 (many NVIDIA cards seem to be using port 2 and the changes in monitor-get-edid-using-vbe should make it safe for old problematic NVIDIA cards as well)
-rw-r--r--NEWS4
-rwxr-xr-xmonitor-edid2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d8f7a09..5dbdab4 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,10 @@
NVIDIA cards)
o check if the port supports DDC before trying to read EDID data (this
should prevent problems when probing nonexistent ports on old cards)
+- monitor-edid, monitor-get-edid:
+ o probe ports 0-2 by default instead of just 0-1 (many NVIDIA cards
+ seem to be using port 2 and the changes in monitor-get-edid-using-vbe
+ should make it safe for old problematic NVIDIA cards as well)
Version 2.2 - 16 August 2009
diff --git a/monitor-edid b/monitor-edid
index 888b312..3f4d7a2 100755
--- a/monitor-edid
+++ b/monitor-edid
@@ -86,7 +86,7 @@ sub get_edids {
if (!@l || !$b_get_first && $< == 0) {
if (my $cmd = get_using_vbe()) {
my $min_port = $opt{'vbe-port'} || 0;
- my $max_port = $opt{'max-vbe-port'} || $opt{'vbe-port'} || 1;
+ my $max_port = $opt{'max-vbe-port'} || $opt{'vbe-port'} || 2;
foreach my $port ($min_port .. $max_port) {
warn "probing EDID using VBE (port $port)\n" if $opt{verbose};
my $edid = `$cmd --port $port`;