summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig.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/Xconfig.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/Xconfig.pm')
-rw-r--r--perl-install/Xconfig.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm
index cb23f05af..487b2b6fa 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -3,6 +3,7 @@ package Xconfig; # $Id$
use diagnostics;
use strict;
+use any;
use common;
use mouse;
use devices;
@@ -190,7 +191,7 @@ sub getinfoFromDDC {
my $o = shift || {};
my $O = $o->{monitor} ||= {};
#- return $o if $O->{hsyncrange} && $O->{vsyncrange} && $O->{modelines};
- my ($m, @l) = `ddcxinfos`;
+ my ($m, @l) = any::ddcxinfos();
$? == 0 or return $o;
$o->{card}{memory} ||= to_int($m);