[ltp] Internal/external display use

Markus Alt linux-thinkpad@www.bm-soft.com
Fri, 05 May 2000 16:59:26 +0200


Markus Alt wrote:
> 
> "Joachim F. Selinger" wrote:
> >
> > Sure there should be a way. Have you tried multiple resolution entries in
> > the XF86Config file like:
> >   SubSection "Display"
> >     Depth       24
> >     Modes       "1280x1024" "640x480" "1024x768"
> >   EndSubSection
> >
> > Then you can switch resolutions by pressing Ctr-Alt-+ or - to cycle
> > through those listed in the Modes line. '+' does go from left to right in
> > this line.
> >
> 
> 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? And if so, I'd need two "Modeline" lines with
> "1024x768" within the "Monitor" section which are different in their
> other parameters, right?
> To what ranges should I set the "HorizSync" and "VertRefresh" parms then
> - min and max resp. of the values for both displays?
> 

Hey, looks like this really makes it! The point is that the entries
within the "Modes" line must have *different names* so you're able to
switch between them. I've set the "HorizSync" and "VertRefresh" ranges
to the values of the external monitor (which include the range of the
LCD), otherwise it won't work. So parts of my XF86config now look like

  HorizSync	30-97
  VertRefresh	50-144
  Modeline "1600x1000" 102.96 1600 1616 1968 2080 1000 1000 1007 1044
  Modeline "1280x960" 83.20 1280 1296 1552 1664 960 960 967 1003
  Modeline "1024x768" 66.00 1024 1040 1216 1328 768 768 775 802
  Modeline "1024x768ext" 102.92 1024 1088 1264 1352 768 768 780 794

and

  SubSection "Display"
    Depth	24
    Modes	"1024x768ext" "1024x768"

It looks like the order of the "Modes" line above is important. If I
specify "1024x768" (for LCD) first and switch to external only with
Fn-F7, I'm not able to select the "1024x768ext" resolution for the
external display with Ctrl-Alt-NumPad+ or Ctrl-Alt-NumPad-. And I want
to have only the external running when working at the office, because I
don't know whether it causes harm to the LCD if it receives the higher
rez signal of the external (which it can't display anyway) when both
displays are active. Just being a bit paranoid ... ;-)

So with the configuration above, I get what I want, apart from one
drawback: When booting (default runlevel 3) without external display or
just LCD selected, no KDE login manager is displayed at the end of the
boot process, as the first specified rez doesn't work with the LCD. No
problem - toggle to the other rez with Ctrl-Alt-NumPad+ or
Ctrl-Alt-NumPad-. This is ok with my external keyboard, but ummh ... I
never made it to get that @#*! NumLock key working on my TP's keyboard.
No problem so far, but now I'd have a little problem selecting the
correct rez when I'm w/o external keyboard, e.g. at home. Not a very
nice idea ...

So could any kind soul share his/her Xmodmap with me in order to help me
out of that mess? Thanks in advance!

Oh, and I forgot: The font on my virtual consoles (Ctrl-Alt-F1 to F6)
look a little strange since the change in the XF86config. But that's
secondary and maybe I find a way to get the old ones back a fiddling a
bit with the other resolutions.

Markus

P.S.: Thomas, I just got your note telling me that what I tried was ok.
Thank you!
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html