Home » Questioni » 27
Take vendor from id
submitted by quidam, 06:59, 21 ottobre 2010
ARGOMENTO: add a vendor name
STATO: closed
Since you are already collecting the VendorID:ProductID code for all devices, manually adding vendors is not needed, you could just add http://www.pcidatabase.com/vendors.php?sort=id to a table and match the values.
Automatically obtain the vendor name from the vendorID inserted by the user would be a more elegant solution (if I have correctly understood your suggestion). There could only be a problem in the case of notebooks where no vendorID is collected. It could be used for all the other categories of hardware (but this would require a not small amount of work in order to modify the source code). Anyway thanks for the suggestion :)
submitted by tonicucoz, 18:50, 21 ottobre 2010
Ok, now the vendor name is taken from the vendor id. The vendorid and usbid repositories are used. Thanks for the suggestion :)
submitted by tonicucoz, 13:46, 3 marzo 2011

Write below your motivation

h-node.org is a hardware database project. It runs the h-source PHP software, version SVN-387, available under the GNU General Public (GPLv3) License.
JavaScript license information