Android 9 imx6 USB not auto mounting

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

Android 9 imx6 USB not auto mounting

383 Views
aravinthkumarja
Senior Contributor II

Hi Team,

In imx6 board running in Android 9. We have usb connector, when we insert pendrive it's detecting and we can able to mount manually, but Auto mount not working.? 

Can you please help to fix this?

 

logcat after pendrive insert:


01-15 02:46:18.386 1278 1293 I com.android.mt: Waiting for a blocking GC ProfileSaver
01-15 02:46:18.395 1278 1293 I com.android.mt: WaitForGcToComplete blocked ProfileSaver on HeapTrim for 8.167ms
01-15 02:46:18.529 237 237 E /vendor/bin/hw/android.hardware.health@2.0-service.imx: /sys/block/mmcblk0/stat: ReadFileToString failed.
01-15 02:46:29.567 274 291 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
01-15 02:46:29.566 237 237 E /vendor/bin/hw/android.hardware.health@2.0-service.imx: /sys/block/mmcblk0/stat: ReadFileToString failed.
01-15 02:46:30.362 236 330 E display : threadLoop invalid uevent add@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3
01-15 02:46:30.364 236 330 E display : threadLoop invalid uevent add@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0
01-15 02:46:30.380 236 330 E display : threadLoop invalid uevent add@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/host0
01-15 02:46:30.380 236 330 E display : threadLoop invalid uevent add@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/host0/scsi_host/host0
01-15 02:46:30.381 236 330 E display : threadLoop invalid uevent bind@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0
01-15 02:46:30.381 236 330 E display : threadLoop invalid uevent bind@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3
01-15 02:46:30.385 370 504 D UsbHostManager: USB device attached: vidpid 0781:5567 mfg/product/ver/serial SanDisk/Cruzer Blade/1.00/04014919121420205247 hasAudio/HID/Storage: false/false/true
01-15 02:46:30.387 370 504 D UsbDeviceDescriptor: 1 configs
01-15 02:46:30.388 370 504 D UsbHostManager: Added device UsbDevice[mName=/dev/bus/usb/001/005,mVendorId=1921,mProductId=21863,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=SanDisk,mProductName=Cruzer Blade,mVersion=1.00,mSerialNumber=04014919121420205247,mConfigurations=[
01-15 02:46:30.388 370 504 D UsbHostManager: UsbConfiguration[mId=1,mName=null,mAttributes=128,mMaxPower=100,mInterfaces=[
01-15 02:46:30.388 370 504 D UsbHostManager: UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=8,mSubclass=6,mProtocol=80,mEndpoints=[
01-15 02:46:30.388 370 504 D UsbHostManager: UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=512,mInterval=0]
01-15 02:46:30.388 370 504 D UsbHostManager: UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=512,mInterval=1]]]]
01-15 02:46:30.414 370 504 E AlsaCardRecord: Failed to parse line 0 of /proc/asound/cards: ---
01-15 02:46:31.457 236 330 E display : threadLoop invalid uevent add@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/host0/target0:0:0
01-15 02:46:31.458 236 330 E display : threadLoop invalid uevent add@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/host0/target0:0:0/0:0:0:0
01-15 02:46:31.459 236 330 E display : threadLoop invalid uevent add@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0
01-15 02:46:31.460 236 330 E display : threadLoop invalid uevent bind@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/host0/target0:0:0/0:0:0:0
01-15 02:46:31.461 236 330 E display : threadLoop invalid uevent add@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/host0/target0:0:0/0:0:0:0/scsi_device/0:0:0:0
01-15 02:46:31.485 236 330 E display : threadLoop invalid uevent add@/devices/virtual/bdi/8:0
01-15 02:46:31.470 28 28 I kdevtmpfs: type=1400 audit(0.0:67): avc: denied { create } for name="sda" scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
01-15 02:46:31.553 236 330 E display : threadLoop invalid uevent add@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/host0/target0:0:0/0:0:0:0/block/sda
01-15 02:46:31.557 236 330 E display : threadLoop invalid uevent add@/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/host0/target0:0:0/0:0:0:0/block/sda/sda1
01-15 02:46:31.550 169 169 I ueventd : type=1400 audit(0.0:69): avc: denied { create } for name="sda" scontext=u:r:ueventd:s0 tcontext=u:object_r:fuse:s0 tclass=blk_file permissive=1

 

//Vold not getting called.

 

Regards,

Aravinth

0 Kudos
0 Replies