diff options
author | Anssi Hannula <anssi@mandriva.org> | 2009-09-06 13:04:01 +0000 |
---|---|---|
committer | Anssi Hannula <anssi@mandriva.org> | 2009-09-06 13:04:01 +0000 |
commit | ce4d9ae7cccc9370646adfc30da4db3c4a0a33d1 (patch) | |
tree | e3f24ce0a20fa419ee6d55499c91605d784970a1 /monitor-edid | |
parent | 9724a1766da9ddeeb5f19a2fe28d812fa1436cd2 (diff) | |
download | monitor-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)
Diffstat (limited to 'monitor-edid')
-rwxr-xr-x | monitor-edid | 2 |
1 files changed, 1 insertions, 1 deletions
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`; |