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

582件の閲覧回数
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 返答(返信)

563件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Could you please share the your logs?

Best regards.

0 件の賞賛
返信

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

494件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Could you please try adding unmount before disconnecting the device?

Best regards.

0 件の賞賛
返信