blogic 74274d805c set xservers default color depth to 16
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-09 22:07:26 +00:00

94 lines
1.7 KiB
Xorg

# xorg configuration
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/lib/X11/fonts/misc"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
# Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
# Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
# Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "OWRT"
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "Vesa driver"
EndSection
Section "Device"
Identifier "FBDev"
Driver "fbdev"
#Option "shadowfb" "off"
VideoRam 4096
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
# DefaultDepth 8
DefaultDepth 16
# DefaultDepth 24
SubSectionSub "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
SubSection "Display"
Depth 24
FbBpp 32
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection