[ltp] external & Internal TFT

Paul Kaplan linux-thinkpad@linux-thinkpad.org
Wed, 7 Sep 2005 22:41:50 -0400


Use this XF86Config file
Enable/Disable Xinerama as desired
Paul
=2D------------
#Dual headed XF86Config for T40-257551U MDK10 X4.3
#Modified from Diego Zamboni
#Section "ServerLayout"
#        Identifier     "Default Layout"=20
#	Screen      0  "Screen0" 0 0
#	InputDevice    "Mouse0" "CorePointer"
#	InputDevice    "Keyboard0" "CoreKeyboard"
#	InputDevice    "DevInputMice" "AlwaysCore"
#EndSection

#Section "ServerLayout"
#        Identifier     "Singlehead"=20
#	Screen      0  "Screen0" 0 0
#        Screen         "Screen0"
#        Screen         "Screen1" RightOf "Screen0"
#	InputDevice    "Mouse0" "CorePointer"
#	InputDevice    "Keyboard0" "CoreKeyboard"
#	InputDevice    "DevInputMice" "AlwaysCore"
#EndSection

Section "ServerLayout"
	Identifier     "Multihead"
#	Screen      0  "Screen0" 0 0
        Screen         "Screen0"
        Screen         "Screen1" RightOf "Screen0"
	Option         "Xinerama" "true"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "DevInputMice" "AlwaysCore"
EndSection

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 "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
#	Load  "dri"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "PS/2"
	Option	    "Device" "/dev/psaux"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
	Identifier  "DevInputMice"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Unprobed Monitor"
#	HorizSync    31.5 - 48.5
#	VertRefresh  40.0 - 70.0
	Option	    "dpms"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Unprobed Monitor"
#	HorizSync    31.5 - 67.0
#	VertRefresh  50.0 - 75.0
	Option	    "dpms"
#        Modeline     "1280x1024" 135.00 1280 1308 1412 1676 1024 1027 1030=
=20
1056
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	VendorName  "Videocard vendor"
	BoardName   "ATI Radeon Mobility M7"
#	VideoRam    32768
        Screen      0
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "Videocard1"
	Driver      "radeon"
	VendorName  "Videocard vendor"
	BoardName   "ATI Radeon Mobility M7"
#	VideoRam    32768
        Screen      1
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
#       This is the LCD display =20
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes    "1024x768" "800x600"
	EndSubSection
EndSection

Section "Screen"
#       This is an external monitor running 1280x1024=20
	Identifier "Screen1"
	Device     "Videocard1"
	Monitor    "Monitor1"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes    "1280x1024"  "1024x768"
	EndSubSection
EndSection

#Section "DRI"
#	Group        0
#	Mode         0666
#EndSection
=2D------------
On Wednesday 07 September 2005 01:08 pm, Martin H=F6fling wrote:
> Hi there,
>
> i can't find the thread but I remember that this question was asked one
> week ago or so.
> How can I use my external TFT connected to a radeon 7500 (in my T40) with
> the external resolution (the higher one)
>
> Here the relevant parts of my xorg.conf
>
> Section "Device"
>         Identifier      "ATI Technologies, Inc. Radeon Mobility M6 LW"
>         Driver          "radeon"
>         Option          "SWcursor" "off"
>         Option          "AGPMode" "4"
>         Option          "AGPFastWrite" "true"
>         Option          "BusType"       "AGP"
>         Option          "EnablePageFlip" "true"
>         Option          "DDCMode"       "true"
>         Option          "MergedFB"      "true"
> #       Option          "CloneHSync"    "30.0-115.0"
> #       Option          "CloneVRefresh" "50.0-160.0"
>         Option          "MonitorLayout" "LVDS, CRT"
>         Option          "DynamicClocks" "true"
> #       Option          "DisplayPriority" "HIGH"
> #       Option          "OverlayOnCRTC2" "true"
>         Option          "MetaModes" "1024x768-1024x768 1024x768-1280x1024
> 1280x1024x1280x1024"
> #       Option          "CTR2Position" "Clone"
> #       Option          "IgnoreEDID"    "true"
>         Option          "BIOSHotkeys"   "true"
> EndSection
>
> Section "Screen"
>         Identifier      "Default Screen"
>         Device          "ATI Technologies, Inc. Radeon Mobility M6 LW"
>         Monitor         "IVM:1019"
>         DefaultDepth    24
>         SubSection "Display"
>                 Depth           16
>                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           24
>                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
>         EndSubSection
> EndSection
>
> It work's like a charm. The only thing is that I need to switch with strg
> alt +/- .
>
> I am using:
>
> martin@arrakis ~ $ X -version
>
> X Window System Version 6.8.2
> Release Date: 9 February 2005
> X Protocol Version 11, Revision 0, Release 6.8.2
> Build Operating System: Linux 2.6.12 i686 [ELF]
> Current Operating System: Linux arrakis 2.6.12 #1 Sat Jun 25 18:57:36 MEST
> 2005 i686
> Build Date: 11 July 2005
>         Before reporting problems, check http://wiki.X.Org
>         to make sure that you have the latest version.
> Module Loader present
>
> martin@arrakis ~ $ uname -ra
> Linux arrakis 2.6.12 #1 Sat Jun 25 18:57:36 MEST 2005 i686 Intel(R)
> Pentium(R) M processor 1500MHz GenuineIntel GNU/Linux
>
> OS is GentooLinux
>
> Hope this helps somebody.
>
>
> Regards
> 	Martin