summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator_consts.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2001-04-14 10:21:00 +0000
committerStew Benedict <stewb@mandriva.org>2001-04-14 10:21:00 +0000
commite4179e04d6c1fff7b7601644089631d6a6eae0c4 (patch)
treeda2de8310e0849ac0da2ce4072e08a3cd834767e /perl-install/Xconfigurator_consts.pm
parenta6cbc8581ce970301a0e186381d1b748282cb15c (diff)
downloaddrakx-backup-do-not-use-e4179e04d6c1fff7b7601644089631d6a6eae0c4.tar
drakx-backup-do-not-use-e4179e04d6c1fff7b7601644089631d6a6eae0c4.tar.gz
drakx-backup-do-not-use-e4179e04d6c1fff7b7601644089631d6a6eae0c4.tar.bz2
drakx-backup-do-not-use-e4179e04d6c1fff7b7601644089631d6a6eae0c4.tar.xz
drakx-backup-do-not-use-e4179e04d6c1fff7b7601644089631d6a6eae0c4.zip
updates to X, mouse setup for PPC
Diffstat (limited to 'perl-install/Xconfigurator_consts.pm')
-rw-r--r--perl-install/Xconfigurator_consts.pm16
1 files changed, 15 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator_consts.pm b/perl-install/Xconfigurator_consts.pm
index 5bce19478..aad9fc13c 100644
--- a/perl-install/Xconfigurator_consts.pm
+++ b/perl-install/Xconfigurator_consts.pm
@@ -112,7 +112,8 @@ use common qw(:common);
__("16 MB or more") => 16384,
);
-$good_default_monitor = "High Frequency SVGA, 1024x768 at 70 Hz";
+$good_default_monitor = arch !~ /ppc/ ? "High Frequency SVGA, 1024x768 at 70 Hz" :
+ detect_devices::get_mac_model =~ /^iBook/ ? "iBook 800x600" : "iMac/PowerBook 1024x768";
$low_default_monitor = "Super VGA, 800x600 at 56 Hz";
%standard_monitors = (
@@ -654,6 +655,19 @@ Modeline "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vs
# 1024x768 @ 70 Hz, 56.5 kHz hsync
Modeline "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
';
+$modelines_text_apple = '
+Section "Modes"
+ Identifier "Mac Modes"
+ # Apple iMac modes
+ Modeline "1024x768" 78.525 1024 1049 1145 1312 768 769 772 800 +hsync +vsync
+ Modeline "800x600" 62.357 800 821 901 1040 600 601 604 632 +hsync +vsync
+ Modeline "640x480" 49.886 640 661 725 832 480 481 484 514 +hsync +vsync
+ # Apple monitors tend to do 832x624
+ Modeline "832x624" 57 832 876 940 1152 624 625 628 667 -hsync -vsync
+ # Apple PowerBook G3
+ Modeline "800x600" 100 800 816 824 840 600 616 624 640 -hsync -vsync
+EndSection
+';
$modelines_text = '
# This is a set of standard mode timings. Modes that are out of monitor spec
# are automatically deleted by the server (provided the HorizSync and