summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorherman_lin <herman_lin@compal.com>2014-05-05 03:43:20 +0800
committerherman_lin <herman_lin@compal.com>2014-05-05 03:43:20 +0800
commitfd18127eb7f1b900beb72be35bbe9163bf95995a (patch)
treefc548af871c010a17f9e96aafbf936485b5a9a0d /adb
parent8ec42bb203d48e917d8da4d925378b448416d09e (diff)
downloadsystem_core-fd18127eb7f1b900beb72be35bbe9163bf95995a.zip
system_core-fd18127eb7f1b900beb72be35bbe9163bf95995a.tar.gz
system_core-fd18127eb7f1b900beb72be35bbe9163bf95995a.tar.bz2
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
Diffstat (limited to 'adb')
-rwxr-xr-xadb/usb_vendors.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/adb/usb_vendors.c b/adb/usb_vendors.c
index 0c46a0c..0357ced 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,