From 73ea4e24fcf8829d802e5db87395759f5e726471 Mon Sep 17 00:00:00 2001 From: Stew Benedict Date: Wed, 23 Feb 2005 13:38:39 +0000 Subject: XBox support - XFdrake --- perl-install/Xconfig/monitor.pm | 1 + perl-install/Xconfig/xfree.pm | 11 +++++++++++ 2 files changed, 12 insertions(+) (limited to 'perl-install/Xconfig') 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 (server abort) #DontZoom # disable / (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 -- cgit v1.2.1