[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FEEDBACK WANTED: What to do about XF86Config-4 BusID?



Branden Robinson wrote:

> 1) add a BusID question to the templates
> 2) add the following logic to the .config script:
>      (this is psuedocode, don't sweat the syntax, please)
> 
> if arch == powerpc:
>         FOO=$(lspci | grep VGA)
>         switch (wc -l $FOO)
>                 case 0: probably bail since we can't find a video card
>                 case 1: cut the bus:slot.func parts out and convert each of
>                         them to decimal, then auto-answer the BusID
>                         question with this info
>                 case >1: actually ask the question, making the user specify
>                          BusID manually
> 
> 3) dexconf would then write out the value of the BusID template if and only
>    if the architecture is powerpc.

Anything keeping you from implementing this? It sounds like a good idea to me.


-- 
Earthling Michel Dänzer (MrCooper)    \   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \        XFree86 and DRI project member



Reply to: