# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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.
#
# 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 "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "InputDevice"
	Identifier	"PS2 Keyboard"
	Driver		"evdev"
	Option		"Device"	"/dev/input/by-path/platform-i8042-serio-0-event-kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"evdev"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"
EndSection

Section "InputDevice"
	Identifier	"USB Mouse"
	Driver		"evdev"
#	Option		"Device"		"/dev/input/by-path/pci-0000:00:13.2-usb-0:2:1.0-event-mouse"
	Option          "Device"		"/dev/input/by-id/usb-Logitech_USB-PS.2_Optical_Mouse-event-mouse"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"CHEESEN Keyboard"
	Driver		"evdev"
#	Option		"Device"	"/dev/input/by-path/pci-0000:00:13.2-usb-0:1:1.0-event-kbd"
	Option          "Device"        "/dev/input/by-id/usb-CHESEN_PS2_to_USB_Converter-event-kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"evdev"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"
EndSection

Section "InputDevice"
	Identifier	"CHEESEN Mouse"
	Driver		"evdev"
#	Option		"Device"		"/dev/input/by-path/pci-0000:00:13.2-usb-0:1:1.1-event-mouse"
	Option          "Device"		"/dev/input/by-id/usb-CHESEN_PS2_to_USB_Converter-event-mouse" 
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"NVIDIA1"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
	Option 		"NoLogo"
	Option		"ProbeAllGpus"		"false"
	Option		"DynamicTwinView"	"false"
#	Option		"HWCursor"		"false"
#	Option 		"Noint10"		"true"
EndSection

#Section "Device"
#        Identifier      "ATI"
#        Driver          "fglrx"
#        BusID           "PCI:2:0:0" 
#EndSection

Section "Device"
        Identifier      "NVIDIA2"
	Driver          "nvidia"
	BusID           "PCI:6:0:0"
	Option 		"NoLogo"
	Option		"ProbeAllGpus"		"false"
	Option		"DynamicTwinView"	"false"
#	Option          "HWCursor"              "false"
#       Option          "Noint10"               "true"
#	Option		"CustomEDID"		"CRT-0:/etc/X11/benq.edid.bin"
#	Option		"AllowUnofficialGLXProtocol"	"true"
EndSection

Section "Monitor"
	Identifier	"Asus"
	Option		"DPMS"
EndSection

Section "Monitor"
        Identifier      "BENQ"
        Option          "DPMS"
EndSection

# Wird evtl. noch gebraucht
#Section "Monitor"
#        Identifier      "Philips"
#        Option          "DPMS"
#        HorizSync       30-58
#        VertRefresh     50-100
#        DisplaySize     315 233
#EndSection


Section "Screen"
	Identifier	"Links"
	Device		"NVIDIA1"
	Monitor		"BENQ"
	DefaultDepth	24	
EndSection

Section "Screen"
	Identifier	"Rechts"
	Device		"NVIDIA2"
	Monitor		"Asus"
	DefaultDepth	24	
EndSection

Section "ServerLayout"
	Identifier	"Links"
	Screen		"Links"
	Option 		"IsolateDevice"	"PCI:1:0:0"
	Option 		"SingleCard" 	"true"
	InputDevice	"PS2 Keyboard"	"CoreKeyboard"
	InputDevice	"USB Mouse"	"CorePointer"
EndSection

Section "ServerLayout"
	Identifier	"Rechts"
	Screen		"Rechts"
	Option		"IsolateDevice"	"PCI:6:0:0"
        Option          "SingleCard"    "true"
        InputDevice     "CHEESEN Keyboard"	"CoreKeyboard"
	InputDevice     "CHEESEN Mouse"	"CorePointer"
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "Extensions"
        Option "Composite" "enable"
EndSection

