[ltp] External TFT with higher resolution on a IBM T40

Paul Kaplan linux-thinkpad@linux-thinkpad.org
Wed, 31 Aug 2005 21:15:34 -0400


I have a TP40 [2373-75U], which probably has the same Radeon 7500 w/ 128Mb 
VRAM, and a similar external TFT.
Here's my XF86Config file (copied from Diego Zamboni and modified by others on 
this list in November 2003.  It works with X.org 6.8
If you enable Xinerama, you get a single virtual monitor that is 2304x1024.  
If you disable Xinerama (at least with KDE) you get two independent desktops 
with the mouse able to move between them.  If the external monitor isn't 
connected, it uses only the 1024x768 resolution.
---------------------------------------
#Dual headed XF86Config for T40-257551U MDK10 X4.3
#Modified from Diego Zamboni
#Section "ServerLayout"
#        Identifier     "Default Layout" 
#	Screen      0  "Screen0" 0 0
#	InputDevice    "Mouse0" "CorePointer"
#	InputDevice    "Keyboard0" "CoreKeyboard"
#	InputDevice    "DevInputMice" "AlwaysCore"
#EndSection

#Section "ServerLayout"
#        Identifier     "Singlehead" 
#	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 
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  
	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 
	Identifier "Screen1"
	Device     "Videocard1"
	Monitor    "Monitor1"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes    "1280x1024"  "1024x768"
	EndSubSection
EndSection

#Section "DRI"
#	Group        0
#	Mode         0666
#EndSection

---------------------------------------

On Wednesday 31 August 2005 06:22 pm, Konstantin Filtschew wrote:
> hello,
>
> I have a small problem to solve. The LCD of my T40 2373-8cg has only a
> small resolution 1024x768.
>
> Now I bought a nice TFT with a higher resolution: 1280x1024.
>
> I tried several tricks, but I can't change the resolution higher then
> 1024x768. The problem is that, I try to change the resolution on the
> Laptop-LCD, but I have to do it on the external VGA.
>
> Any Idea how to do this. I need to know how to control the resolution on
> the external VGA.
>
> Thx for your help
>
> Konstantin Filtschew