All pastes #862389 Raw Edit

Untitled

public text v1 · immutable
#862389 ·published 2008-01-19 04:46 UTC
rendered paste body
Section "Files"
	FontPath	"/usr/share/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/100dpi"
	FontPath	"/usr/share/fonts/75dpi"
	FontPath	"/usr/share/fonts/artwiz"
	FontPath	"/usr/share/fonts/cyrillic"
	FontPath	"/usr/share/fonts/default"
	FontPath	"/usr/share/fonts/dejavu"
	FontPath	"/usr/share/fonts/encodings"
	FontPath	"/usr/share/fonts/freefonts"
	FontPath	"/usr/share/fonts/liberation-fonts-ttf"
	FontPath	"/usr/share/fonts/misc"
	FontPath	"/usr/share/fonts/sharefonts"
	FontPath	"/usr/share/fonts/terminus"
	FontPath	"/usr/share/fonts/ttf-bitstream-vera"
	FontPath	"/usr/share/fonts/unifont"
	FontPath	"/usr/share/fonts/util"
EndSection

Section "Module"
	Load		"i2c"
	Load		"bitmap"
	Load		"ddc"
	Load		"dri"
	Load		"extmod"
	Load		"freetype"
	Load		"glx"
	Load		"int10"
	Load		"type1"
	Load		"vbe"
        Load            "dbe"
        Load            "v4l"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver	"kbd"
	Option	"CoreKeyboard"
	Option	"XkbRules"     "xorg"
	Option	"XkbModel"     "pc105"
	Option	"XkbLayout"    "us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver	"mouse"
	#Option	"CorePointer"
	Option	"Device"	  "/dev/input/mice"
	Option	"Protocol"	  "ExplorerPS/2"
	Option	"Emulate3Buttons" "true"
EndSection

Section "InputDevice"
     Identifier "touchscreen"
     Option "Device"          "/dev/input/touchscreen"
    ##############################################
    Driver "evtouch"
    Option "DeviceName"      "touchscreen"
    Option "MinX"            "50"
    Option "MinY"            "30" # Highter moves more to the right
    Option "MaxX"            "1967" # Right edge
    Option "MaxY"            "2000"   # 0 at the top, 50 lower than top
    Option "ReportingMode"   "Raw"
    Option "TapTimer"        "0"
    Option "SwapX"           "1"
    #Option "SwapY"           "1"
    #Option "Rotate"          "CW"
    #Option "Emulate3Buttons"
    #Option "Emulate3Timeout" "50"
    #Option "SendCoreEvents"
    #Option "Calibrate"       "1"
    ##############################################
#    Driver "egalax"
#    Option "Parameters" "/etc/egalax.cal"
#    Option "ScreenNo" "0"
#    Option "SendCoreEvents"  "On"
    ##############################################
    #NOTES: REFERENCE: http://linux.chapter7.ch/touchkit/mini-howto.txt
    # touchkitusb -  the kernel input subsystem driver, get the events form hardware, forward them to the input layer.
    # evtouch     -  Xorg driver to read raw data from from kernel driver
    # eGalax touch screens (in Xenarc) has raw values from 0-2047 in x and y directions.
EndSection

Section "InputDevice"
    Identifier "dummy"
    Driver "void"
    Option "Device" "/dev/input/mice"
EndSection

Section "Device"
	Identifier "CX700"
	BoardName  "Unichrome(CX700M2)"
	VendorName "VIA"
	Driver	   "openchrome"
	BusID	   "PCI:1:0:0"
        Screen     0
	Option     "VBEModes"            "true"           
	Option	   "ActiveDevice"     	 "CRT"  	  # LCD or CRT
        Option     "DisableIRQ"
	Option     "EnableAGPDMA"        "true"           
	Option     "SWcursor"            "true"
EndSection

Section "Monitor"
	Identifier         "Xenarc-700TSV"
	Option             "DPMS"  "true"
	HorizSync          31.50-37.90	
	VertRefresh	   50.00-70.00
EndSection

Section "Screen"
	Monitor "Xenarc-700TSV"
	Identifier "Default Screen"
	Device "CX700"
	DefaultDepth  16
        # 32 bit works iwth 1280x1024
        SubSection "Display"
	        Depth 8
	        Modes  "800x480" # "1280x768" "1024x768" "800x600" "640x480"
	EndSubsection
	SubSection "Display"
		Depth 16
        	Modes  "800x480" # "1280x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth 24
        	Modes  "800x480" # "1280x768"  "1024x768"
	EndSubSection
	SubSection "Display"
		Depth 32
        	Modes  "800x480" # "1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse" "CorePointer"
	#InputDevice	"touchscreen"      "SendCoreEvents"
	InputDevice     "dummy"
 	Option		"AIGLX"	"false"
EndSection

Section "DRI"
	Mode			0666
        Group                   "video"
EndSection