diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-01-03 17:46:02 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-01-03 17:46:02 +0000 |
commit | 6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b (patch) | |
tree | 76aa99e1c7eec479dd828bd97041abd44783675c /perl-install/install2.pm | |
parent | c451c2ba4d5470ba3eb838a8096c52f7e96e9189 (diff) | |
download | drakx-backup-do-not-use-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar drakx-backup-do-not-use-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar.gz drakx-backup-do-not-use-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar.bz2 drakx-backup-do-not-use-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar.xz drakx-backup-do-not-use-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.pm | 9 |
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')); + }; } |