Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go



CLICK HERE TO VISIT THE UPDATED SURVIVAL GUIDE

XF86 Configuration

Lindsay Haisley supplied the following configuration file (/etc/X11/XF86Config-4) for xserver-xfree86. It is specific to the Dell CPi D300XT laptop with the standard Neomagic Chipset and the example here is a combination of the XF86Config-4 example provided with Gentoo Linux and Dell CPi D300XT laptop details.

For the Dell CPi with the NeoMagic video we do not need to specify a specific ModeLine setting—the X server determines that the VESA standard default video mode for the Neomagic video system in the Dell Latitude CPi D300XT should be as follows:

 (**) NEOMAGIC(0): *Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
 (II) NEOMAGIC(0): Modeline "1024x768"   65.00  \
      1024 1048 1184 1344  768 771 777 806 -hsync -vsync

If you are using version 3 of the XFree86 server then the following modeline might help out:

   Modeline    "1024x768" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync

The video system in this computer seems to be sufficiently flexible to accomodate either setting without apparent video alignment errors, however if your display appears to be misaligned, use the older Modeline setting to see if it solves your problem.

The options for the neomagic driver allow docked and external displays. Internal and external displays don't work together so you need to manually edit the XF86Config-4 file each time you change between the external and internal display. It is reported that having both enabled can destroy the internal display. It certainly makes it go pretty ugly momentarily.

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath    "unix/:7100"
    FontPath    "/usr/X11R6/lib/X11/fonts/local/"
    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/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
    ModulePath  "/usr/X11R6/lib/modules"
EndSection
Section "Module"
    Load        "dbe"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
    Load  "dbe"             # Double-buffering
    Load  "GLcore"          # OpenGL support
    Load  "dri"             # Direct rendering infrastructure
    Load  "glx"             # OpenGL X protocol interface
    Load  "extmod"          # Misc. required extensions
    Load  "v4l"             # Video4Linux
EndSection
Section "ServerFlags"
    Option      "blank time"    "10"    # 10 minutes
EndSection
Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option      "AutoRepeat"    "500 20"
    Option      "Xleds" "1 2 3"
    Option      "XkbModel"      "pc105"
EndSection
Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol"      "PS/2"
    Option      "Device"        "/dev/mouse"
    Option      "Emulate3Buttons"
    Option      "Emulate3Timeout"       "50"
EndSection
Section "Monitor"
    Identifier  "Dell SyncMaster 17GLi"
    HorizSync   31.5 - 48.5         # multisync
    VertRefresh 55-65
EndSection
Section "Device"
        Identifier "NeoMagic"
        Driver "neomagic"
        BoardName "Unknown"
#   Option     "Rotate"
#   Option     "pciBurst"
#   Option     "ShadowFB"
#   Option     "NoStretch"
#   Option     "LcdCenter"
#    Option     "externDisp"            # Uncomment this for external video
    Option     "internDisp"             # Uncomment this for internal video
    Option     "overrideValidateMode"
#   Option     "noMMIO"
#   Option     "SWcursor"
#   Option     "NoAccel"
#   Option     "NoLinear"
#    Option     "XaaNoScanlineImageWriteRect"
#    Option     "XaaNoScanlineCPUToScreenColorExpandFill"
EndSection
Section "Screen"
    Identifier  "Screen0"
    Device      "NeoMagic"
    Monitor     "Dell SyncMaster 17GLi"
    DefaultColorDepth 16
    Subsection  "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection
EndSection
Section "ServerLayout"
        Identifier     "XFree86 Dell CPi D300XT"
        Screen         0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. Creative Commons ShareAlike V4.