It's ok now after change from ums_path to media_path. Thanks for your help.
On Mon, Dec 21, 2009 at 12:41 PM, Anil Sasidharan <anil...@gmail.com> wrote: > Add "media path" to vold.conf and try.... > > On Mon, Dec 21, 2009 at 8:24 AM, liang ming-chuan <lmc83...@gmail.com>wrote: > >> hi all, >> I have problem in auto mount SD card in Android. >> This is my vold.conf >> volume_sdcard { >> media_type mmc >> mount_point /sdcard >> ums_path /devices/platform/ftsdc010/mmc_host/mmc0 >> } >> >> and the kernel config: >> # CONFIG_SYSFS_DEPRECATED_V2 is not set >> >> here is the debug message print by logcat: >> I/vold ( 1076): New MMC card 'SD04G' (serial 2983043361) added @ >> /devices/platform/ftsdc010/mmc_host/mmc0/mmc0:69db >> I/vold ( 1076): Detected FAT filesystem in partition table >> I/vold ( 1076): Disk (blkdev 179:0), 7741440 secs (3780 MB) 0 >> partitions >> I/vold ( 1076): New blkdev 179.0 on media SD04G, media path >> /devices/platform/ftsdc010/mmc_host/mmc0/mmc0:69db, Dpp 0 >> >> it seems that it has found the sd card, but app still shows "No SD Card", >> the /sdcard didn't mounted automaticaly. >> >> Is there any thing I miss? >> >> I also found there exist a vold2, what's difference with these two >> version? >> should I upgrade to vold2? >> >> Thanks in advance for your help! >> Robert >> >> >> -- >> unsubscribe: >> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> >> website: http://groups.google.com/group/android-porting > > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting