2005-03-25

XF86Config in Gentoo PPC

i forget to keep /etc/X11/XF86Config in Yellowdog Linux.
after installed Gento PPC on iBook, X did not work.
one of the good reasons to use MAC is: there are only several hardware
specification in Apple's products.

so, you can steal other's configuration from internet :)

================
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/lfp-fix/"
FontPath "/usr/X11R6/lib/X11/fonts/lfp-var/"
FontPath "/usr/X11R6/lib/X11/fonts/sharefont/"
FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/ttfs/"
FontPath "/usr/share/AbiSuite/fonts/"
EndSection

Section "Module"
Load "extmod"
Load "xie"
Load "pex5"
Load "freetype"
Load "int10"
#Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "speedo"
Load "type1"
Load "bitmap" #new
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Option "CustomKeycodes"
Option "XkbModel" "Macintosh"
Option "XkbLayout" "us"
Option "XkbRules" "xfree"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
UseModes "Modes0"
HorizSync 30-70
VertRefresh 50-160
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # []
#Option "SWcursor" # []
#Option "Dac6Bit" # []
#Option "Dac8Bit" # []
#Option "ForcePCIMode" # []
#Option "CPPIOMode" # []
#Option "CPusecTimeout" #
#Option "AGPMode" #
#Option "AGPSize" #
#Option "RingSize" #
#Option "BufferSize" #
#Option "EnableDepthMoves" # []
#Option "CrtScreen" # []
#Option "PanelSize" # []
Option "UseFBDev" # []
Identifier "Card0"
Option "UseFBDev"
Driver "ati"
VendorName "ATI"
BoardName "Radeon Mobility M6 LY"
BusID "PCI:0:16:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "640x480" "800x600"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "640x480" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "640x480" "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "640x480" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "640x480" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

#Section "DRI"
#Mode 0666
#EndSection

Section "Modes"
Identifier "Modes0"
# mode generated by Xeasyconf
Modeline "1024x768" 65.003 1024 1048 1184 1344 768 771 777 806
-HSync -VSync
EndSection

沒有留言: