imx8mq+Android2.3.0 adb issue?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8mq+Android2.3.0 adb issue?

2,154件の閲覧回数
传策薛
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?

ラベル(1)
0 件の賞賛
返信
6 返答(返信)

1,997件の閲覧回数
diegoadrian
NXP Employee
NXP Employee

Hello,

Are you testing adb with Windows or Linux?

Best regards,

Diego.

0 件の賞賛
返信

1,997件の閲覧回数
传策薛
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 件の賞賛
返信

1,997件の閲覧回数
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 件の賞賛
返信

1,997件の閲覧回数
传策薛
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 件の賞賛
返信

1,997件の閲覧回数
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,997件の閲覧回数
传策薛
Contributor V

Ok, THS a lot

0 件の賞賛
返信