Matt Keenan wrote:
>>>        verbose "Checking for Intel Graphics Card Type : "
>>>         # List taken from SUNWdrmr/postinstall
>>>         # Confirmed list (29/01/09)
>>>         #   pci8086,2562 - compiz fails, driver problem
>>>         #   pci8086,27a2 - compiz fails, driver problem
>>>         #   pci8086,2a42 - compiz runs
>>>         intel=`echo $prtconf_pv_output | $NAWK '{               \
>>
>> I still think it's a mistake for your script to hardcode a list of
>> Intel & ATI chip ids, since you'll have to keep up with new ones as
>> they're added.
> 
> This is what the driver team recommended to Erwann, and thus this is what I
> have implemented. I've contacted the DDU team to determine how the
> Device Driver
> Utility picks up the video driver, and if this is easy and quick to
> implement I
> may go down that route.
> 
> Agreed that the list would require maintaining for intel chips at least.

Why?  If it's just the list of chipsets the kernel DRM driver supports, then
seeing if the kernel driver attached to them should be enough.

> Do packages install a copy of "postinstall" anywhere on one's system ?

IPS packages don't have postinstall scripts at all.   If you were just
going with trusting their postinstall script, then you're duplicating
the effort the kernel has already done to attach the driver to the
given pci ids and can just check if the kernel attached the driver.

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to