Re: Christmas list for the kernel

Bill Davidsen
2005-11-23T16:32:50Z

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@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me