我是靠谱客的博主 俭朴荷花,最近开发中收集的这篇文章主要介绍mac os android 连接,mac os使用lsusb命令和连接未知的Android设备,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

命令能够显示system_profiler SPUSBDataType

$echo "system_profiler

SPUSBDataType"  ~/bin/lsusb

$ chmod +x ~/bin/lsusb

$ lsusb

USB:

USB 3.0 SuperSpeed Bus:

Host Controller Location: Built-in USB

Host Controller Driver: AppleUSBXHCI

PCI Device ID: 0x8c31

PCI Revision ID: 0x0005

PCI Vendor ID: 0x8086

Bus Number: 0x0a

Internal Memory Card Reader:

Product ID: 0x8406

Vendor ID: 0x05ac  (Apple Inc.)

Version: 8.20

Serial Number: 000000000820

Speed: Up to 5 Gb/sec

Manufacturer: Apple

Location ID: 0x15400000 / 2

Current Available (mA): 900

Current Required (mA): 896

Built-In: Yes

USB 3.0 Hi-Speed Bus:

Host Controller Location: Built-in USB

Host Controller Driver: AppleUSBXHCI

PCI Device ID: 0x8c31

PCI Revision ID: 0x0005

PCI Vendor ID: 0x8086

Bus Number: 0x0a

P990:

Product ID: 0x56a6

Vendor ID: 0x26f1

Version: 2.31

Serial Number: 0123456789ABCDEF

Speed: Up to 480 Mb/sec

Manufacturer: LANDI

Location ID: 0x14500000 / 23

Current Available (mA): 500

Current Required (mA): 500

Android:

Product ID: 0x9039

Vendor ID: 0x05c6  (Qualcomm, Inc)

Version: 2.32

Serial Number: 1c372511

Speed: Up to 480 Mb/sec

Manufacturer: Android

Location ID: 0x14500000 / 12

Current Available (mA): 500

Current Required (mA): 500

BRCM20702 Hub:

Product ID: 0x4500

Vendor ID: 0x0a5c  (Broadcom Corp.)

Version: 1.00

Speed: Up to 12 Mb/sec

Manufacturer: Apple Inc.

Location ID: 0x14800000 / 4

Current Available (mA): 500

Current Required (mA): 94

Built-In: Yes

Bluetooth USB Host Controller:

Product ID: 0x8289

Vendor ID: 0x05ac  (Apple Inc.)

Version: 1.03

Speed: Up to 12 Mb/sec

Manufacturer: Apple Inc.

Location ID: 0x14830000 / 7

Current Available (mA): 500

Current Required (mA): 0

Built-In: Yes

Apple Internal Keyboard / Trackpad:

Product ID: 0x0262

Vendor ID: 0x05ac  (Apple Inc.)

Version: 2.25

Speed: Up to 12 Mb/sec

Manufacturer: Apple Inc.

Location ID: 0x14c00000 / 13

Current Available (mA): 500

Current Required (mA): 40

Built-In: Yes

Apple USB Ethe娕燬ጠ✩騀龝枩Љ≠㙱นн:

Product ID: 0x1402

Vendor ID: 0x05ac  (Apple Inc.)

Version: 0.01

Serial Number: 1460AB

Speed: Up to 480 Mb/sec

Manufacturer: Apple Inc.

Location ID: 0x14100000 / 1

Current Available (mA): 500

Current Required (mA): 250

BSD Name: en4

vi ~/.android/adb_usb.ini 命令,在打开的 adb_usb.ini文件里加入Vendor

ID相应的 0x26f1

最后

以上就是俭朴荷花为你收集整理的mac os android 连接,mac os使用lsusb命令和连接未知的Android设备的全部内容,希望文章能够帮你解决mac os android 连接,mac os使用lsusb命令和连接未知的Android设备所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(65)

评论列表共有 0 条评论

立即
投稿
返回
顶部