diff options
-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 |