[ltp] T40p, K.Weidners Multihead approach

Michael Stilkerich linux-thinkpad@linux-thinkpad.org
Tue, 27 Jan 2004 23:55:19 +0100


--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

basically I have the problem that I want to use the VGA out of my T40p
to connect a beamer to it which is limited to a 1024x768 resolution.
In the archive I found a thread which K.Weidner made an approach in
using a second independent display and running a vnc server on it.
[ http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2003-November/013701.html ]
This sounds like being exactly what I need to.. I tried the config and
fizzled a bit around with it, but it doesn't work for me:

The monitor does not show the gray X screen but fires up my window
manager at 1024x768. Now when running vncserver on :3 and connecting
it with vncclient to my :0 Display i see that there is a third X
which is running kde in it (the VGA and LCD both are running my default
WM enlightenment).

I played around with the CloneDisplay options but it doesn't stop from
starting the WM on the VGA.

I use the XFree 4.3pre4 packages from Debian/experimental and the radeon
driver of the DRI CVS.

For reference, I attach my XF86Config in its current state; of course I
already tried the supposed config posted by KW.

Would be thankful for any hint which could help me in solving that
problem..

Mike.

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=XF86Config-4

# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
#		ModulePath "/usr/X11R6/lib/modules"
#		RgbPath "/usr/X11R6/lib/X11/rgb"

  # Added by ttf-commercial
		FontPath  "/usr/lib/X11/fonts/misc"
	  FontPath  "/usr/lib/X11/fonts/75dpi/:unscaled"
	  FontPath  "/usr/lib/X11/fonts/100dpi/:unscaled"
		FontPath  "/usr/lib/X11/fonts/Type1"
	  FontPath  "/usr/lib/X11/fonts/Speedo"
 	 	FontPath  "/usr/lib/X11/fonts/75dpi"
	  FontPath  "/usr/lib/X11/fonts/100dpi"
		FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
	 # FontPath  "/usr/lib/X11/fonts/CID"
		FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
		FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
	  FontPath  "/usr/lib/X11/fonts/cyrillic"
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	"ddc"
	Load	"dri"
	Load	"speedo"
	Load	"type1"
	Load	"synaptics"
	Load	"record" # KW
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"
	#Option		"XkbOptions"	"altwin:meta_win"
EndSection

Section "InputDevice"
	Identifier	"UltraNav"
	Driver		"synaptics"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"

  Option        "LeftEdge"      "1900"
  Option        "RightEdge"     "5400"
  Option        "TopEdge"       "1900"
  Option        "BottomEdge"    "4000"
  Option        "FingerLow"     "25"
  Option        "FingerHigh"    "30"
  Option        "MaxTapTime"    "180"
  Option        "MaxTapMove"    "220"
  Option        "VertScrollDelta" "100"
  Option        "MinSpeed"      "0.02"
  Option        "MaxSpeed"      "0.18"
	Option        "AccelFactor" "0.0010"
	Option        "SHMConfig"     "on"
	#  Option       "Repeater"      "/dev/ps2mouse"
EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
  Option    "ZAxisMapping"    "4 5"
EndSection

Section "Device"
	Identifier	"Radeon0"
	Screen		0
	Driver		"radeon"
	Option		"AGPMode" "1" 
	#Option		"AGPFastWrite" "true"
	#Option		"MonitorLayout" "LVDS, CRT"
	#Option		"PanelOff" "true"
	#Option		"CloneDisplay" "0"
	#Option		"CloneMode" "1024x768"
	#Option		"CloneHSync" "30-80"
	#Option		"CloneVRefresh" "60-90"
	#Option		"BackingStore" "on"
	#BusID		"PCI:1:0:0"
EndSection

Section "Device"
	Identifier	"Radeon1"
	Screen		1
	Driver		"radeon"
	#Option		"ForcePCIMode" "true" # works but crashes
	#Option		"SWcursor" "true" # paranoid mode
	Option		"AGPMode" "4"
	Option    "AGPFastWrite" "true"
	#Option          "UseFBDev"              "true"
	#Option		"MonitorLayout" "NONE, TMDS"
	#Option		"PanelOff" "true"
	
	Option 	"BackingStore" "on"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"TP LCD"
	#HorizSync	28-50
	#VertRefresh	60 #43-75
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"External Monitor"
	#HorizSync	30-60
	#VertRefresh	43-90
	Option		"DPMS"
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	"VGA"
	Device		"Radeon1"
	Monitor		"External Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"single"
	Screen		"LCD"
	InputDevice	"Generic Keyboard"
	InputDevice	"UltraNav" "CorePointer"
	InputDevice	"Generic Mouse"
EndSection

Section "ServerLayout"
  Identifier      "indep"
	Screen      0 "LCD"
	Screen      1 "VGA"
	InputDevice	"Generic Keyboard"
	InputDevice	"UltraNav" "CorePointer"
	InputDevice	"Generic Mouse"
	Option "Xinerama" "false"
EndSection

Section "DRI"
	Mode	0666
EndSection

--HlL+5n6rz5pIUxbD--