From fd18127eb7f1b900beb72be35bbe9163bf95995a Mon Sep 17 00:00:00 2001 From: herman_lin Date: Mon, 5 May 2014 03:43:20 +0800 Subject: [PATCH] Modify VID for Compal The original definition of VENDOR_ID_COMPAL is for Compal Communications, Inc. But Compal Communications, Inc(CCI) had been merged into Compal Electronics, Inc(CEI) at April of 2014 So VENDOR_ID_COMPAL should be changed from 0x1219(CCI's VID) to 0x04B7(CEI's VID). And add one new definition(VENDOR_ID_COMPALCOMM) for CCI to maintain old devices that use CCI's VID. modified: adb/usb_vendors.c Change-Id: I9e9a96f6cc81273ff2c9353a13e7ce3b0583396b --- adb/usb_vendors.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/adb/usb_vendors.c b/adb/usb_vendors.c index 0c46a0ce7..0357ced79 100755 --- a/adb/usb_vendors.c +++ b/adb/usb_vendors.c @@ -51,7 +51,9 @@ // BYD's USB Vendor ID #define VENDOR_ID_BYD 0x1D91 // Compal's USB Vendor ID -#define VENDOR_ID_COMPAL 0x1219 +#define VENDOR_ID_COMPAL 0x04B7 +// Compalcomm's USB Vendor ID +#define VENDOR_ID_COMPALCOMM 0x1219 // Dell's USB Vendor ID #define VENDOR_ID_DELL 0x413c // ECS's USB Vendor ID @@ -195,6 +197,7 @@ int builtInVendorIds[] = { VENDOR_ID_ASUS, VENDOR_ID_BYD, VENDOR_ID_COMPAL, + VENDOR_ID_COMPALCOMM, VENDOR_ID_DELL, VENDOR_ID_ECS, VENDOR_ID_EMERGING_TECH,