From ce4d9ae7cccc9370646adfc30da4db3c4a0a33d1 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Sun, 6 Sep 2009 13:04:01 +0000 Subject: 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) --- NEWS | 4 ++++ monitor-edid | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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`; -- cgit v1.2.1