[ltp] Using T41p for Presentation over Projector

Chan-Wah Ng linux-thinkpad@linux-thinkpad.org
Wed, 27 Oct 2004 20:38:11 +0800


--=-EE8dO2mSXrYgHAHXPExd
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Greetings,

I have this problem about using T41p for presentation.  I am able to
configure X to do either (a) clone mode, or (2) independent screen.
However, it will work only if X started after the projector plug is
connected to the VGA out.  If I start X with nothing connected, the
results varies ... depending on the projector.  For the one I am
currently using, it gives a non-scrollable clone of my desktop at a
resolution of 1280x1024 (I think).

Anyway I can configure the X to always pretend that an external
connector of 1024x768 is available?  Thank you!

Some system info:
Hardware: T41p, 1400x1050 LCD, AIT Radeon M9,
Software: Gentoo Linux, Kernel 2.6.9-gentoo-r1, X.org 6.8.0

Attached is the xorg.conf.

/rgds
/cwng



--=-EE8dO2mSXrYgHAHXPExd
Content-Disposition: attachment; filename=xorg.conf
Content-Type: text/plain; name=xorg.conf; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

# Default Layout - nothing
#Section "ServerLayout"
#	Identifier     "base"
#	Screen         "LCD" 0 0
#	InputDevice    "T41-Keyboard" "CoreKeyboard"
#	InputDevice    "GPM-Emulated" "CorePointer"
#	#InputDevice    "vncMouse" "ExtraPointer"
#	#InputDevice    "vncKeyboard" "ExtraKeyboard"
#EndSection

# Default Layout - clone1024
Section "ServerLayout"
	Identifier     "clone1024"
	Screen         "LCD-c1024" 0 0
	InputDevice    "T41-Keyboard" "CoreKeyboard"
	InputDevice    "GPM-Emulated" "CorePointer"
	#InputDevice    "TouchPad" "ExtraPointer"
	#InputDevice    "vncMouse" "ExtraPointer"
	#InputDevice    "vncKeyboard" "ExtraKeyboard"
EndSection

# Default Layout - clone1152
Section "ServerLayout"
	Identifier     "clone1152"
	Screen         "LCD-c1152" 0 0
	InputDevice    "T41-Keyboard" "CoreKeyboard"
	InputDevice    "GPM-Emulated" "CorePointer"
	#InputDevice    "vncMouse" "ExtraPointer"
	#InputDevice    "vncKeyboard" "ExtraKeyboard"
EndSection

# Default Layout - clone800
Section "ServerLayout"
	Identifier     "clone800"
	Screen         "LCD-c800" 0 0
	InputDevice    "T41-Keyboard" "CoreKeyboard"
	InputDevice    "GPM-Emulated" "CorePointer"
	#InputDevice    "vncMouse" "ExtraPointer"
	#InputDevice    "vncKeyboard" "ExtraKeyboard"
EndSection

# Independent Screens Layout 1024
Section "ServerLayout"
	Identifier     "indep1024"
	Screen      0  "LCD" 0 0
	Screen      1  "VGA" 0 0
	InputDevice    "T41-Keyboard" "CoreKeyboard"
	InputDevice    "GPM-Emulated" "CorePointer"
	Option	    "Xinerama" "false"
EndSection

# Independent Screens Layout 800
Section "ServerLayout"
	Identifier     "indep800"
	Screen      0  "LCD" 0 0
	Screen      1  "VGA800" 0 0
	InputDevice    "T41-Keyboard" "CoreKeyboard"
	InputDevice    "GPM-Emulated" "CorePointer"
	#InputDevice    "vncMouse" "ExtraPointer"
	#InputDevice    "vncKeyboard" "ExtraKeyboard"
	Option	    "Xinerama" "false"
EndSection

# Xinerama Screen Layout
Section "ServerLayout"
	Identifier     "xine"
	Screen      0  "LCD" 0 0
	Screen      1  "VGA" 0 0
	InputDevice    "T41-Keyboard" "CoreKeyboard"
	InputDevice    "GPM-Emulated" "CorePointer"
	#InputDevice    "vncMouse" "ExtraPointer"
	#InputDevice    "vncKeyboard" "ExtraKeyboard"
	Option	    "Xinerama" "true"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:-1"
EndSection

Section "Module"
	Load  "ddc"
	Load  "GLcore"
	Load  "bitmap"
	Load  "dbe"
	Load  "extmod"
	SubSection "extmod"
		Option	    "omit xfree86-dga"
	EndSubSection
	Load  "glx"
	Load  "record"
	Load  "freetype"
#	Load  "v4l"
	Load  "dri"
	Load  "speedo"
	Load  "type1"
	Load  "vnc"
EndSection

Section "InputDevice"

	#Option	"AutoRepeat"	"500 5"
	#Option	"XkbOptions"	"ctrl:nocaps"
	Identifier  "T41-Keyboard"
	Driver      "keyboard"

	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "GPM-Emulated"
	Driver      "mouse"
	Option	    "AlwaysCore"
	Option	    "Protocol" "IntelliMouse"
	Option	    "Device" "/dev/gpmdata"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Buttons" "5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
	Identifier  "TouchPad"
	Driver      "synaptics"
	Option      "Device" "/dev/psaux"
	Option      "Protocol" "auto-dev"
	Option      "LeftEdge" "1700"
	Option      "RightEdge" "5300"
	Option      "TopEdge" "1700"
	Option      "BottomEdge" "4200"
	Option      "FingerLow" "25"
	Option      "FingerHigh" "30"
	Option      "MaxTapTime" "180"
	Option      "MaxTapMove" "220"
	Option      "VertScrollDelta" "100"
	Option      "MinSpeed" "0.06"
	Option      "MaxSpeed" "0.12"
	Option      "AccelFactor" "0.0010"
	Option      "SHMConfig" "on"
EndSection

#Section "InputDevice"
#	Identifier  "vncMouse"
#	Driver      "rfbmouse"
#EndSection

#Section "InputDevice"
#	Identifier  "vncKeyboard"
#	Driver      "rfbkeyb"
#EndSection

Section "Monitor"
	Identifier   "TP LCD"
	Option	    "DPMS"
EndSection

Section "Monitor"
	Identifier   "External Monitor"
	HorizSync    30.0 - 60.0
	VertRefresh  43.0 - 90.0
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "Radeon"
	Driver      "radeon"
	Option	    "AGPMode" "3"
	Option      "AGPFastWrite" "on"
	Option      "RenderAccel" "on"
	Option      "DynamicClocks" "on"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "Radeon0"
	Driver      "radeon"
	Option	    "AGPMode" "3"
	Option      "AGPFastWrite" "on"
	Option      "RenderAccel" "on"
	Option      "DynamicClocks" "on"
	Option	    "MonitorLayout" "LVDS, CRT"
	Option	    "CloneDisplay" "0"
	Option	    "CloneMode" "1024x768"
	Option	    "usevnc" "on"
	Option	    "useraccept" "off"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "Radeon-c1152"
	Driver      "radeon"
	Option	    "AGPMode" "3"
	Option      "AGPFastWrite" "on"
	Option      "RenderAccel" "on"
	Option      "DynamicClocks" "on"
	Option	    "MonitorLayout" "LVDS, CRT"
	Option	    "CloneDisplay" "0"
	Option	    "CloneMode" "1152x864"
	Option	    "usevnc" "on"
	Option	    "useraccept" "off"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "Radeon-c1024"
	Driver      "radeon"
	Option	    "AGPMode" "3"
	Option      "AGPFastWrite" "on"
	Option      "RenderAccel" "on"
#	Option      "DynamicClocks" "on"
	Option	    "MonitorLayout" "LVDS, CRT"
	Option	    "CloneDisplay" "0"
	Option	    "CloneMode" "1024x768"
	Option	    "usevnc" "on"
	Option	    "useraccept" "off"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "Radeon-c800"
	Driver      "radeon"
	Option	    "AGPMode" "3"
	Option      "AGPFastWrite" "on"
	Option      "RenderAccel" "on"
	Option      "DynamicClocks" "on"
	Option	    "MonitorLayout" "LVDS, CRT"
	Option	    "CloneDisplay" "0"
	Option	    "CloneMode" "800x600"
	Option	    "usevnc" "on"
	Option	    "useraccept" "off"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "Radeon1"
	Driver      "radeon"
	Option	    "AGPMode" "3"
	Option      "AGPFastWrite" "on"
	Option      "RenderAccel" "on"
	Option      "DynamicClocks" "on"
	BusID       "PCI:1:0:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "LCD"
	Device     "Radeon0"
	Monitor    "TP LCD"
	DefaultDepth     24
	SubSection "Display"
		Depth     16
		Modes    "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "LCD-c1152"
	Device     "Radeon-c1152"
	Monitor    "TP LCD"
	DefaultDepth     24
	SubSection "Display"
		Depth     16
		Modes    "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "LCD-c1024"
	Device     "Radeon-c1024"
	Monitor    "TP LCD"
	DefaultDepth     24
	SubSection "Display"
		Depth     16
		Modes    "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "LCD-c800"
	Device     "Radeon-c800"
	Monitor    "TP LCD"
	DefaultDepth     24
	SubSection "Display"
		Depth     16
		Modes    "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "VGA"
	Device     "Radeon1"
	Monitor    "External Monitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "VGA800"
	Device     "Radeon1"
	Monitor    "External Monitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes    "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection


--=-EE8dO2mSXrYgHAHXPExd--