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

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

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

581 Views
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 Kudos
Reply
3 Replies

562 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Could you please share the your logs?

Best regards.

0 Kudos
Reply

547 Views
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 Kudos
Reply

493 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Could you please try adding unmount before disconnecting the device?

Best regards.

0 Kudos
Reply