Using libpci for reading PCI vendor/device/etc

Bill Nottingham notting at redhat.com
Thu Jun 21 09:41:02 PDT 2007


Daniel Drake (dsd at gentoo.org) said: 
> Hi,
> 
> Mike's patch at 
> http://lists.freedesktop.org/archives/hal/2007-June/008830.html works 
> fine with both compressed and uncompressed pci.ids. It's a much nicer 
> approach than the unzip-in-memory patch I posted earlier.
> 
> Do the concerns about increased footprint for embedded users matter 
> here, or can this be applied?

Also, as written, the patch will cause hald to *exit* on a parse error
of pci.ids. (libpci calls exit() by default on errors)

Bill


More information about the hal mailing list