X11 XF86Config-4 for Redhat 7.2 linux on inspiron 7000

Well redhat 7.2 installed more or less ok, as I recall (it was months ago), but one thing that didn't work right was the touchpad.

I had a USB mouse connected during the install, and that's what was used.  Later I fiddled around and got the touchpad to work simultaneously with an external mouse, if any.  This was a trial-and-error (lots of the "error" part) hassle so I wrote it up.

Here is my /etc/X11/XF86Config-4 file.  Note the Mouse0 in the "ServerLayout" section.  I made the touchpad the CorePointer, meaning (I think) X11 won't start or at least complain a lot if it isn't there (but obviously it always will be) and the USB mouse as "act like the CorePointer" if it exists.

For more X11 laptop stuff, check this site

Linux home

# XFree86 4.0 configuration generated by Xconfigurator

Section "ServerLayout"
    Identifier "XFree86 Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    # my touchpad mouse config added later.  Make it the "core" device.
    InputDevice    "Mouse1" "CorePointer"
    # usb mouse detected during install.  have it active too if its there.
    InputDevice    "Mouse0" "SendCoreEvents"

# By default, Red Hat Linux 6.0 and later use xfs

Section "Files"
    FontPath "unix/:7100"

# Module loading section

Section "Module"
    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
    # Load  "pex5"        # PHIGS for X 3D environment (obsolete)
    # Load  "record"    # X event recorder
    # Load  "xie"        # X Image Extension (obsolete)
    # You only need the following two modules if you do not use xfs.
    # Load  "freetype"     # TrueType font handler
    # Load  "type1"        # Adobe Type 1 font handler

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option      "XkbLayout"    "us"

# usb mouse detected during setup as:
Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Device" "/dev/mouse"
    Option      "Protocol" "IMPS/2"
    Option      "Emulate3Buttons" "off"
    Option      "ZAxisMapping" "4 5"

# from a website... (www.eecs.umich.edu/~steveh/inspiron/x_method1.htm)
# my take on updating from the above
Section "InputDevice"
    Identifier    "Mouse1"
    Driver        "mouse"
    Option        "Device" "/dev/psaux"
    Option        "Protocol"    "PS/2"
    Option        "Emulate3Buttons" "on"

Section "Monitor"
    Identifier "Dell 1024X Laptop Display Panel"
    VendorName "Unknown"
    ModelName  "Unknown"
    HorizSync 31.5-48.5
    VertRefresh 59.0-75.0
    Option "dpms"

Section "Device"
    Identifier "ATI|Rage Mobility P/M AGP 2x"
    Driver "ati"
    BoardName "Unknown"
    # Uncomment the following line to enable external display
    # Option "crt_screen"

Section "Device"
    Identifier "Linux Frame Buffer"
    Driver "fbdev"
    BoardName "Unknown"

Section "Screen"
    Identifier "Screen0"
    Device "ATI|Rage Mobility P/M AGP 2x"
    Monitor "Dell 1024X Laptop Display Panel"
    DefaultDepth 24
    Subsection "Display"
        Depth 24
        Modes "1024x768"

Section "DRI"
    Mode 0666