[ltp] Multihead display on IBM T23

Erin Schnabel linux-thinkpad@linux-thinkpad.org
Wed, 21 Jan 2004 23:11:58 -0500 (EST)


I read the "T40p+XFree-4.3.0" thread [1] regarding setting up a dual
monitor/multihead display, and was very interested in Klaus's suggestion
[2] regarding using x2vnc to manage the different displays dynamically.

[1]
http://news.gmane.org/find-root.php?group=gmane.linux.hardware.thinkpad&article=5615
[2] http://article.gmane.org/gmane.linux.hardware.thinkpad/5622

However, I could not, no matter what I tried, get the external display to
come up correctly. I kept seeing "Requested Entity already in use!" as the
last message in XFree86.0.log, and X would refuse to start.

I was testing with "startx -- -layout Multihead". Any ideas what I screwed
up/missed?! (details below)


Erin
(ebullient)

--
'Waste of a good apple.' - Samwise Gamgee
ICQ: 38670353


------------------
Config:

XFree86 Version 4.3.0
savage driver (version 1.1.27t) for S3 Savage chipsets

tpctl --sdx
setup of display:                       CMOS          current
   internal display enabled?:           enable        enable
   crt display:                         enable        disable
   tv display:                          disable       disable
   2ual display:                        enable        enable
   TV display selected?:                N             N
   monitor detection ignored?:          N             N

>From lspci:

01:00.0 VGA compatible controller: S3 Inc. SuperSavage IX/C SDR (rev 05)
(prog-if 00 [VGA])
        Subsystem: IBM ThinkPad T23 (2647-4MG)
        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
        Memory at c0100000 (32-bit, non-prefetchable) [size=512K]
        Memory at e8000000 (32-bit, prefetchable) [size=64M]
        Memory at e4000000 (32-bit, prefetchable) [size=64M]
        Memory at e0000000 (32-bit, prefetchable) [size=32M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [dc] Power Management version 2
        Capabilities: [80] AGP version 2.0

---------------------------------------------------------
# XF86Config

Section "ServerLayout"
	Identifier     "T23 Layout"
	Screen         0 "T23 Screen" 0 0
	InputDevice    "Mouse0"
	InputDevice    "Keyboard0"
EndSection

Section "ServerLayout"
	Identifier     "Multihead"
	Screen         0 "T23 Screen" 0 0
	Screen         1 "External" RightOf "T23 Screen"
	InputDevice    "Mouse0"
	InputDevice    "Keyboard0"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "unix/:7100"
	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/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "record"
	Load  "extmod"
	Load  "dbe"       #double buffer extension
	Load  "dri"
	Load  "glx"
	Load  "xtrap"
	Load  "type1"
	Load  "speedo"
EndSection

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

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "CorePointer"
	Option	    "Protocol" "PS/2"
	Option	    "Device" "/dev/mouse"
	Option      "Emulate3Buttons" "on"
	Option      "Emulate3Timeout" "50"
	Option      "EmulateWheel" "on"
	Option	    "EmulateWheelButton" "2"
	Option      "YAxisMapping" "4 5"
EndSection

Section "Device"
	Identifier  "Savage"
	Driver      "savage"
	Screen      0
	VendorName  "S3 Inc."
	BoardName   "SuperSavage IX/C SDR"
	BusID       "PCI:1:0:0"
	Option      "SWCursor"           	# [<bool>]
EndSection

Section "Device"
	Identifier  "External Savage"
	Driver      "savage"
	Screen      1
	VendorName  "S3 Inc."
	BoardName   "SuperSavage IX/C SDR"
	BusID       "PCI:1:0:0"
	Option      "SWCursor"           	# [<bool>]
EndSection

Section "Monitor"
	Identifier   "IBM ThinkPad LCD"
	VendorName   "IBM"
	ModelName    "T23 14.1 TFT"
	HorizSync    31.5-48.5
	VertRefresh  40-70
	Option       "DPMS"
EndSection

Section "Monitor"
	Identifier	"IBM P70"
	VendorName	"IBM"
	ModelName	"P70"
	HorizSync	29-80
	VertRefresh	50-120
	Option		"DPMS"
	Option		"CrtScreen"
EndSection

Section "Screen"
	Identifier "T23 Screen"
	Device     "Savage"
	Monitor    "IBM ThinkPad LCD"
	DefaultDepth 24
	SubSection "Display"
		Depth     16
		Modes   "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes	"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"External"
	Device		"External Savage"
	Monitor		"IBM P70"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768"
	EndSubSection
EndSection

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