As per summary, lshw instead of using the usb.ids already installed by usbutils, install its own copy of it, which is also outdated, and so does for pci.ids, but for this one the version in lshw is newer (will report a bug for pciutils about this). As the two files can be updated through cron, it would be nice if lshw used the system-installed *.ids files instead. HTH, Diego
Created attachment 117439 [details, diff] Source patch to only use system's .ids files After looking at the source, I can see that it actually tries to run quite a few usb.ids files, the last of which is the system's usb.ids, and so seems to be doing for pci.ids; nonetheless, by reducing the set to only the system's .ids files it should also be faster to execute. The attached patch removes the two files from the installation, and reduces the set of used files. As an alternative, only lshw's own copy of usb.ids and pci.ids could be removed by the list, still allowing the use of the others, or it could just be skipped during the installation, and the code not changed at all.
i'm not worried about the speed as you safe just 1 function call and 1 fopen per element removed from the list i dont know about deleting the files ... lshw doesnt support compressed versions, so the pci.ids that comes with lshw is the only one that it'll find ... it ignores /usr/share/misc/pci.ids.gz ... that should be mentioned to the upstream author ;) also, about the only thing you'll safe is disk space ... sometimes the id files with lshw will be newer, sometimes the ones from pciutils/usbutils will be newer