From 6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 3 Jan 2002 17:46:02 +0000 Subject: save the output of ddcxinfos before modprobe'ing i810fb, and use that output for Xconfig (when i810fb is modprobe'd, ddc probe doesn't work anymore) --- perl-install/install2.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 1aa15d45b..529a3b6ac 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -328,9 +328,12 @@ sub start_i810fb { my $xres = $vga_to_xres{$vga} || '800'; log::l("trying to load i810fb module with xres <$xres> (vga was <$vga>)"); - eval { modules::load('i810fb', undef, - ("xres=$xres", 'hsync1=32', 'hsync2=48', 'vsync1=50', 'vsync2=70', #- this sucking i810fb does not accept floating point numbers in hsync! - 'vram=2', 'bpp=16', 'accel=1', 'mtrr=1', 'hwcur=1', 'xcon=4')) }; + eval { + any::ddcxinfos(); # keep the result otherwise ddcxinfos doesn't return good results afterwards + modules::load('i810fb', undef, + ("xres=$xres", 'hsync1=32', 'hsync2=48', 'vsync1=50', 'vsync2=70', #- this sucking i810fb does not accept floating point numbers in hsync! + 'vram=2', 'bpp=16', 'accel=1', 'mtrr=1', 'hwcur=1', 'xcon=4')); + }; } -- cgit v1.2.1