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

Bug#478696: [libpciaccess-dev] unable to parse vendor/device information from pci.ids.gz



Package: libpciaccess-dev
Version: 0.10-1
Severity: minor

pciutils provided /usr/share/misc/pci.ids up until version 1:3.0.0-2, now
it installs a gzip compressed file to /usr/share/misc/pci.ids.gz.

pci_device_get_vendor_name() and pci_device_get_device_name() must rely on
populate_vendor() from src/common_device_name.c to open /usr/share/misc/pci.ids
for parsing. Obviously this is failing now that the file is compressed and has
a different filepath.

The 2 options i see available are:

1) Asking pciutils maintainer nicely to ship the plaintext pci.ids file, though
I can guess that he probably would prefer it to be compressed as it grows over
time

2) Patch libpciaccess to support either situation, support gzip file streams
and depend on associated libs to do that

Thanks, Kel.



Reply to: