Appium CentOS 6.5 通过 adb 连接手机设备,已打开调试模式但无法读出设备信息

KD · 2018年07月25日 · 最后由 KD 回复于 2018年08月02日 · 2024 次阅读

一、系统版本内核信息

[kingdow@quality_t_34_144 ~]$ uname -a
Linux quality_t_34_144 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[kingdow@quality_t_34_144 ~]$ uname -r
2.6.32-431.el6.x86_64

二、 adb 信息

[kingdow@quality_t_34_144 ~]$ adb version
Android Debug Bridge version 1.0.40
Version 4797878
Installed as /usr/local/kingdow/sdk-tools/platform-tools/adb

三、查看设备信息

1、使用 lsusb 查看设备信息

[kingdow@quality_t_34_144 ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[kingdow@quality_t_34_144 ~]$

2、使用 lspci 查看设备信息

[kingdow@quality_t_34_144 ~]$ lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
00:04.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:04.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:04.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:04.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:05.0 SCSI storage controller: Red Hat, Inc Virtio block device
00:06.0 RAM memory: Red Hat, Inc Virtio memory balloon

四、adb devices 查看已连接设备信息

[kingdow@quality_t_34_144 ~]$ adb devices
List of devices attached

五、问题求助

CentOS 6.5 通过 adb 连接手机设备,手机端已打开开发者调试模式,但无法读出设备信息。同样的手机在 Windows 10 以及 Mac OS 下连接正常。
希望可以帮忙分析下问题的可能所在,感谢~

共收到 1 条回复 时间 点赞
KD #1 · 2018年08月02日 Author

已解决

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册