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
149ae11f
Commit
149ae11f
authored
Jan 24, 2012
by
Jean-Baptiste Queru
Committed by
android code review
Jan 24, 2012
Browse files
Options
Downloads
Plain Diff
Merge "adb,fastboot: add USB support for Intel Vendor ID"
parents
fa7860a2
f60e8638
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
adb/usb_vendors.c
+3
-0
3 additions, 0 deletions
adb/usb_vendors.c
fastboot/fastboot.c
+1
-0
1 addition, 0 deletions
fastboot/fastboot.c
with
4 additions
and
0 deletions
adb/usb_vendors.c
+
3
−
0
View file @
149ae11f
...
@@ -37,6 +37,8 @@
...
@@ -37,6 +37,8 @@
// Google's USB Vendor ID
// Google's USB Vendor ID
#define VENDOR_ID_GOOGLE 0x18d1
#define VENDOR_ID_GOOGLE 0x18d1
// Intel's USB Vendor ID
#define VENDOR_ID_INTEL 0x8087
// HTC's USB Vendor ID
// HTC's USB Vendor ID
#define VENDOR_ID_HTC 0x0bb4
#define VENDOR_ID_HTC 0x0bb4
// Samsung's USB Vendor ID
// Samsung's USB Vendor ID
...
@@ -116,6 +118,7 @@
...
@@ -116,6 +118,7 @@
/** built-in vendor list */
/** built-in vendor list */
int
builtInVendorIds
[]
=
{
int
builtInVendorIds
[]
=
{
VENDOR_ID_GOOGLE
,
VENDOR_ID_GOOGLE
,
VENDOR_ID_INTEL
,
VENDOR_ID_HTC
,
VENDOR_ID_HTC
,
VENDOR_ID_SAMSUNG
,
VENDOR_ID_SAMSUNG
,
VENDOR_ID_MOTOROLA
,
VENDOR_ID_MOTOROLA
,
...
...
This diff is collapsed.
Click to expand it.
fastboot/fastboot.c
+
1
−
0
View file @
149ae11f
...
@@ -150,6 +150,7 @@ int match_fastboot(usb_ifc_info *info)
...
@@ -150,6 +150,7 @@ int match_fastboot(usb_ifc_info *info)
{
{
if
(
!
(
vendor_id
&&
(
info
->
dev_vendor
==
vendor_id
))
&&
if
(
!
(
vendor_id
&&
(
info
->
dev_vendor
==
vendor_id
))
&&
(
info
->
dev_vendor
!=
0x18d1
)
&&
// Google
(
info
->
dev_vendor
!=
0x18d1
)
&&
// Google
(
info
->
dev_vendor
!=
0x8087
)
&&
// Intel
(
info
->
dev_vendor
!=
0x0451
)
&&
(
info
->
dev_vendor
!=
0x0451
)
&&
(
info
->
dev_vendor
!=
0x0502
)
&&
(
info
->
dev_vendor
!=
0x0502
)
&&
(
info
->
dev_vendor
!=
0x0fce
)
&&
// Sony Ericsson
(
info
->
dev_vendor
!=
0x0fce
)
&&
// Sony Ericsson
...
...
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