Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35200422 authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge changes I0694ed72,I9f0622e0,Ib8c5196c

* changes:
  Add BYD's USB Vendor ID
  Add USB Vendor ID for Xiaomi
  Add vendor IDs to adb
parents 9b32f87a 92eb5838
Loading
Loading
Loading
Loading

adb/usb_vendors.c

100644 → 100755
+15 −0
Original line number Diff line number Diff line
@@ -131,6 +131,16 @@
#define VENDOR_ID_KOBO          0x2237
// Teleepoch's USB Vendor ID
#define VENDOR_ID_TELEEPOCH     0x2340
// AnyDATA's USB Vendor ID
#define VENDOR_ID_ANYDATA       0x16D5
// Harris's USB Vendor ID
#define VENDOR_ID_HARRIS        0x19A5
// OPPO's USB Vendor ID
#define VENDOR_ID_OPPO          0x22D9
// Xiaomi's USB Vendor ID
#define VENDOR_ID_XIAOMI        0x2717
// BYD's USB Vendor ID
#define VENDOR_ID_BYD           0x19D1


/** built-in vendor list */
@@ -183,6 +193,11 @@ int builtInVendorIds[] = {
    VENDOR_ID_YULONG_COOLPAD,
    VENDOR_ID_KOBO,
    VENDOR_ID_TELEEPOCH,
    VENDOR_ID_ANYDATA,
    VENDOR_ID_HARRIS,
    VENDOR_ID_OPPO,
    VENDOR_ID_XIAOMI,
    VENDOR_ID_BYD,
};

#define BUILT_IN_VENDOR_COUNT    (sizeof(builtInVendorIds)/sizeof(builtInVendorIds[0]))