ids-update.pl revision cf7ebcea78223b95b2676b97e1d2aad16caa3c86
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinuse strict;
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinuse warnings;
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin "# Data imported and updated from: http://www.linux-usb.org/usb.ids\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $line =~ s/\s+$//;
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if (defined $1) {
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if (defined $1) {
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin print(OUT " ID_PRODUCT_FROM_DATABASE=" . $text . "\n");
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin "# Data imported and updated from: http://pciids.sourceforge.net/v2.2/pci.ids\n");
$line =~ s/\s+$//;
print(OUT "pci:v0000" . $vendor . "d0000" . $device . "sv0000" . $sub_vendor . "sd0000" . $sub_device . "*\n");
close(INP);
close(OUTP);
sub pci_classes {
my $class;
my $subclass;
my $interface;
"# Data imported and updated from: http://pciids.sourceforge.net/v2.2/pci.ids\n");
$line =~ s/\s+$//;
if (not defined $class) {
close(INP);
close(OUTP);
sub oui {
"# Data imported and updated from: http://standards.ieee.org/develop/regauth/oui/oui.txt\n");
$line =~ s/\s+$//;
close(INP);
close(OUTP);
usb_vendor();
pci_vendor();
pci_classes();
oui();