TuxMobil
site map · index a-z · search   





Resources

· Wholesale Cell Phone Accessories on DHgate.com




XF86Config (4.0.3) Toshiba Satellite 2800-500



Please see XFree86-HOWTO for further details on X-Windows. Back to· Linux with the Toshiba Satellite 2800-500

##########################################################################
# Sample XF86Config file for NVIDIA XFree86 drivers.
#
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
#
# Be sure to replace the monitor values with correct values for your
# monitor!
#
# modified by Xtops.DE wh 03/06/2001
# please note, due to a bug in the NVidia driver, you will
# lock your machine, when starting the X-Server a second time,
# so please reboot.
#
##########################################################################

Section "Files"

  FontPath  	"/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath  	"/usr/X11R6/lib/X11/fonts/misc:unscaled"
  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/misc"
  FontPath  	"/usr/X11R6/lib/X11/fonts/75dpi"
  FontPath  	"/usr/X11R6/lib/X11/fonts/100dpi"
#  FontPath	"unix/:-1"
  ModulePath  	"/usr/X11R6/lib/modules"
  RgbPath	"/usr/X11R6/lib/X11/rgb"

EndSection

##########################################################################
# Server flags section.
##########################################################################

Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals

    # Uncomment this to disable the <Crtl><Alt>\ server abort sequence
    # This allows clients to receive this key event.
    #DontZap

    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom

    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
    AllowMouseOpenFail

EndSection

##########################################################################
# Input devices
##########################################################################

#
# Keyboard section
#
Section "InputDevice"

    Identifier "Keyboard1"
    Driver     "Keyboard"
    Option     "AutoRepeat"  "250 30"

    Option "XkbRules"  "xfree86"
    Option "XkbModel"  "pc105"
    Option "XkbLayout" "de"
    Option "XkbVariant" "nodeadkeys"

EndSection

#
# Pointer section
#

Section "InputDevice"

# disable `gpm' mouse manager before starting X!!! /etc/init.d/gpm stop

    Identifier  "Mouse1"
    Driver      "mouse"

#    Option      "Protocol"    "Auto" # doesn't work !!! mouse doesn't move
#    Option      "Protocol"    "PS/2" # works
    Option      "Protocol"    "IMPS/2" # works for external USB mouse too

#    Option      "Device"      "/dev/gpmdata"
    Option      "Device"      "/dev/psaux"

    Option	"Emulate3Buttons" "On"
    Option	"Emulate3Timeout" "50"
    Option 	"Buttons"	"4"
    Option	"ZAxisMapping" "4 2"

EndSection

Section "InputDevice"

# disable `gpm' mouse manager before starting X!!! /etc/init.d/gpm stop
# doesn't seem to work simultaneously with internal mouse stick,
# so you have to move the CorePointer option below

    Identifier  "Mouse2"
    Driver      "mouse"

#    Option      "Protocol"    "Auto" # doesn't work !!! mouse doesn't move
#    Option      "Protocol"    "USB" # unknown protocol !!!
    Option      "Protocol"    "IMPS/2" # works for external USB mouse too

#    Option      "Device"      "/dev/gpmdata"
    Option      "Device"      "/dev/input/mouse0" # external USB mouse

    Option 	"Buttons"	"5" # external USB mouse
    Option	"ZAxisMapping" "4 5" # external USB mouse

EndSection

##########################################################################
# Module section
##########################################################################

Section "Module"

    Load        "dbe"

    # Load the glx module.
    Load	"glx"

    Load        "extmod"

    Load	"type1"
    Load	"freetype"
EndSection

##########################################################################
# Monitor section
##########################################################################

Section "Monitor"

    Identifier "MyMonitor"
    VendorName "Mitsubisi"
    ModelName  "Diamond Plus 120u"

    # be sure to replace these values with values appropriate for your
    # monitor!
    HorizSync  31-82
    VertRefresh 55-120

EndSection

##########################################################################
# Graphics device section(s)
##########################################################################

Section "Device"
    Identifier  "NV AGP"
    VendorName  "nvidia"
    Driver   "nvidia"
    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command.
    BusID       "PCI:01:00:0"
    #BusID       "PCI:1:0:0"
    Option "NvAgp" "2"
EndSection

Section "Device"
    Identifier "NV PCI"
    VendorName "nvidia"
    Driver "nvidia"
    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command.
    BusID       "PCI:01:00:0"
    Option "NvAgp" "2"
EndSection

Section "Device"
    Identifier "NV AGP TwinView"
    VendorName "nvidia"
    Driver "nvidia"
    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command.
    BusID       "PCI:1:0:0"

    # sample twinview setup
    Option "TwinView"
    # be sure to replace the HorizSync and VertRefresh with correct values
    # for your monitor!  
    Option "SecondMonitorHorizSync"   "31-82"
    Option "SecondMonitorVertRefresh" "55-120"
    Option "TwinViewOrientation"      "RightOf"
    Option "MetaModes"                "1280x1024,1280x1024; 1024x768,1024x768"
    Option "ConnectedMonitor"         "crt,crt"
EndSection

##########################################################################
# Screen sections
##########################################################################
# this is used on the Toshiba Satellite 2800-500
#
# screen section for an nvidia AGP card
#
Section "Screen"
    Identifier "Screen AGP"
    Device      "NV AGP"
    Monitor     "MyMonitor"
    DefaultColorDepth 24
    Subsection "Display"
        Depth       8
#        Modes       "1280x1024" "1024x768" "800x600" "640x400"
        Modes        "1024x768" "800x600" "640x400"
#        Modes       "640x400" "800x600" "1024x768" "1280x1024"
    EndSubsection
    Subsection "Display"
        Depth       16
#        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        Modes        "1024x768" "800x600" "640x480"
#        Modes       "640x480" "800x600" "1024x768" "1280x1024"
    EndSubsection
    Subsection "Display"
        Depth       24
#        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        Modes        "1024x768" "800x600" "640x480"
#        Modes       "640x480" "800x600" "1024x768" "1280x1024"
    EndSubsection

EndSection

#
# screen section for an nvidia PCI card
#
Section "Screen"
    Identifier "Screen PCI"
    Device      "NV PCI"
    Monitor     "MyMonitor"
    DefaultColorDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x400"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

#
# screen section for an nvidia AGP TwinView card
# (look at the appropriate Device section)
#
Section "Screen"
    Identifier "Screen AGP TwinView"
    Device "NV AGP TwinView"
    Monitor "MyMonitor"
    DefaultColorDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x400"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

##########################################################################
# ServerLayout sections
# (invoke using the '-layout' option of 'startx'.
##########################################################################

#
# just one agp card
#
Section "ServerLayout"
    Identifier  "AGP"
    Screen      "Screen AGP"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

#
# just one pci card
#
Section "ServerLayout"
    Identifier  "PCI"
    Screen      "Screen PCI"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

#
# 2 cards, non twinview
#
Section "ServerLayout"
    Identifier  "Both"
    Screen      "Screen AGP"
    Screen      "Screen PCI" LeftOf "Screen AGP"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

#
# just one agp twinview card
#
Section "ServerLayout"
    Identifier  "AGPTwinView"
    Screen      "Screen AGP TwinView"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

#
# 2 cards, one agp twinview and one pci (3 monitors total)
#
Section "ServerLayout"
    Identifier  "BothTwinView"
    Screen      "Screen AGP TwinView"
    Screen      "Screen PCI" LeftOf "Screen AGP TwinView"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection







print · i-mode · WAP · PDA
contact · imprint · privacy (P3P) · sponsors · RSS

© Werner Heuser 1997-2013 · http://tuxmobil.org/XF86Config_4_s2800-500.html · last change Mon Nov 12 2007