LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-25-2006, 10:50 PM   #1
stardotstar
Member
 
Registered: Nov 2002
Location: /au/qld/bne/4157
Distribution: Gentoo mactel-linux
Posts: 238

Rep: Reputation: 30
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
 
Old 02-26-2006, 03:13 PM   #2
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
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
 
Old 03-01-2006, 05:49 PM   #3
stardotstar
Member
 
Registered: Nov 2002
Location: /au/qld/bne/4157
Distribution: Gentoo mactel-linux
Posts: 238

Original Poster
Rep: Reputation: 30
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
 
Old 03-02-2006, 03:46 AM   #4
stardotstar
Member
 
Registered: Nov 2002
Location: /au/qld/bne/4157
Distribution: Gentoo mactel-linux
Posts: 238

Original Poster
Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XF86Config-4 and docking station Cons Linux - Laptop and Netbook 1 06-21-2007 03:32 PM
problems configuring dual monitors on Dell docking station kokopelli Linux - Newbie 2 03-18-2005 08:32 AM
creatures docking station justwantin Slackware 1 09-25-2004 11:50 PM
IMB Thinkpad T23 w/2631 docking station usb ports not working boym1 Linux - Newbie 7 08-01-2003 08:06 AM
X Windows in a Docking Station Ascii King Linux - Software 0 09-21-2001 11:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration