summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2005-02-23 13:38:39 +0000
committerStew Benedict <stewb@mandriva.org>2005-02-23 13:38:39 +0000
commit73ea4e24fcf8829d802e5db87395759f5e726471 (patch)
treec639b7a6884ba3165a91640ce4184e83d65c1240 /perl-install/Xconfig
parent0920635b65cede09a947647473aa4bbd8dc83a8f (diff)
downloaddrakx-73ea4e24fcf8829d802e5db87395759f5e726471.tar
drakx-73ea4e24fcf8829d802e5db87395759f5e726471.tar.gz
drakx-73ea4e24fcf8829d802e5db87395759f5e726471.tar.bz2
drakx-73ea4e24fcf8829d802e5db87395759f5e726471.tar.xz
drakx-73ea4e24fcf8829d802e5db87395759f5e726471.zip
XBox support - XFdrake
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/monitor.pm1
-rw-r--r--perl-install/Xconfig/xfree.pm11
2 files changed, 12 insertions, 0 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm
index 76fc6e13e..ccd9b4c50 100644
--- a/perl-install/Xconfig/monitor.pm
+++ b/perl-install/Xconfig/monitor.pm
@@ -10,6 +10,7 @@ use log;
sub good_default_monitor() {
+ is_xbox() ? 'Generic|640x480 @ 60 Hz' :
arch() =~ /ppc/ ?
(detect_devices::get_mac_model() =~ /^iBook/ ? 'Apple|iBook 800x600' : 'Apple|iMac/PowerBook 1024x768') :
(detect_devices::isLaptop() ? 'Generic|Flat Panel 1024x768' : 'Generic|1024x768 @ 70 Hz');
diff --git a/perl-install/Xconfig/xfree.pm b/perl-install/Xconfig/xfree.pm
index 09f70dedf..d66c6634d 100644
--- a/perl-install/Xconfig/xfree.pm
+++ b/perl-install/Xconfig/xfree.pm
@@ -509,6 +509,17 @@ Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
+END
+
+$default_header .= <<'END_XBOX' if is_xbox();
+ Option "PciProbe1" "false"
+ Option "PciProbe2" "false"
+ Option "PciForceConfig1" "false"
+ Option "PciForceConfig2" "false"
+ Option "PciOsConfig" "true"
+END_XBOX
+
+$default_header .= <<'END';
EndSection
END