How Ubuntu installer auto setups XF86Config-4?

Fabio Massimo Di Nitto fabbione at canonical.com
Fri Oct 1 11:05:15 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Cooke wrote:
| Fabio Massimo Di Nitto wrote:
|
|> No. dpkg-reconfigure will not autoprobe hardware and if you rename the
|> config you will endup without a new one.
|
|
| oh well, for arguments sake, suppose I do not know about monitor refresh
| rates and use my cdrom holder as a coffee cup, I add a new monitor (with
| help from the manual :)), Ubuntu would not auto probe again, thus I'm
| left with my originally installed XF86Config (thus it is wrong for that
| monitor) and this could potentionally blow up my nice shiny new monitor.

The major issues are:
a) X might crash, if probe is done within X.
b) values might be unreliable (same note as a)).
c) it isn't enough to do that via dpkg-reconfigure but we will need some
~   sort of init script to check the actual hardware configuration
~   increasing a lot complexity of the startup. Imagine a card that hangs
~   if probed.
d) you might have changed your video card and the monitor probe can fail
~   (since they are strictly dependend one to eachother) and therefor
~   get prompted for frequencies of a perfect working monitor... humm
~   "but i didn't change my monitor in years"..

| I personaly do not have a problem manually rebuilding this or adding the
| required refresh rates (I change my monitor, only when the wife lets me,
| thus once every 10 years or if I really NEED to :))

You too?? it must be a quite common problem ;)

|
| But if Ubuntu if trying to give to just use impression (and generally
| it's pretty good at this), this would have to be sorted, as IMHO things
| now for GNU/Linux should really be able to easily handle things like
| this, without needing to reinstall/remove packages.

As i explained in the previous email, that is ONE way to do so and it is
the same as asked: reproducing the same environment as install time.

It is not required to deinstall a package or reinstall it to do a
configuration.

Also, dpkg-reconfigure xserver-xfree86 is already pre-seeded with proper
values. That means that if you are changing the video card, you only
need to change one answer and hit enter to all the others.

For the specific problem of the monitor frequencies, you have 3 levels
of input that goes from simple to advanced. With the former asking only
the size of the screen, to the latter asking manual input of freq.
range. The Medium one fits 99,99% of the users out there.

Fabio

- --
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQV056VA6oBJjVJ+OAQKmVBAAgoy7dKumDLEO+9M1bMTay+JLRw6Qsfmi
y2JjqlwYQkR3w+ZYxCFAbFNbpXCHiBtT+tF3D4DB7kU7zmmH0GFN7SrhNv4Q1U/R
a1xEC5BrS/084RUQIy566AJSbJMRev730ngB3Du51i/pGmCt9MKUHl1kDcrkA2ob
CcOy5x4k8wQ0F2fq0cCosOkZGowPJiAOOAiyQ+fEkvTR5Oxortz6QYw0LEDfagYv
7Pu/Y+yXoyWhb9PORz8UyFig97HJJGtMIVJN0Go8u547T0JQr9Qi86zDHNoYQVV6
Lr2lb117LIe4lAKMHqaVJQErFO6k7TANGTODn7dK08NHsPQ8/7hqRZ5xcxKr+k4w
4jv7GVrvQBvlzzMMZd3gNAodDxctI2J5ojPSKbKZBHUr8IeAXUQq3hlDnqtRSFTX
sqoDD/MeyDAhGptR9Rc47mBH4j3IB/e57F743DMJP9Wjwa2Vtkh5pc16bXmbT2pB
p1mNO0INnvXnmMM4FwnT52StCeMs2plDVO+KIrAQ0/BZDxw/jTlwqTwr+ivbhhoz
yh75nWtjvLniDcolAPgUck8hpT9WfWOxPfCc0tuK3P0zxGiTD091YNT4q972AHoY
foiR1xSyz5Kc1lvBU4pz6pkufrsdOCPdMxUiMzrqHnwua7z7ZYIUN/oxFrzQWiNZ
+zOpKJdVspA=
=cnt7
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list