[ltp] DVI out on T42p - how to make it work?
Jonathan Gittos
linux-thinkpad@linux-thinkpad.org
Mon, 13 Sep 2004 23:30:50 +0100
--=-BTGQ7Czb697vaYvGKFTd
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
I've used 4.3.99 (which came with SuSE 9.1) as well as Xorg 6.80 (which
I'm now running). Seemed to work fine with both but the important bit is
the TMDS / LVDS switch in the config. Without it the DVI screen would be
completely ignored.
I find fn+f7 works fine as long as i boot / resume past the bios splash
screen with the machine outside the docking station and then plug it in
as linux is booting(!).
The other problem is that the x-server gets hopelessly confused if i
hibernate the machine at work (with the DVI) and then resume at home
without it. Usually have to shut down, edit the config file to change
the order of the screens (now LVDS, TMDS) or comment out the monitor
layout section completely.
Here's the file (called xorg.conf) but will work fine if you rename it
to xf86config as well. Both the radeon and fglrx drivers seemed to work
fine - swapped over by changeing the diriver entry in the config from
"radeon" to "fglrx". Never tried 3d / dri and I've never got dual-
screen / xinerama working.
Regards
Jonathan
On Sat, 2004-09-11 at 09:50 -0700, Osho GG wrote:
> On Wed, 08 Sep 2004 10:16:29 +0100, Jonathan Gittos wrote:
> > Singlehead works fine but make sure that you boot / resume the machine
> > out of the docking station and then plug it in once you've passed the
> > boot splash screen.
> >
> > Dualhead works fine with the analog vga cable - all of us have struggled
> > with DVI out and Dualhead.
> >
> > Let me know if you need the XFree86config (I'm susing SuSE 9.1 as well)
> >
>
> Thanks Jonathan. Please do send me your XFree86config. Which version
> of X.org/XFree86 are you running and which driver are you running (ATI
> or open source)?
>
> Right now I am interested in just a singlehead. I should make it work
> with DVI first before trying out dualhead or xinerama or anything
> else.
>
> Just to make sure that by singlehead, you mean X that will display on
> only one monitor - which is either Thinkpad LCD or DVI monitor, right?
> How do you switch between the two? Does Fn+F7 work ? I have found that
> Fn+F7 works only for VGA output for me.
>
> thanks,
> Osho
--
Jonathan Gittos
--=-BTGQ7Czb697vaYvGKFTd
Content-Disposition: attachment; filename=xorg.conf
Content-Type: text/plain; name=xorg.conf; charset=UTF-8
Content-Transfer-Encoding: 7bit
# /.../
# SaX generated XFree86 config file
# `reated on: 2004-08-04T12:58:07+0100.
#
# Version: 4.8
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/opt/kde3/share/fonts"
FontPath "/usr/local/share/fonts"
FontPath "/usr/X11R6/lib/X11/fonts"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail"
Option "RandR" "on"
EndSection
Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "v4l"
EndSection
Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us,gb"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
Option "XkbOptions" "ctrl:nocaps"
Option "XkbVariant" "xfree86"
EndSection
Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Device" "/dev/psaux"
Option "InputFashion" "Mouse"
Option "Name" "PS/2-Mouse;PS/2"
Option "Protocol" "PS/2"
EndSection
Section "InputDevice"
Driver "mouse"
Identifier "Mouse[3]"
Option "Buttons" "7"
Option "Device" "/dev/input/mice"
Option "InputFashion" "Mouse"
Option "Name" "USB-Mouse;ExplorerPS/2"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 320 240
HorizSync 28-82
Identifier "Monitor[0]"
ModelName "1280X1024@60HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 40-60
UseModes "Modes[0]"
EndSection
Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 320 240
HorizSync 28-90
Identifier "Monitor[1]"
ModelName "1400X1050@60HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 40-60
UseModes "Modes[1]"
EndSection
Section "Modes"
Identifier "Modes[0]"
Modeline "1400x1050" 118.42 1400 1488 1640 1880 1050 1051 1054 1086
Modeline "1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059
Modeline "1280x960" 97.68 1280 1352 1488 1696 960 961 964 993
Modeline "1152x864" 78.82 1152 1216 1336 1520 864 865 868 894
Modeline "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
Modeline "800x600" 36.88 800 832 912 1024 600 601 604 621
Modeline "640x480" 23.06 640 656 720 800 480 481 484 497
Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +HSync +VSync
EndSection
Section "Modes"
Identifier "Modes[1]"
Modeline "1400x1050" 118.42 1400 1488 1640 1880 1050 1051 1054 1086
Modeline "1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059
Modeline "1280x960" 97.68 1280 1352 1488 1696 960 961 964 993
Modeline "1152x864" 78.82 1152 1216 1336 1520 864 865 868 894
Modeline "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
Modeline "800x600" 36.88 800 832 912 1024 600 601 604 621
Modeline "640x480" 23.06 640 656 720 800 480 481 484 497
Modeline "1400x1050" 122.61 1400 1488 1640 1880 1050 1051 1054 1087
EndSection
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 16
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 8
Modes "1400x1050"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "640x480"
EndSubSection
Device "Device[1]"
Identifier "Screen[1]"
Monitor "Monitor[1]"
EndSection
Section "Device"
BoardName "RV250 Lf"
BusID "1:0:0"
Driver "radeon"
Identifier "Device[0]"
Screen 0
Option "MonitorLayout" "TMDS, LVDS"
Option "AGPMode" "4"
VendorName "ATI"
EndSection
Section "Device"
BoardName "RV250 Lg"
BusID "1:0:0"
Driver "radeon"
Identifier "Device[1]"
Screen 1
Option "AGPMode" "4"
VendorName "ATI"
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
Option "Clone" "off"
Option "Xinerama" "on"
Screen 0 "Screen[0]" 0 0
Screen 1 "Screen[1]" RightOf "Screen[0]"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
--=-BTGQ7Czb697vaYvGKFTd--