aboutsummaryrefslogtreecommitdiffstats
path: root/monitor-probe-using-X
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-23 11:24:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-23 11:24:56 +0000
commit15d403f12d915ad1622875f0ae46625b267eb96b (patch)
treeab7c67d2addd34f7637fdce907da9fd256a082bc /monitor-probe-using-X
parent1b5fed288994c16176b73e91dea3c814d42284b2 (diff)
downloadmonitor-edid-15d403f12d915ad1622875f0ae46625b267eb96b.tar
monitor-edid-15d403f12d915ad1622875f0ae46625b267eb96b.tar.gz
monitor-edid-15d403f12d915ad1622875f0ae46625b267eb96b.tar.bz2
monitor-edid-15d403f12d915ad1622875f0ae46625b267eb96b.tar.xz
monitor-edid-15d403f12d915ad1622875f0ae46625b267eb96b.zip
- monitor-probe:
o probe "using DMI" before "using X" - monitor-probe-using-X: o in last resort, get Intel BIOS mode when "BIOS panel mode is bigger than probed programmed mode"
Diffstat (limited to 'monitor-probe-using-X')
-rwxr-xr-xmonitor-probe-using-X5
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor-probe-using-X b/monitor-probe-using-X
index 70b0252..1b6299c 100755
--- a/monitor-probe-using-X
+++ b/monitor-probe-using-X
@@ -177,6 +177,11 @@ sub parse_X_log {
# via format: "Selected Panel Size is 640x480\n", ... (via/via_driver.c)
|| $log =~ m!\bSelected Panel Size is (\d+)x(\d+)$!m
+ # (WW) intel(0): BIOS panel mode is bigger than probed programmed mode, continuing with BIOS mode.
+ # (II) intel(0): BIOS mode:
+ # (II) intel(0): Modeline "1280x800"x0.0 68.88 1280 1296 1344 1410 800 804 807 815 (48.9 kHz)
+ || $log =~ m!BIOS panel mode is bigger than probed programmed mode, continuing with BIOS mode.*?BIOS mode:.*?Modeline "(\d+)x(\d+)"!s
+
or return;
my ($X, $Y) = ($1, $2);