# Si eccolo, ricorda che per farlo andare anche sul televisore cambio
# metamodes mettendolo cos:
# Option "MetaModes" "800x600,800x600"

# /.../
# SaX generated XFree86 config file
# Created on: 2003-08-10.
#
# Version: 4.7
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.7)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  InputDevices "/dev/ttyS0"
  InputDevices "/dev/ttyS1"
  InputDevices "/dev/ttyS2"
  InputDevices "/dev/ttyS3"
  InputDevices "/dev/ttyS4"
  InputDevices "/dev/ttyS5"
  InputDevices "/dev/ttyS6"
  InputDevices "/dev/ttyS7"
  InputDevices "/dev/ttyS8"
  InputDevices "/dev/psaux"
  InputDevices "/dev/logibm"
  InputDevices "/dev/sunmouse"
  InputDevices "/dev/atibm"
  InputDevices "/dev/amigamouse"
  InputDevices "/dev/atarimouse"
  InputDevices "/dev/inportbm"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/mouse"
  InputDevices "/dev/usbmouse"
  InputDevices "/dev/adbmouse"
  InputDevices "/dev/input/mice"
  InputDevices "/dev/input/event0"
  InputDevices "/dev/pointer0"
  InputDevices "/dev/pointer1"
  InputDevices "/dev/pointer2"
  InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
  Option       "RandR" "on"
EndSection

Section "Module"
  Load         "speedo"
  Load         "v4l"
  Load         "dbe"
  Load         "freetype"
  Load         "glx"
  Load         "extmod"
  Load         "type1"
EndSection

Section "InputDevice"
  Driver       "Keyboard"
  Identifier   "Keyboard[0]"
  Option       "MapName" "Standard Keyboard [ pc102 ]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "it"
  Option       "XkbModel" "pc102"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
#  Option       "ButtonNumber" "2"
  Option       "Device" "/dev/mouse"
  Option       "InputFashion" "Mouse"
  Option       "Name" "USB-Mouse;PS/2"
  Option       "Protocol" "imps/2"
  Option       "ZAxisMapping" "4 5"
 EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
# Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
  Option        "Device"        "/dev/input/event0"   # USB ONLY
  Option        "Type"          "cursor"
  Option        "Mode"          "relative"
  Option        "Speed"         "3.0"
  Option        "USB"           "on"                  # USB ONLY
  Option        "Threshold"     "10"
  Option        "DebugLevel"    "2"
EndSection


#Section "InputDevice"
#  Driver        "wacom"
#  Identifier    "tablet"
#  Option        "Device"        "/dev/input/event0"
#  Option        "Type"          "beta"
#EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "UseFrameBufferTiming"
  DisplaySize  340 255
  HorizSync    27-96
  Identifier   "Monitor[0]"
  ModelName    "1024X768@85HZ"
  VendorName   "--> VESA"
  VertRefresh  47-150
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline      "1024x768" 94.50 1024 1072 1168 1344 768 785 788 824
EndSection


Section "Screen"
  DefaultDepth 16

  SubSection "Display"
    Depth      15
    Modes      "1600x1200" "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1600x1200" "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1600x1200" "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1600x1200" "1024x768" "800x600" "640x480"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "GeForce4 MX 440"
  BusID        "1:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Option        "NvAgp" "0"
  Screen       0
  Option       "Rotate" "off"
  VendorName   "NVidia"
  Option "TwinView"
 Option "SecondMonitorHorizSync" "30-50"
 Option "SecondMonitorVertRefresh" "60"
 Option "MetaModes" "1024x768,1024x768;800x600,800x600"
 Option "TVStandard" "PAL-B"
  Option "ConnectedMonitor" "CRT,TV"
 Option "TwinViewOrientation" "Clone"
 Option "TVOutFormat" "COMPOSITE"
# Option "TVOverScan" "1.0"

EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice    "cursor"    "SendCoreEvents"
# InputDevice    "stylus"    "SendCoreEvents"
#  InputDevice    "eraser"    "SendCoreEvents"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen      "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection
