Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2005 23:28:20 -0800
From:      Michael Collette <Michael.Collette@TestEquity.com>
To:        Clive Lin <clive@tongi.org>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Dual monitor setup
Message-ID:  <200501152328.21145.Michael.Collette@TestEquity.com>
In-Reply-To: <20050102114113.GA6290@tongi.org>
References:  <200412291317.26537.Michael.Collette@testequity.com> <20050102114113.GA6290@tongi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@TestEquity.com
http://www.testequity.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501152328.21145.Michael.Collette>