LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   ThinkPad R51 Docking Station Dual Monitors? (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/thinkpad-r51-docking-station-dual-monitors-419621/)

stardotstar 02-25-2006 10:50 PM

ThinkPad R51 Docking Station Dual Monitors?
 
Hi all, I have been trying to find out how to get my thinkpad R51 laptop monitor working as well as the flat panel monitor connected to the docking station.

Under Windows it is supported using the IBM presentation director setup.

I am running Gentoo (2.6.15) with Gnome and when I dock my laptop the external monitor comes on straight away - if the notebook is already powered up I get both displays working (same desktop two screens) - if I power up with the notebook docked and display closed I only get the external monitor and opening the notebook does not initialise the laptop display at all.

Is it possible to run multiple displays and switch between them (when docking and undocking)with the standard video card.

I have a
Code:

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
I'm sure this has been explained at length somewhere so I would like to get some pointers in the right direction... Most of the stuff I have seen talks about desktop PCs and dual head or multiple video cards...

TIA

Will

lestoil 02-26-2006 03:13 PM

Check out http://www.thinkwiki.org/wiki/ThinkWiki. Between your Gentoo config files and thinkwiki you should be able to work out your problem. Have fun:)

stardotstar 03-01-2006 05:49 PM

Thank you that was very helpful...

In fact I have changed my xorg.conf file to one suggested for dual displays using the ATI Radeon 7500 that I am using.

From what I can see this should provide me with 1024x768 on my internal LCD and 1280x1024 for the external flat panel.

It seems that although there are no complaints with the setup the effect is exactly as before - I get both screens at 1024x768 and they are the same screen - not two desktop areas (ie being able to mouse from one to the other)

Ideally I want to run my Windows XP VM on the Internal screen at 1024x768 and still have my gentoo desktop on the larger external monitor.

I am able to invoke the screen modes by using the Fn F7 combination which switches the LCD off and the Ext On, then the Ext Off and the LCD On and finally Both LCD and Ext on...

Here is my xorg.conf - can anybody lend further insight into this configuration:

Code:


geko wparker # cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath  "/usr/lib/modules"
        FontPath    "/usr/share/fonts/misc/"
        FontPath    "/usr/share/fonts/TTF/"
        FontPath    "/usr/share/fonts/Type1/"
        FontPath    "/usr/share/fonts/CID/"
        FontPath    "/usr/share/fonts/75dpi/"
        FontPath    "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "glx"
        Load  "type1"
        Load  "freetype"
EndSection

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

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

Section "Device"
Identifier      "ATI"
Driver          "radeon"
# accelration
Option          "AGPMode" "4"
#Option        "AccelMethod"  "EXA"
Option          "EnablePageFlip" "on"
Option          "RenderAccel" "on"
# enable (partial) PowerPlay features
Option          "DynamicClocks" "on"
# use bios hot keys on thinkpad (aka fn+f7)
 Option          "BIOSHotkeys" "on"
# enable radeon specific xinerama
Option          "MergedFB" "true"
Option          "CRT2Position" "RightOf"
Option          "CRT2VRefresh" "30-82"
Option          "MetaModes" "1024x768-1280x1024"
Option          "MergedNonRectangular" "true"
BusID          "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "InternalLCD"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI"
Monitor "InternalLCD"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

#Section "Monitor"
        #DisplaySize      340  270    # mm
#      Identifier  "Monitor0"
#      VendorName  "IBM"
#      ModelName    "IBM L170 TFT"
#      HorizSync    30.0 - 83.0
#      VertRefresh  55.0 - 75.0
#      Option      "DPMS"
#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    "SWcursor"                  # [<bool>]
        #Option    "Dac6Bit"                  # [<bool>]
        #Option    "Dac8Bit"                  # [<bool>]
        #Option    "BusType"                  # [<str>]
        #Option    "CPPIOMode"                # [<bool>]
        #Option    "CPusecTimeout"            # <i>
        #Option    "AGPMode"                  # <i>
        #Option    "AGPFastWrite"              # [<bool>]
        #Option    "AGPSize"                  # <i>
        #Option    "GARTSize"                  # <i>
        #Option    "RingSize"                  # <i>
        #Option    "BufferSize"                # <i>
        #Option    "EnableDepthMoves"          # [<bool>]
        #Option    "EnablePageFlip"            # [<bool>]
        #Option    "NoBackBuffer"              # [<bool>]
        #Option    "DRIReinit"                # [<bool>]
        #Option    "PanelOff"                  # [<bool>]
        #Option    "DDCMode"                  # [<bool>]
        #Option    "MonitorLayout"            # [<str>]
        #Option    "IgnoreEDID"                # [<bool>]
        #Option    "UseFBDev"                  # [<bool>]
        #Option    "VideoKey"                  # <i>
        #Option    "MergedFB"                  # [<bool>]
        #Option    "CRT2HSync"                # [<str>]
        #Option    "CRT2VRefresh"              # [<str>]
        #Option    "CRT2Position"              # [<str>]
        #Option    "MetaModes"                # [<str>]
        #Option    "MergedDPI"                # [<str>]
        #Option    "NoMergedXinerama"          # [<bool>]
        #Option    "MergedXineramaCRT2IsScreen0"      # [<bool>]
        #Option    "DisplayPriority"          # [<str>]
        #Option    "PanelSize"                # [<str>]
        #Option    "ForceMinDotClock"          # <freq>
        #Option    "RenderAccel"              # [<bool>]
        #Option    "SubPixelOrder"            # [<str>]
        #Option    "ShowCache"                # [<bool>]
        #Option    "DynamicClocks"            # [<bool>]
        #Option    "VGAAccess"                # [<bool>]
        #Option    "LVDSProbePLL"              # [<bool>]
        #Option    "ReverseDDC"                # [<bool>]
        #Option    "BIOSHotkeys"              # [<bool>]
#      Identifier  "Card0"
#      Driver      "ati"
#      VendorName  "ATI Technologies Inc"
#      BoardName  "Radeon Mobility M7 LW [Radeon Mobility 7500]"
#      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

I have left the commented section at the bottom because it is the original xorg.conf that I had in place before visiting thinkwiki.

TIA
Will

stardotstar 03-02-2006 03:46 AM

OK, I have been round the block a few times on this one and finally got a xorg.conf that works for me (well the basics anyway)

so for anyone searching on this IBM R51 ThinkPad Dual Monitor Twin Screen multiple monitors dual head xinerama ati radeon 7500

Code:

geko wparker # cat /etc/X11/xorg.conf
Section "ServerFlags"
        Option          "Xinerama"      "on"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath  "/usr/lib/modules"
        FontPath    "/usr/share/fonts/misc/"
        FontPath    "/usr/share/fonts/TTF/"
        FontPath    "/usr/share/fonts/Type1/"
        FontPath    "/usr/share/fonts/CID/"
        FontPath    "/usr/share/fonts/75dpi/"
        FontPath    "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "glx"
        Load  "type1"
        Load  "freetype"
EndSection

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

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

Section "Device"
Identifier "device0"
VendorName "ATI"
BoardName "ATI Radeon"
Driver "radeon"
BusID "PCI:1:0:0"
Option "AGPMode" "4"
Option "BIOSHotkeys" "on"
Option "mergedNonRectangular" "true"
Screen 0
EndSection

Section "Device"
Identifier "device1"
BoardName "ATI Radeon"
Driver "radeon"
BusID "PCI:1:0:0"
Option "AGPMode" "4"
Option "BIOSHotkeys" "on"
Option "mergedNonRectangular" "true"
Screen 1
EndSection

Section "Monitor"
Identifier "monitor0"
Option "DPMS"
DisplaySize      340  270    # mm
VendorName  "IBM"
ModelName    "IBM L170 TFT"
HorizSync    30.0 - 83.0
VertRefresh  55.0 - 75.0
EndSection

Section "Monitor"
Identifier "monitor1"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "device0"
Monitor "monitor0"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Virtual 1024 768
Modes    "1024x768"
EndSubsection
EndSection

Section "Screen"
Identifier "Screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Virtual 1280 1024
Modes    "1280x1024"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Multihead layout"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Screen  "Screen0" 0 0
Screen  "Screen1" RightOf "Screen0"
EndSection

Any further suggestions eagerly sought.

Will


All times are GMT -5. The time now is 07:57 PM.