After reboot already attached USB is not get MOUNT event in IMX8mp Android 11

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

After reboot already attached USB is not get MOUNT event in IMX8mp Android 11

584 次查看
Lavanyavijay
Contributor II

Dear NXP Team,

I'm encountering an issue with automatic USB device mounting on my IMX8MP board running AOSP Android 11.

Scenario:

  1. Before Reboot:

    • I connect a USB pendrive to the board.
  2. After Reboot:

    • The USB device is detected (ATTACH event is received).
    • However, the MOUNT event is not triggered, and the Vold service is not called. but is the pendrive is mounted and accessible to the system.

Request:

I would appreciate your assistance in identifying the cause of this problem and understanding how to ensure the USB pendrive notifies the mount event after a system reboot.

Additional Information

  • Have you encountered similar issues with USB device mounting on the IMX8MP platform?
  • Are there any known configuration options or workarounds to receive the mounting events in this scenario?

 

0 项奖励
回复
3 回复数

565 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Could you please share the your logs?

Best regards.

0 项奖励
回复

550 次查看
Lavanyavijay
Contributor II

Please find an attachment for the LOGS
The USB mount notification only works after a system reboot. When the pen drive is attached before booting, the mount happens silently.

./base/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java
not to be called with state :
case VolumeInfo.STATE_MOUNTED:
case VolumeInfo.STATE_MOUNTED_READ_ONLY:

 

0 项奖励
回复

496 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Could you please try adding unmount before disconnecting the device?

Best regards.

0 项奖励
回复