X autodetection/configuration, was Re: [Fedora-livecd-list] squashfs -- anyone have a pristine tree?

Jane Dogalt jdogalt at yahoo.com
Wed Apr 12 20:07:51 UTC 2006


--- Jeremy Katz <katzj at redhat.com> wrote:

> On Wed, 2006-04-12 at 10:12 -0700, Jane Dogalt wrote:
> > > What does X autodetection mean?
> > > X is X.
> > 
> > Actually A is A, but...
> > 
> > X autodetection is udev 'correctly' supporting hot/coldplug of vga
> adapters.
> > 
> > In reality it's a few lines of script here and there that accomplish more
> or
> > less the same thing.
> 
> More realistically, it's the work in X itself to autoconfigure itself
> based on the monitor and video cards present in the machine.  Anything
> else is going to be less than optimal.  The X server already has all
> kinds of this information (read through your X log sometime), but it
> basically just throws it out.  Instead, we really want it to be using
> that information to give an "optimal" configuration and then things like
> resolution can start being a user preference[1]
> 
> If someone is interested in helping to work on this, I can put you into
> contact with one of the X guys who has started looking at it as well

Actually it's called "Xorg -configure".  That will generate an xorg.conf file
that matches your vga (and sometimes monitor I think) hardware.  Then you do
some sed or python or perl to tune things like the user preferred resolution.

I was using this feature immediately after it was released in XFree86 several
years ago in a mandrake-8.0 livecd.  Though my appliance only required 640x480,
so I didn't have to worry too much about how successfully the monitor probing
(edid stuff) worked.

Then if you want to, you can do some more scripting to replace nv with nvidia
etc (assuming you've agreed to all their terms, etc...)

-jdog


> 
> Jeremy
> 
> [1] This is already the case, we just have to set up the defaults where
> we _can't_ easily do probing for monitors
> 
> --
> Fedora-livecd-list mailing list
> Fedora-livecd-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-livecd-list
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the livecd mailing list