Re: Christmas list for the kernel

From: Bill Davidsen
Date: Wed Nov 23 2005 - 11:32:23 EST


Alan Cox wrote:
On Maw, 2005-11-22 at 16:41 -0500, Jon Smirl wrote:

An example of this is that the serial driver is hard coded to report
four legacy serial ports when my system physically only has two. I
have to change a #define and recompile the kernel to change this.


It does an autodetect sequence to find the ports. If it reports ttyS0-S3
your system probably has them, they may just not be wired to external
ports and that is kinda tricky to autodetect


looks for everything again anyway. In a more friendly system X would
use the info the kernel provides and automatically configure itself
for the devices present or hotplugged. You could get rid of your
xorg.cong file in this model.



Not really as half of xorg.conf is preferences

I think what he wants is that you could have preferences, but that something functional if not optimal would be selected. What would actually be useful is if the kernel would provide a small report of the video hardware in some useful format, such that (example) /proc/somthing/video_config could be included in the xorg.conf.

Yes, a number of distributions build the xorg.conf at install time, although it's sometimes wrong and can't readily be made right after the fact. And really should come from kernel info found at boot time, I believe.

--
-bill davidsen (davidsen@xxxxxxx)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/