[ltp] T42p, dualhead config

Andreas Siegert linux-thinkpad@linux-thinkpad.org
Tue, 26 Apr 2005 12:14:13 +0200


Hi,

I'd like to run my T42p (1600x1200, T2) in dualhead mode, but everytime
I switch on the screen layout for dualscreen everything is blank and I
can not even get to the console with CTRL-ALT-F1

This is a Suse 9.2 with the latest patches, the Xorg 6.8 server and the
ATI firegl driver (fglrx_6_8_0-8.12.10-1). 
The external monitor is a 1280x124 Eizo TFT,
but it does not matter whether the external monitor is connected or not.

Here are the relvant parts of my xorg.conf:

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
  Option       "RandR" "on"
EndSection
Section "Module"
  Load         "freetype"
  Load         "type1"
  # dbe migt be borderline
  Load         "dbe"
  # glx is supposed to freeze after suspend
  # Load         "glx"
  # Load         "extmod"
  SubSection "extmod"
    Option "omit xfree86-dga"
  EndSubSection
  Load         "v4l"
  Load         "dri"
  # Load         "dms"
  Load    "bitmap"
  Load    "ddc"
  Load    "int10"
  Load    "record"
  # touchpad ?!
  # Load       "synaptics"
EndSection
Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "de"
  Option       "XkbModel" "pc102"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "ButtonNumber" "5"
  Option       "Device" "/dev/mouse"
  Option       "Name" "PS/2 Generic Mouse"
  Option       "Protocol" "imps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[2]"
  Option       "Device" "/dev/input/mice"
  Option       "ZAxisMapping" "4 5"
  Option       "Name" "USB-Mouse;PS/2"
  Option       "Protocol" "IMPS/2"
  Option       "SendCoreEvents"        "on"
EndSection
Section "Monitor"
  Option 	"DPMS"
  DisplaySize  360 270
  HorizSync    30-95
  Identifier   "LCDMonitor"
  ModelName    "1600X1200@75HZ"
  VendorName   "--> LCD"
  VertRefresh  58-78
  UseModes     "Modes[0]"
EndSection
Section "Monitor"
        Identifier      "External Monitor"
        HorizSync       31-64
        VertRefresh     56-75
        Option          "DPMS"
EndSection
Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"800x600" 40.00 800 840 968 1056 600 601 605 628 +HSync +VSync
  Modeline 	"800x600" 42.83 800 840 920 1040 600 601 604 624
  Modeline 	"800x600" 50.32 800 840 928 1056 600 601 604 627
  Modeline 	"1600x1200" 178.95 1600 1712 1888 2176 1200 1201 1204 1246
  Modeline 	"1600x1200" 205.99 1600 1720 1896 2192 1200 1201 1204 1253
EndSection
Section "Screen"
  Device       "ATI0"
  Identifier   "LCDscreen"
  Monitor      "LCDMonitor"
  DefaultDepth 24
  SubSection "Display"
    Depth      24
    Modes      "1600x1200"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "800x600" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "800x600" 
  EndSubSection
EndSection
Section "Screen"
        Identifier      "VGA"
        Device          "ATI1"
        Monitor         "External Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection
Section "Device"
  Identifier "ATI0"
  Driver     "fglrx" # this is the important bit
  VendorName   "ATI"
  Screen       0
  BusID "PCI:1:0:0"    # vendor=1002, device=4e54
  Option "VideoOverlay" "on"
  Option "OpenGLOverlay" "off"
  Option "UseInternalAGPGART" "no"
  Option	"DPMS" "on"
  Option "MonitorLayout"              "LVDS, CRT"
EndSection
Section "Device"
    Identifier      "ATI1"
    Driver          "fglrx"
    BusID "PCI:1:0:0"    # vendor=1002, device=4e54
    Screen 1
EndSection
Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[2]" "SendCoreEvents"
  Option       "Clone" "off"
  Screen        "LCDscreen"
  Screen        "VGA" LeftOf "LCDscreen"
EndSection
Section "DRI"
    Group      "video"
    Mode       0660
EndSection



One other thing that I would also like to acomplish is to switch of the 
backlit function when the screen saver (xlock -mode blank) comes on.


thx
afx
-- 
atsec information security GmbH                Phone: +49-89-44249830
Steinstrasse 70                                  Fax: +49-89-44249831
D-81667 Muenchen, Germany                        Web: atsec.com
                      May the Source be with you!