View Single Post
Old 02-24-04, 07:09 AM   #2
efkbl
Registered User
 
Join Date: Feb 2004
Posts: 2
Default

Here is the XF86Config-4 file:
# ************************************************** ********************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# ************************************************** ********************
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
Load "v4l"
EndSection

# ************************************************** ********************
# Files section. This allows default font and rgb paths to be set
# ************************************************** ********************
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/X-TT"
EndSection

# ************************************************** ********************
# Server flags section.
# ************************************************** ********************
Section "ServerFlags"
# Option "NoTrapSignals"
# Option "DontZap"
# Option "Dont Zoom"
# Option "DisableVidModeExtension"
# Option "AllowNonLocalXvidtune"
# Option "DisableModInDev"
# Option "AllowNonLocalModInDev"
EndSection

# ************************************************** ********************
# Core keyboard's InputDevice section
# ************************************************** ********************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
EndSection


# ************************************************** ********************
# Core Pointer's InputDevice section
# ************************************************** ********************
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "AlwaysCore"
Option "CorePointer"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
#Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "PS/2"
# Option "Device" "/dev/psaux"
#EndSection

# ************************************************** ********************
# Monitor section
# ************************************************** ********************
Section "Monitor"
Identifier "19p1n"
HorizSync 31-93
VertRefresh 60-100
EndSection

Section "Monitor"
Identifier "TV"
HorizSync 30-50
VertRefresh 60
EndSection


# ************************************************** ********************
# Graphics device section
# ************************************************** ********************
Section "Device"
Identifier "nvidia riva tnt2"
# Driver "nv"
Driver "nvidia"
Option "NvAGP" "1"
Option "NoLogo" "on"
EndSection

Section "Device"
Identifier "nvtv"
Driver "nvidia"
Option "NvAGP" "1"
Option "NoLogo" "on"
Option "TVOutFormat" "SVIDEO"
Option "TVStandard" "PAL-N"
Option "ConnectedMonitor" "TV"
EndSection

# ************************************************** ********************
# Screen sections
# ************************************************** ********************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "nvidia riva tnt2"
Monitor "19p1n"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768" "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1600x1200" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "tvout"
Device "nvtv"
Monitor "19p1n"
DefaultDepth 16

Subsection "Display"
Depth 16
Modes "800x600"
ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
# InputDevice "Mouse2" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
Identifier "tvlayout"
Screen "tvout"
InputDevice "Mouse1" "CorePointer"
# InputDevice "Mouse2" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
efkbl is offline   Reply With Quote