[ltp] xorg.conf file for T42p?

Alex Deucher linux-thinkpad@linux-thinkpad.org
Wed, 17 Nov 2004 23:46:30 -0500


On Wed, 17 Nov 2004 23:07:30 -0500, morpheus <morpheus@post.harvard.edu> wr=
ote:
> Yes, but that would only work at boot time. Is there a way to change the
> display settings on the fly without restarting X?  Now I just do an init
> 3/init 5, but it would be nice to not have to restart X.
> -jr
>=20

xrandr or ctrl-alt-+/-
if you have a radeon and use mergedfb you can set different metamodes
and switch between them using ctrl-alt-+/- or xrandr.  since mergedfb
dualhead modes show up as regular modes, you can even switch between
clone modes and dualhead.

Alex

> On Wed, 2004-11-17 at 22:53, Andr=E9 Wyrwa wrote:
> > It should be possible to automate this...
> >
> > 1) You don't need different X config files, because you can specify
> > several serverlayouts within one and then pick the appropriate layout b=
y
> > giving the -layout parameter to X or give it through the
> > DefaultServerLayout parameter within the config itself.
> >
> > 2) X can be started with the -probeonly parameter (note that it will
> > switch terminals but not put up any display). Additionally you can make
> > it log to a specific file with -logfile and you can specify a config
> > file to use with -config. This gives you the ability to write a
> > bootscript that starts X in probeonly mode with an appropriate config
> > and save its log output to some temporary file. Your bootscript would
> > then analyse the generated logfile (look for the information provided b=
y
> > DDC) and reconfigure your x config file as needed.
> >
> > I didn't do this myself so far, but i did write a framework for
> > reconfiguring the X config (and other things) on my system. As soon as =
i
> > see any chance to get my Radeon 9000 PCI working i might dig into this
> > again.
> >
> > Andr=E9.
> >
> >
> > On Mi, 2004-11-17 at 16:52 -0500, morpheus wrote:
> > > This is exactly what I do....
> > > Is there a better way anyone?
> > > -m
> > >
> > > On Wed, 2004-11-17 at 15:40, Donald B. Altman wrote:
> > > > ** Reply to message from Norman Walsh <ndw@nwalsh.com> on Wed, 17 N=
ov 2004 14:59:14 -0500
> > > >
> > > > Hi Norm,
> > > >
> > > > I'm running SuSE 9.1 on a T42p.  So, I still use XFree, but perhaps=
 this
> > > > will help.
> > > >
> > > > I've never been able to get the external port to reliably work usin=
g the
> > > > radeon driver.  For the external port I use the VESA framebuffer de=
vice.
> > > > This may be my problem since I'm  new to X stuff.
> > > >
> > > > I've resorted to the kludge of having several XF86Config files and
> > > > swapping them via 1-liner scripts as needed.
> > > >
> > > > The way I found to do so was:
> > > > 1)  I have 2 entries in  grub's menu.lst.  The one for the external=
 monitor
> > > >           sets the VESA FB resolution in hardware.  The radeon one =
works well without doing so.
> > > > 2)  I boot to runlevel 3 and run the appropriate script (which copi=
es the appropriate
> > > >           XF86Config into the /etc/X11 directory
> > > > 3)  Then I "init 5" and log in again once X is up.
> > > > 4)  Once I've got the proper XF86Config file, I just use the grub m=
enu if I need to reboot.
> > > > 4)  I wanted to automate this, but haven't found any difference in =
the
> > > >          processes running with and without the external monitor.
> > > >
> > > > The whole procedure is ugly.  I chalk it up to being a rank amateur=
 and
> > > > not having the time to really learn this stuff.  But it works and i=
s reliable.
> > > > If you don't find anything better, I'll be glad to post the appropr=
iate files.
> > > >
> > > > Good luck.
> > > >
> > > > Don A
> > > >
> > > > --
> > > > Donald B. Altman
> > > > Singular Technologies
> > > > Croton-on-Hudson,  NY
> > >
>=20
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>