AnsweredAssumed Answered

The adb command cannot detect USB3 device in the i.MX8 MEK

Question asked by Kevin Chen on Jun 16, 2020
Latest reply on Jun 30, 2020 by Kyle_Fox

Hi Sir,

I got a problem in using adb command to detect device. I am confused and hope someone can help. Thank you!

 

CPU: i.MX8qxp

Yocto: v4.14.98_v2.3.0

 

Problem:

I try to use adb command to detect the adb device for one module that supports USB2/USB3. And these is a usb3 hub between i.MX8 and module. However, the adb command cannot detect the ADB device over USB3 mode. If I convert the USB3 mode to USB2 by HW rework, the adb command can detect the ADB device. Below is my testing message, FYR! Thank you!

 

============USB3.0 ============
root@imx8qxpc0mek:~# lsusb
Bus 001 Device 004: ID 0424:2740 Standard Microsystems Corp.
Bus 001 Device 002: ID 0424:2734 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 05c6:901f Qualcomm, Inc.    <-- The module
Bus 002 Device 002: ID 0424:5734 Standard Microsystems Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

 

root@imx8qxpc0mek:~# lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ci_hdrc/1p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 5000M
|__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=diag_bridge, 5000M
|__ Port 2: Dev 3, If 1, Class=Vendor Specific Class, Driver=, 5000M
|__ Port 2: Dev 3, If 2, Class=Vendor Specific Class, Driver=, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 5: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 480M

 

root@imx8qxpc0mek:~# adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached

 

============ USB2.0 ============
root@imx8qxpc0mek:~# lsusb
Bus 001 Device 003: ID 05c6:901f Qualcomm, Inc.<-- The module
Bus 002 Device 002: ID 0424:5734 Standard Microsystems Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0424:2740 Standard Microsystems Corp.
Bus 001 Device 002: ID 0424:2734 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

root@imx8qxpc0mek:~# lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ci_hdrc/1p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 2: Dev 3, If 1, Class=Vendor Specific Class, Driver=, 480M
|__ Port 2: Dev 3, If 2, Class=Vendor Specific Class, Driver=, 480M
|__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=diag_bridge, 480M
|__ Port 5: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 480M

 

root@imx8qxpc0mek:~# adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
6205578c device
 

BR

Kevin

Outcomes