diff options
author | Anssi Hannula <anssi@mandriva.org> | 2010-01-03 16:29:59 +0000 |
---|---|---|
committer | Anssi Hannula <anssi@mandriva.org> | 2010-01-03 16:29:59 +0000 |
commit | 21a64af3da7dd58acf54110c00bea52c4d589ba6 (patch) | |
tree | 622a7046fb1e5132fee0cb53ccc0df9cefc520c4 | |
parent | 0864b2b7e5ba82a34fea36202959a94240f46d47 (diff) | |
download | monitor-edid-21a64af3da7dd58acf54110c00bea52c4d589ba6.tar monitor-edid-21a64af3da7dd58acf54110c00bea52c4d589ba6.tar.gz monitor-edid-21a64af3da7dd58acf54110c00bea52c4d589ba6.tar.bz2 monitor-edid-21a64af3da7dd58acf54110c00bea52c4d589ba6.tar.xz monitor-edid-21a64af3da7dd58acf54110c00bea52c4d589ba6.zip |
- monitor-probe:
o do not probe using X if DMI probe was successful
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | monitor-probe | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -50,6 +50,9 @@ - monitor-probe-using-X: o accept EDID data that contains extension blocks +- monitor-probe: + o do not probe using X if DMI probe was successful + Version 2.5 - 18 October 2009, by Anssi Hannula - monitor-probe-using-X: diff --git a/monitor-probe b/monitor-probe index e41578c..e9cc27f 100755 --- a/monitor-probe +++ b/monitor-probe @@ -27,7 +27,7 @@ fi monitor-edid --try-in-console $opt_v && exit 0 [ -n "$opt_v" ] && echo "probing DMI" 1>&2 -lspcidrake | sed -n 's/^\(Resolution\|Diagonal_size\):\([^:]*\):.*/\1: \2/p' +lspcidrake | sed -n 's/^\(Resolution\|Diagonal_size\):\([^:]*\):.*/\1: \2/p' | grep . && exit 0 [ -n "$opt_v" ] && echo "probing using X" 1>&2 monitor-probe-using-X $X_driver && exit 0 |