[ltp] xorg.conf file for T42p?

morpheus linux-thinkpad@linux-thinkpad.org
Wed, 17 Nov 2004 23:07:30 -0500


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

On Wed, 2004-11-17 at 22:53, Andr=E9 Wyrwa wrote:
> It should be possible to automate this...
>=20
> 1) You don't need different X config files, because you can specify
> several serverlayouts within one and then pick the appropriate layout by
> giving the -layout parameter to X or give it through the
> DefaultServerLayout parameter within the config itself.
>=20
> 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 by
> DDC) and reconfigure your x config file as needed.
>=20
> 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.
>=20
> Andr=E9.
>=20
>=20
> On Mi, 2004-11-17 at 16:52 -0500, morpheus wrote:
> > This is exactly what I do....
> > Is there a better way anyone?
> > -m
> >=20
> > On Wed, 2004-11-17 at 15:40, Donald B. Altman wrote:
> > > ** Reply to message from Norman Walsh <ndw@nwalsh.com> on Wed, 17 Nov=
 2004 14:59:14 -0500
> > >=20
> > > Hi Norm,
> > >=20
> > > I'm running SuSE 9.1 on a T42p.  So, I still use XFree, but perhaps t=
his
> > > will help.
> > >=20
> > > I've never been able to get the external port to reliably work using =
the
> > > radeon driver.  For the external port I use the VESA framebuffer devi=
ce.
> > > This may be my problem since I'm  new to X stuff.
> > >=20
> > > I've resorted to the kludge of having several XF86Config files and=20
> > > swapping them via 1-liner scripts as needed.
> > >=20
> > > The way I found to do so was:
> > > 1)  I have 2 entries in  grub's menu.lst.  The one for the external m=
onitor
> > >           sets the VESA FB resolution in hardware.  The radeon one wo=
rks well without doing so.
> > > 2)  I boot to runlevel 3 and run the appropriate script (which copies=
 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 men=
u if I need to reboot.
> > > 4)  I wanted to automate this, but haven't found any difference in th=
e
> > >          processes running with and without the external monitor.
> > >=20
> > > The whole procedure is ugly.  I chalk it up to being a rank amateur a=
nd
> > > not having the time to really learn this stuff.  But it works and is =
reliable.
> > > If you don't find anything better, I'll be glad to post the appropria=
te files.
> > >=20
> > > Good luck.
> > >=20
> > > Don A
> > >=20
> > > --=20
> > > Donald B. Altman
> > > Singular Technologies
> > > Croton-on-Hudson,  NY
> >=20