[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to make work dual monitors with Debian etch on an IBM x60s ThinkPad?



[ Please have a look at how I trim quoted messages below and how I put
  the "answers" below the relevant "questions" in the older mail(s).
  This makes it easier for the other subscribers of this list to follow
  our exchange. Ideally, every single email should be a self-explanatory
  and concise "story" told in chronological order. Please consider
  changing your quoting and posting style accordingly. ] 

On Wed, Jan 31, 2007 at 09:54:50 -0500, Matt Price wrote:
> On 1/31/07, Florian Kulzer wrote:

[...]

> >I am not sure about having two "Device" sections. I have an Intel 855GM
> >Display Controller in my laptop and I only need one Device section to
> >have the two outputs. Your card should use the same driver so I would
> >expect that it should work similarly.

[...]

> >        I can post a working Cloning configuration and I am sure that
> >somebody else will have an example for a proper Xinerama setup, but
> >first we need to know that the "i810" driver works properly for you.

> just hoping that someone posts these xorg.conf's for the record; I for
> one may well buy one of these machiens soon and would like to know how
> to do  both things.

Here are the relevant parts of my xorg.conf for a cloned setup with an
Intel 855GM card:

#-----------------------------------------------------------------------

Section "Device"
	Identifier	"Intel 82852/855GM 1"
	Driver		"i810"
EndSection

Section "Device"
	Identifier	"Intel 82852/855GM 2"
	Driver		"i810"
	Option		"MonitorLayout"		"CRT,LFP"
	Option		"Clone"		"on"
EndSection

Section "Monitor"
	Identifier	"LCD"
	HorizSync	30-61
	VertRefresh	56-75
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"LCD Normal"
	Device		"Intel 82852/855GM 1"
	Monitor		"LCD"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"LCD Cloned"
	Device		"Intel 82852/855GM 2"
	Monitor		"LCD"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default"
	Screen		"LCD normal"
	InputDevice	"Keyboard"
	InputDevice	"Touchpad"
	InputDevice	"USB Mouse"
EndSection

Section "ServerLayout"
	Identifier	"Cloned"
	Screen		"LCD Cloned"
	InputDevice	"Keyboard"
	InputDevice	"Touchpad"
	InputDevice	"USB Mouse"
EndSection

#-----------------------------------------------------------------------

This allows me to run

startx -- -layout Cloned

to start X with the cloned display, and 

startx -- -layout Default

for the normal display (external output off). If you only want the
cloned display then you can remove the normal "Device", "Screen" and
"ServerLayout" sections, of course.

To avoid confusion due to my earlier statement about the two "Device"
sections in the OP's xorg.conf: Yes, I do have two such sections as
well, but in my case only one is used at any given time, depending on
the ServerLayout.

This xorg.conf works very well for me, but I actually prefer to use a
normal (not cloned) xorg.conf and to switch the external output on/off
with the i810switch tools. (I do not have to restart X for the change to
take effect in that case.)

I never had any reason to play around with Xinerama, therefore I do not
have a configuration ready for that case.

HTH

-- 
Regards,
          Florian



Reply to: