Lines Matching refs:entry
117 LIBMTP_device_entry_t * entry = &entries[i];
122 printf("# %s %s\n", entry->vendor, entry->product);
124 // printf("SYSFS{idVendor}==\"%04x\", SYSFS{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->product_id, action);
126 printf("ATTR{idVendor}==\"%04x\", ATTR{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->product_id, action);
130 printf("# %s %s\n", entry->vendor, entry->product);
131 printf("libmtp.sh 0x0003 0x%04x 0x%04x 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000\n", entry->vendor_id, entry->product_id);
134 printf(" <!-- %s %s -->\n", entry->vendor, entry->product);
135 printf(" <match key=\"usb.vendor_id\" int=\"0x%04x\">\n", entry->vendor_id);
136 printf(" <match key=\"usb.product_id\" int=\"0x%04x\">\n", entry->product_id);
141 printf(" <merge key=\"info.vendor\" type=\"string\">%s</merge>\n", entry->vendor);
142 printf(" <merge key=\"info.product\" type=\"string\">%s</merge>\n", entry->product);
157 if (entry->vendor_id == 0x4102 || // iriver
158 entry->vendor_id == 0x066f || // TrekStor
159 entry->vendor_id == 0x1703) { // NormSoft, Inc.
169 if (last_vendor != entry->vendor_id) {
170 printf("%04x\n", entry->vendor_id);
172 printf("\t%04x %s %s\n", entry->product_id, entry->vendor, entry->product);
175 last_vendor = entry->vendor_id;
188 LIBMTP_device_entry_t * entry = &entries[i];
190 printf("# %s %s\n", entry->vendor, entry->product);
191 printf("ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->product_id, action);