[ltp] How to setup X display cloneing on a T40

Chris Frost linux-thinkpad@linux-thinkpad.org
Tue, 13 Jan 2004 11:47:54 -0600


--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I would like to clone the LCD panel on my T40 to an external monitor,
but am only able to run the monitor at 640x480 @ 60Hz.
For my device section I have set CloneDisplay to "2" and CloneMode to
"1400x1050", but this doesn't affect X. Fwiw I do have Xinerama setup (as
another ServerLayout) and it works fine for two 1400x1050 displays.
Would anyone have any suggestions? Thanks!
I've attached my XFree86Config file if this might be of help.

-- 
Chris Frost  |  <http://www.frostnet.net/chris/>
-------------+----------------------------------
Public PGP Key:
   Email chris@frostnet.net with the subject "retrieve pgp key"
   or visit <http://www.frostnet.net/chris/about/pgp_key.phtml>

--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=XF86Config

Section "ServerLayout"
	Identifier    "Single"
	Screen        "Screen0" 0 0
	#Screen        "Screen1" Absolute 0 0
	Option        "Clone" "on"
	InputDevice   "touchpad" "CorePointer"
	InputDevice   "trackpoint"
	InputDevice   "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerLayout"
	Identifier    "Dual"
	Screen        "Screen0"
	Screen        "Screen1" RightOf "Screen0"
	InputDevice   "touchpad" "CorePointer"
	InputDevice   "trackpoint"
	InputDevice   "Keyboard0" "CoreKeyboard"
	Option        "Xinerama" "True"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/local/XFree86-4.3/lib/modules"
	FontPath     "unix/:7100" # XFS
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "ddc"
	Load  "GLcore"
	Load  "extmod"
	Load  "glx"
	Load  "dri"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "speedo"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
EndSection

Section "InputDevice"
	Identifier  "touchpad"
	Driver      "mouse"
	# try Driver "synaptics" ?
	# try Option "AlwaysCore" "true"?
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/psaux"
	Option	    "Buttons" "5"
	Option	    "Emulate3Buttons" "true"
	Option	    "EmulateWheel" "on"
	Option 	    "EmulateWheelButton" "2"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
	Identifier "trackpoint"
 	Driver	   "mouse"
	Option	   "SendCoreEvents" "yes"
	Option     "Device" "/dev/input/mice"
	Option	   "Protocol" "ImPS/2"
	Option     "Emulate3Buttons" "true"
	Option	   "ZAxisMapping" "4 5"
	Option     "EmulateWheel" "true"
	Option     "EmulateWheelButton" "2"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "IBM"
	ModelName    "T40 LCD"
	HorizSync    30-57
	VertRefresh  43-72
	Option	     "DPMS"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Sony"
	ModelName    "GDM-20E21"
	HorizSync    30.0-96.0
	VertRefresh  48.0-160.0
	Option       "CrtScreen"
	Option       "dpms"
	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     "ForcePCIMode"       	# [<bool>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# <i>
        Option     "AGPMode" "1"           	# <i>
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# <i>
        #Option     "RingSize"           	# <i>
        #Option     "BufferSize"         	# <i>
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "PanelOff"           	# [<bool>]
        #Option     "DDCMode"            	# [<bool>]
        Option     "CloneDisplay" "2"     	# <i>
        Option     "CloneMode" "1400x1050"         	# [<str>]
        #Option     "CloneHSync"         	# [<str>]
        #Option     "CloneVRefresh"      	# [<str>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
	Identifier  "Card0"
	Driver      "ati"
	VendorName  "ATI Technologies Inc"
	BoardName   "Radeon R250 Lf [Radeon Mobility 9000 M9]"
	BusID       "PCI:1:0:0"
	Screen       0
EndSection

Section "Device"
        Option     "AGPMode" "1"           	# <i>
	Identifier "Card1"
	Driver     "ati"
	VendorName  "ATI Technologies Inc"
	BoardName   "Radeon R250 Lf [Radeon Mobility 9000 M9]"
	BusID       "PCI:1:0:0"
	Screen       1
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	DefaultDepth 16
	Subsection "Display"
		Depth 16
		Modes "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
	Subsection "Display"
		Depth 24
		Modes "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 16
	SubSection "Display"
		Depth     1
		Modes	  "1400x1050"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes	  "1400x1050"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes	  "1400x1050"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes	  "1400x1050"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes	  "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes	  "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection


--FCuugMFkClbJLl1L--