Hi,
In Android 2.3, vold is responsible for auto mount medias, such as MMC/SD.
I want to auto mount USB mass storage to /mnt/udisk, so I changed /etc/vold.fstab,
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
dev_mount udisk /mnt/udisk auto /devices/platform/ehci-omap.0/usb1
However, it doesn't not work, and logcat logs as this:
01-01 04:45:10.554: INFO/Vold(822): Vold 2.1 (the revenge) firing up
01-01 04:45:10.585: DEBUG/Vold(822): USB mass storage support is not enabled in the kernel
01-01 04:45:10.585: DEBUG/Vold(822): usb_configuration switch is not enabled in the kernel
01-01 04:45:10.601: DEBUG/Vold(822): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
01-01 04:45:10.601: DEBUG/Vold(822): Volume udisk state changing -1 (Initializing) -> 0 (No-Media)
01-01 04:45:15.195: DEBUG/Vold(822): Volume udisk state changing 0 (No-Media) -> 2 (Pending)
01-01 04:45:15.195: DEBUG/Vold(822): Volume udisk state changing 2 (Pending) -> 1 (Idle-Unmounted)
and dmesg is as following,
usb 1-1.3: New USB device found, idVendor=0951, idProduct=1603
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3: Product: DataTraveler 2.0
usb 1-1.3: Manufacturer: Kingston
usb 1-1.3: SerialNumber: 200801250000000000000684
scsi0 : usb-storage 1-1.3:1.0
scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 7856128 512-byte logical blocks: (4.02 GB/3.74 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
Does anybody know what is wrong with my procedure? Or any suggestions?
Thanks,
Kevin