# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Device"
        Identifier "device1"
        Driver "sisimedia"
        Option "DPMS"
        Option "EnableSiSCtrl" "yes"
        Option "useROMData " "False"
# [sisctrl] Set CRT1 device type (Note: overrides auto-detection)
	Option "ForceCRT1Type" "NONE"

	# [sisctrl] Set CRT2 device type (Note: overrides auto-detection)
	Option "ForceCRT2Type" "LCD"

	# [sisctrl] LCD related options
	# Currently all set to defaults

	# [sisctrl] Enable/disable Gamma correction for CRT1
	Option "CRT1Gamma" "on"

	# [sisctrl] Enable/disable gamma correction for CRT2
	Option "CRT2Gamma" "on"

	# [sisctrl] Brightness/contrast for CRT1 and CRT2
	Option "Brightness" "0.000 0.000 0.000"
	Option "Contrast" "0.000 0.000 0.000"

	# [sisctrl] Saturation for CRT1
	Option "CRT1Saturation" "1"

	# Xv (video overlay) head selection
	Option "XvOnCRT2" "yes"

	# [sisctrl] Xv (video overlay) related options
	Option "XvDefaultContrast" "64"
	Option "XvDefaultBrightness" "10"
	Option "XvDefaultHue" "1"
	Option "XvDefaultSaturation" "1"
	Option "XvDefaultDisableGfxLR" "no"
	Option "XvGamma" "on"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
        Option "DPMS"
        HorizSync 30 - 63
        VertRefresh 50 - 75
# Gamma correction for CRT1 and CRT2
	Gamma 1.000 1.000 1.000
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
        DefaultDepth	24
SubSection "Display"
        Depth   24
                Modes           "1280x800@75"   "1280x800@60"   "1280x720@60"   "1280x768@60"   "800x600@60"    "800x600@56"
        EndSubSection
	Device		"Configured Video Device"
EndSection
Section "Module"
    Disable "dri"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "GLcore"
EndSection
Section "DRI"
        Mode 0666
EndSection
