udisk auto dismount

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

udisk auto dismount

1,185 次查看
douglasbolton
Contributor III

I am using Android 4.04 with an i.mx6q and my vold.fstab is -

dev_mount udisk /mnt/udisk auto /devices/platform/fsl-ehci.1/usb2

dev_mount extsd /mnt/extsd auto /devices/platform/sdhci-esdhc-imx.2/mmc_host/mmc1

dev_mount sdcard /mnt/sdcard 4 /devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0

When I insert the usb stick memory device I get -

root@android:/ # usb 2-1.2: new high speed USB device number 3 using fsl-ehci
scsi0 : usb-storage 2-1.2:1.0
scsi 0:0:0:0: Direct-Access                                    PQ: 0 ANSI: 4
sd 0:0:0:0: [sda] 3891200 512-byte logical blocks: (1.99 GB/1.85 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk

When I remove the usb stick memory device I get -

root@android:/ #
root@android:/ # usb 2-1.2: USB disconnect, device number 3

root@android:/ #

This is all OK, except that the device is not auto dismounting when it is removed.

What do I need to do to get the usb memory stick to auto dismount on removal ?

标签 (2)
标记 (4)
0 项奖励
3 回复数

612 次查看
YixingKong
Senior Contributor IV

Douglas

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

Yixing

0 项奖励

612 次查看
YixingKong
Senior Contributor IV

Douglas

We have not got your response yet and will close the discussion in 3 days. If you still need help, please feel free to

reply with an update to this discussion.
Thanks,
Yixing

0 项奖励

612 次查看
YixingKong
Senior Contributor IV

Douglas

Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help please feel

free to contact Freescale.

Thanks,
Yixing

0 项奖励