summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-11-21 15:51:15 +0000
committerFrancois Pons <fpons@mandriva.com>2001-11-21 15:51:15 +0000
commita66dd79a0885f236f2c83f75f35faa5c36bb8b68 (patch)
tree1d0120c52b3acb5402f775791ba5db1d6679f861 /perl-install/Xconfigurator.pm
parent1e040e9e1ebbe9021210404e62bc98564e6c1ea0 (diff)
downloaddrakx-a66dd79a0885f236f2c83f75f35faa5c36bb8b68.tar
drakx-a66dd79a0885f236f2c83f75f35faa5c36bb8b68.tar.gz
drakx-a66dd79a0885f236f2c83f75f35faa5c36bb8b68.tar.bz2
drakx-a66dd79a0885f236f2c83f75f35faa5c36bb8b68.tar.xz
drakx-a66dd79a0885f236f2c83f75f35faa5c36bb8b68.zip
hack for SiS 640 for laptop.
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r--perl-install/Xconfigurator.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index 77b24fbfa..1e3197761 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -302,6 +302,13 @@ What do you want to do?"), sub { translate($_[0]{text}) }, \@choices) or return;
readlink("$prefix/etc/X11/X") =~ /XF86_/ and $card->{prefer_xf3} = !$card->{force_xf4};
}
+ #- hack for SiS 640 for laptop.
+ if ($card->{identifier} =~ /SiS.*640/ and detect_devices::isLaptop()) {
+ $card->{use_xf4} = $card->{force_xf4} = '';
+ $card->{prefer_xf3} = 1;
+ $card->{server} = 'FBDev';
+ }
+
#- basic installation, use of XFree 4.1 or XFree 3.3.
my ($xf4_ver, $xf3_ver) = ("4.1.0", "3.3.6");
my $xf3_tc = { text => _("XFree %s", $xf3_ver),