[ltp] Re: Internal/external display use

Thomas Hood linux-thinkpad@www.bm-soft.com
Fri, 05 May 2000 09:33:17 -0400


Markus Alt wrote:

> I already considered this, but the problem is that I want to have the
> *same* resolution for the internal as well as for the external display
> (1024x768). Thus I'd need *two* "1024x768" entries within the "Modes"
> line. Is this possible?

Yes.  Here, for example, is the "Screen" section from my
XF86Config:

Section "Screen"
    Driver      "svga"
    # Use Device "Generic VGA" for Standard VGA 320x200x256
    #Device      "Generic VGA"
    Device      "Neomagic Corporation|NM2160 [MagicGraph 128XD]"
    Monitor     "LCD Panel 1024x768"
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "1024x768a"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "1024x768a"
        ViewPort    0 0
    EndSubsection
EndSection

(I have two 1024x768 modes so that I can use "xvidtune -next"
to reinitialize the video hardware on my ThinkPad 600 after a
suspend & resume.)

> And if so, I'd need two "Modeline" lines with "1024x768" within
> the "Monitor" section which are different in their other parameters,
> right?

Yes.  I have two identical lines:

Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777  806 -hsync
-vsync
Modeline "1024x768a"    65    1024 1032 1176 1344   768  771  777  806 -hsync
-vsync

but you could have two different ones.

(See http://panopticon.csustan.edu/thood/XF86Config for my
complete XF86config file.)

Thomas Hood
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html