Subject: G4 Cube / XFree86 Config
To: None <port-macppc@netbsd.org>
From: Paul B. Lorah <paul@macmaverick.net>
List: port-macppc
Date: 09/04/2001 19:50:53
Hi-
I've tried very hard to get my X config file to work on my cube, but I'm
missing something with the Device Settings, here's the file:
#
# XF86Config example
#
# The ordering of sections is not important in version 4.0 and later.
#
#**********************************************************************
#
#Files section. This allows default font and rgb paths to be set
#
#**********************************************************************
Section
"Files"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath
"/usr/X11R6/lib/X11/fonts/misc/"
FontPath
"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath
"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath
"/usr/X11R6/lib/X11/fonts/Type1/"
FontPath
"/usr/X11R6/lib/X11/fonts/CID/"
FontPath
"/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath
"/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath
"/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
#
#**********************************************************************
#
#Server flags section. This contains various server-wide Options.
#
#**********************************************************************
Section "ServerFlags"
Option "blank time" "10" # 10 minutes
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"
Option "PCI type" "UniNorth"
# Option "PCI type" "Bandit"
# Option "PCI type" "Grackle"
EndSection
#
#**********************************************************************
#
#Input devices
#
#**********************************************************************
#
#**********************************************************************
#
#Core keyboard's InputDevice section
#
#**********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "Protocol" "wskbd"
Option "Device" "/dev/wskbd1"
# Option "Device" "/dev/wskbd1"
# Option "AutoRepeat" "500 5"
Option "XkbRules" "xfree86"
Option "XkbModel" "macusb"
# Option "XkbModel" "macadb"
Option "XkbLayout" "us"
# Option "XkbVariant" "altjp"
EndSection
#
#**********************************************************************
#
#Core Pointer's InputDevice section
#
#**********************************************************************
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "wsmouse"
Option "Device" "/dev/wsmouse"
EndSection
#
#**********************************************************************
#
#Monitor section
#
#**********************************************************************
#Any number of monitor sections may be present
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 27-82 # multisync
VertRefresh 50-72 # multisync
Option "dpms"
EndSection
#
#**********************************************************************
#
#Graphics device section
#
#**********************************************************************
#Section "Device"
# Chipset "mach64"
# Identifier "Mach64"
#Driver "ATI"
# BusID "PCI:0:17:0"
# Option "noaccel"
#EndSection
Section "Device"
Chipset "r128"
Identifier "Rage 128"
Driver "r128"
BusID "PCI:0:16:0"
# Option "noaccel"
EndSection
#
#**********************************************************************
#
#Screen sections.
#
#**********************************************************************
Section "Screen"
Identifier "Screen1"
# Device "Mach64"
Device "Rage128"
Monitor "Generic Monitor"
# XXX 24bpp may be broken
# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
#
#**********************************************************************
#
#ServerLayout sections.
#
#**********************************************************************
Section "ServerLayout"
Identifier "Main Layout"
Screen "Screen1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
This is the output of startx logged to a file:
XFree86 Version 4.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 1 July 2000
If the server is older than 6-12 months, or if your card is newer
than the above date, look for a newer version before reporting
problems. (see http://www.XFree86.Org/FAQ)
Operating System: NetBSD/macppc 1.5 [ELF] The NetBSD Foundation, Inc.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Sep 4 12:23:20 2001
(==) Using config file: "/etc/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "Main Layout"
(**) |-->Screen "Screen1" (0)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "Rage 128"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Keyboard: Protocol: wskbd
(**) XKB: rules: "xfree86"
(**) XKB: model: "macusb"
(**) XKB: layout: "us"
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(--) Using wscons driver (/dev/ttyE0)
(**) PCI-HOST bridge is UniNorth
(--) PCI: (0:16:0) ATI unknown chipset (0x5144) rev 0, Mem @
0x98000000/27, 0x90080000/19, I/O @ 0x0400/8
(II) ATI: ATI driver (version 5.3.5) for chipsets: ati, ativga
(II) r128: Driver for ATI Rage 128 chipset: ATI Rage 128 RE (PCI),
ATI Rage 128 RF (AGP), ATI Rage 128 RK (PCI), ATI Rage 128 RL (AGP),
ATI Rage 128 Pro PF (AGP), ATI Rage 128 Mobility LE (PCI),
ATI Rage 128 Mobility LF (AGP)
(II) CHIPS: Driver for Chips and Technologies chipsets: ct65520,
ct65525,
ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550,
ct65554, ct65555, ct68554, ct69000, ct69030, ct64200, ct64300
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
mga2164w AGP, mgag100, mgag200, mgag200 PCI, mgag400
(II) FBDev: driver for framebuffer: fbdev, afb
(WW) r128: Chipset "r128" in Device section "Rage 128" isn't valid for
this driver
(EE) No devices detected.
Fatal server error:
no screens found
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
X connection to :0.0 broken (explicit kill or server shutdown).
---
This is a stock 500mhz G4 Cube with a 17" LCD Studio Display. Thanks so
much!
Paul Lorah
--
#=#=#=#=#=#=
Paul B. Lorah
MacMaverick(SM), Inc.
Mac OS Consulting & Internet Design Services
http://www.macmaverick.net