summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-03 17:46:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-03 17:46:02 +0000
commit6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b (patch)
tree76aa99e1c7eec479dd828bd97041abd44783675c /perl-install/install2.pm
parentc451c2ba4d5470ba3eb838a8096c52f7e96e9189 (diff)
downloaddrakx-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar
drakx-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar.gz
drakx-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar.bz2
drakx-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar.xz
drakx-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.zip
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)
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm9
1 files changed, 6 insertions, 3 deletions
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'));
+ };
}