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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值