Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemCore
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemCore
Commits
746f3243
Commit
746f3243
authored
Jan 14, 2012
by
Xavier Ducrohet
Browse files
Options
Downloads
Patches
Plain Diff
Add USB vendor IDs for Quanta, INQ and Sony.
Change-Id: I224e067d9a64e8e9e7afbad0760a4b07f965bf83
parent
4779e934
Branches
Branches containing commit
Tags
android-cts-4.0.3_r2
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
adb/usb_vendors.c
+9
-0
9 additions, 0 deletions
adb/usb_vendors.c
fastboot/fastboot.c
+1
-0
1 addition, 0 deletions
fastboot/fastboot.c
with
10 additions
and
0 deletions
adb/usb_vendors.c
+
9
−
0
View file @
746f3243
...
...
@@ -117,6 +117,12 @@
#define VENDOR_ID_LUMIGON 0x25E3
//Intel's USB Vendor ID
#define VENDOR_ID_INTEL 0x8087
// Quanta's USB Vendor ID
#define VENDOR_ID_QUANTA 0x0408
// INQ Mobile's USB Vendor ID
#define VENDOR_ID_INQ_MOBILE 0x2314
// Sony's USB Vendor ID
#define VENDOR_ID_SONY 0x054C
/** built-in vendor list */
int
builtInVendorIds
[]
=
{
...
...
@@ -161,6 +167,9 @@ int builtInVendorIds[] = {
VENDOR_ID_FUJITSU
,
VENDOR_ID_LUMIGON
,
VENDOR_ID_INTEL
,
VENDOR_ID_QUANTA
,
VENDOR_ID_INQ_MOBILE
,
VENDOR_ID_SONY
,
};
#define BUILT_IN_VENDOR_COUNT (sizeof(builtInVendorIds)/sizeof(builtInVendorIds[0]))
...
...
This diff is collapsed.
Click to expand it.
fastboot/fastboot.c
+
1
−
0
View file @
746f3243
...
...
@@ -157,6 +157,7 @@ int match_fastboot(usb_ifc_info *info)
(
info
->
dev_vendor
!=
0x22b8
)
&&
// Motorola
(
info
->
dev_vendor
!=
0x0955
)
&&
// Nvidia
(
info
->
dev_vendor
!=
0x413c
)
&&
// DELL
(
info
->
dev_vendor
!=
0x2314
)
&&
// INQ Mobile
(
info
->
dev_vendor
!=
0x0bb4
))
// HTC
return
-
1
;
if
(
info
->
ifc_class
!=
0xff
)
return
-
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment