Hi Alan,

Alan Coopersmith wrote:
> Xorg in 130 and later doesn't deliver drivers under /usr/X11/lib any more
> (the nvidia driver is still there for now - I don't know if or when that
>  will change given they build a single package for S10 & Nevada, but the
>  intel driver is not), but then parsing /var/log/Xorg.0.log has always been
> a bad idea - it's not even stable enough for ARC to consider it a Volatile
> interface, it's purely not an interface, and you'd fail ARC review if you
> told them you were doing it.
>   
What interface can this script use ?
> Of course, now that I've looked at the script again, I'm reminded that's far
> from the worst problem in the script...
>   
Could you be more precise ? and/or log bugs against it

    Thanks,

          Erwann
>       -Alan Coopersmith-           alan.coopersmith at sun.com
>        Sun Microsystems, Inc. - X Window System Engineering
>
> Erwann Chenede wrote:
>   
>> Allow the detection of driver in the compiz-by-default script.
>> See
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=13859
>> For details.
>>
>>    Erwann
>>
>> ===================================================================
>> --- compiz-by-default   (revision 25)
>> +++ compiz-by-default   (working copy)
>> @@ -801,10 +801,10 @@
>>
>>     if $ISALIST | $GREP -q "amd64"; then
>>         # 64 bit
>> -        driver_path="/usr/X11/lib/modules/drivers/amd64/"
>> +        driver_path="/usr/X11/lib/modules/drivers/amd64"
>>     else
>>         # 32 bit
>> -        driver_path="/usr/X11/lib/modules/drivers/"
>> +        driver_path="/usr/X11/lib/modules/drivers"
>>     fi
>>
>>     verbose "Driver Path :  $driver_path\n"
>>
>>     
>
>   


-- 
              Erwann Ch?ned?,
 Desktop Group, Sun Microsystems, Grenoble
 Phone  : +33 476 188 358       ext: 38358

Reply via email to