[ltp] T22 xorg.conf

Sebastian Anding linux-thinkpad@linux-thinkpad.org
Sun, 27 Sep 2009 22:13:38 +0200


On Sun, Sep 27, 2009 at 08:54:47PM +0100, Richard Neill wrote:
>
>
> Sebastian Anding wrote:
>> Hi List,
>>
>> does anyone has an working configuration file xorg.conf for X11R7.4?
>> When i start xdm on my system, i got a blinking cursor and nothing else
>> happens.
>>
>
> It's a fair bet that X has auto-detected the wrong graphics driver. Do  
> you get anything sensible in /var/log/Xorg.0.log ?  Try forcing the  
> graphics to VESA.
>
> Here is a minimal xorg.conf file which works on Ubuntu 9.04 (Jaunty),  
> and allows everything to be auto-detected except the graphics card.
X -configure detects the correct card a savage chipset, which is in this
laptop.
X -configure xorg.conf.new output follows:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/share/fonts/X11/100dpi"
        FontPath     "/usr/share/fonts/X11/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath     "built-ins"
EndSection

Section "Module"
        Load  "dri"
        Load  "dri2"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "dbe"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "HWCursor"                  # [<bool>]
        #Option     "SWCursor"                  # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "UseBIOS"                   # [<bool>]
        #Option     "LCDClock"                  # <freq>
        #Option     "ShadowStatus"              # [<bool>]
        #Option     "CrtOnly"                   # [<bool>]
        #Option     "TvOn"                      # [<bool>]
        #Option     "PAL"                       # [<bool>]
        #Option     "ForceInit"                 # [<bool>]
        #Option     "Overlay"                   # [<str>]
        #Option     "TransparencyKey"           # [<str>]
        #Option     "ForceInit"                 # [<bool>]
        #Option     "DisableXVMC"               # [<bool>]
        #Option     "DisableTile"               # [<bool>]
        #Option     "DisableCOB"                # [<bool>]
        #Option     "BCIforXv"                  # [<bool>]
        #Option     "DVI"                       # [<bool>]
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "BusType"                   # [<str>]
        #Option     "DmaType"                   # [<str>]
        #Option     "DmaMode"                   # [<str>]
        #Option     "AGPMode"                   # <i>
        #Option     "AGPSize"                   # <i>
        #Option     "DRI"                       # [<bool>]
        #Option     "AGPforXv"                  # [<bool>]
        Identifier  "Card0"
        Driver      "savage"
        VendorName  "S3 Inc."
        BoardName   "86C270-294 Savage/IX-MV"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

lspci part output:
01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 13)