[ltp] R51 with Dualhead and Xinerama [works]

Markus Markert linux-thinkpad@linux-thinkpad.org
Wed, 24 Nov 2004 12:24:05 +0100


hi list,

just to inform u and some new users to the list, how to configure
xorg/xfree to work with dualhead on a ibm r51.

This is my /etc/X11/xorg.conf. Just Replace the syncrates of the
monitor2 in the section monitor. and if you wish in the section screen
the virtual sizes (display width and hight).

hope that helps someone.

lini

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated
together)
    # By default, Mandrake 6.0 and later now use a font server
independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse
doesn't work
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "synaptics"
    Load "dri" # direct rendering
    Load "/usr/X11R6/lib/modules/extensions/libglx.a"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "de(nodeadkeys)"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

Section "InputDevice"
    Identifier "SynapticsMouse1"
    Driver "synaptics"
    Option "Protocol" "auto-dev"
    Option "Device" "/dev/psaux"
    Option "MaxSpeed" "0.12"
    Option "MinSpeed" "0.06"
    Option "BottomEdge" "4200"
    Option "SHMConfig" "on"
    Option "LeftEdge" "1700"
    Option "FingerLow" "25"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "220"
    Option "FingerHigh" "30"
    Option "VertScrollDelta" "100"
    Option "TopEdge" "1700"
    Option "RightEdge" "5300"
    Option "AccelFactor" "0.0010"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1400x1050"
    HorizSync 31.5-90
    VertRefresh 59-75

    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494
563 -hsync -vsync

    # Dell D800 and few Inspiron (16/10) 1280x800
    ModeLine "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848

    # Dell D800 and few Inspiron (16/10) 1680x1050
    ModeLine "1680x1050"  214.51  1680 1800 1984 2288  1050 1051 1054
1103

    # Dell D800 and few Inspiron (16/10) 1920x1200
    ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250
+HSync +VSync

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595
630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590
616
EndSection

Section "Monitor"
   Identifier "monitor2"
   VendorName "Iiyama"
   ModelName "Iiyama A201HT, VisionMaster Pro 510"
   HorizSync 30.0-130.0
   VertRefresh 50.0-160.0

   # Sony Vaio C1(X,XS,VE,VN)?
   # 1024x480 @ 85.6 Hz, 48 kHz hsync
   ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563
-hsync -vsync

   # TV fullscreen mode or DVD fullscreen output.
   # 768x576 @ 79 Hz, 50 kHz hsync
   ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

   # 768x576 @ 100 Hz, 61.6 kHz hsync
   ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection


Section "Device"
    Identifier "device1"
    VendorName "ATI"
    BoardName "ATI Radeon (fglrx)"
    BusID "PCI:01:00:0"
    Driver "radeon"
    Option "DPMS"
    Screen 0
    Option "Rotate" "off"
EndSection

Section "Device"
    Identifier "device2"
    VendorName "ATI"
    BoardName "ATI Radeon (fglrx)"
    BusID "PCI:01:00:0"
    Driver "radeon"
    Option "DPMS"
    Screen 1
    Option "Rotate" "off"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16

    Subsection "Display"
        Depth 8
        Virtual 1400 1050
    EndSubsection

    Subsection "Display"
        Depth 15
        Virtual 1400 1050
    EndSubsection

    Subsection "Display"
        Depth 16
        Virtual 1400 1050
    EndSubsection

    Subsection "Display"
        Depth 24
        Virtual 1400 1050
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen2"
    Device "device2"
    Monitor "monitor2"
    DefaultColorDepth 16

    Subsection "Display"
        Depth 8
        Virtual 1400 1050
    EndSubsection

    Subsection "Display"
        Depth 15
        Virtual 1400 1050
    EndSubsection

    Subsection "Display"
        Depth 16
        Virtual 1400 1050
    EndSubsection

    Subsection "Display"
        Depth 24
        Virtual 1400 1050
    EndSubsection
EndSection

Section "ServerFlags"
          Option       "Xinerama"
  EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "SynapticsMouse1" "AlwaysCore"
    Screen "screen1"
    Screen "screen2" RightOf "screen1"
EndSection