Dual monitor setup

Michael Collette Michael.Collette at TestEquity.com
Sat Jan 15 23:28:28 PST 2005


On Sunday 02 January 2005 03:41 am, Clive Lin wrote:
> On Wed, Dec 29, 2004 at 01:17:26PM -0800, Michael Collette wrote:
> > Wondering if anyone out there has had any luck with this?  If so, could
> > you post your XF86Config?
>
> Hi,
>
>     http://wiki.bsdchat.com/attach?page=Evilc.X31%2Fxorg.conf
>     This works on xorg before 6.8. (so I reverted my xorg port back to
> old versions..)

Clive,

Thank you VERY much.  This was just the direction I needed to getting this all 
working here.  I'm now running a laptop at 1400x1050 with a 1280x1024 
external monitor off to the right.  It actually works a lot better than I had 
hoped.

A couple of notes for the archives...

I included my version of the xorg.conf file here.  Knocked it down to just the 
one ServerLayout.  Here's the really cool part, the darn thing is smart.  If 
there's no external monitor when X starts it goes into single monitor mode.  
When I hook on in and restart X, dual head mode.

I did have to revert back to xorg-server-6.7.0_9.  This not only solved my 
dual monitor issue, but also corrected a problem with putting the monitors to 
sleep.  Apparently the new Xorg isn't able to put either the internal or 
external monitor to sleep.  I really don't want my LCD monitor just sitting 
there burning out its backlight.

Sad thing is, now I'm permanently afraid to ever upgrade to a new version of 
Xorg.  I didn't fully appreciate just how buggy the new one was until I 
stepped back to 6.7.

And here is that promised xorg.conf file.


# xorg.conf for an IBM ThinkPad T42 running at 1400x1050 internally
# with occasionally going into dual head mode with a 1280x1024 external
# LCD monitor.
#
Section "ServerLayout"
	Identifier     "DualHead"
	Screen         "Screen0" LeftOf "Screen1"
	Screen	       "Screen1"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option	       "Xinerama" "on"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	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/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
	FontPath     "/usr/X11R6/lib/X11/fonts/WinFonts"
EndSection

Section "Module"
	Load  "extmod"
	Load  "glx"
	Load  "dri"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "type1"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
	Identifier   "MonInt"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	DisplaySize  305  228
	Option	    "DPMS"
EndSection

Section "Monitor"
	Identifier   "MonExt"
	VendorName   "NEC"
	ModelName    "NEC MultiSync LCD1760V"
	DisplaySize  340  270
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "ati"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV350 [Mobility Radeon 9600 M10]"
	Screen      0
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "Card1"
	Driver      "ati"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV350 [Mobility Radeon 9600 M10]"
	Screen      1
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "MonInt"
	DefaultDepth    24
	SubSection "Display"
		Depth     24
		Modes	"1400x1050" "1024x768" "800x600"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "MonExt"
	DefaultDepth    24
	SubSection "Display"
		Depth     24
		Modes	"1280x1024" "1024x768" "800x600"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection



-- 
Michael Collette
IT Manager
TestEquity Inc
Michael.Collette at TestEquity.com
http://www.testequity.com/


More information about the freebsd-mobile mailing list