imx8mq+Android2.3.0 adb issue?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mq+Android2.3.0 adb issue?

2,053 Views
传策薛
Contributor V

Hi community:

   The current imx8mq Android9_2.3.0 bsp adb function is invalid. The previous bsp function of Android9_1.0.0 is normal. What is the reason?

Labels (1)
0 Kudos
Reply
6 Replies

1,896 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Are you testing adb with Windows or Linux?

Best regards,

Diego.

0 Kudos
Reply

1,896 Views
传策薛
Contributor V

I use the android-adb-tools tool of ubuntu16.04 system, brushed the 2.3.0 and 1.0.0 version of the system package, "1.0.0" system "adb devices" command has devices; but "2.3. 0 "No.

0 Kudos
Reply

1,896 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Could you please try setting the following configuration?

To make ADB work under a Linux computer, you need to create a new rule for a plug device.

To make the new rule, create a document inside the /etc/udev/rules.d named 51-android.rules. Inside the document write the following:

 

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d002", MODE="0660", 
 GROUP="plugdev", SYMLINK+="android%n"

 

Where the ATTR{idVendor} and ATTR{idProduct} is the USB id for the board. To know that information. Write lsusb and your Android device is the one named Google Inc.

doc 1.13.jpg.png

Then reboot your computer. With this new rule, ADB should work as usual.

Hope this could help you.

Best regards,

Diego.

0 Kudos
Reply

1,896 Views
传策薛
Contributor V

I changed dr_mode = "otg" to dr_mode = "peripheral" and it works fine.
Should it still be a kernel driver issue? USB does not work properly in otg mode.

0 Kudos
Reply

1,896 Views
diegoadrian
NXP Employee
NXP Employee

Probably is because of the i.MX8MQ is no longer using a USB OTG. the i.MX8MQ uses USB 3.0.

Best regards,

Diego.

1,896 Views
传策薛
Contributor V

Ok, THS a lot

0 Kudos
Reply