Hi, #ls /sys/devices/platform
it shows uevent and some other components specific to my platform and no MMC components. But i have something like this, # ls /sys/devices/MMC driver irq0 power subsystem id mmc_host resource uevent # ls /sys/devices/MMC/mmc_host mmc1 # ls /sys/devices/MMC/mmc_host/mmc1 device mmc1:bf0a power subsystem uevent Could you please let me know in that what should be my vold.conf ? ## vold configuration file for the emulator/SDK volume_sdcard { ## This is the direct uevent device path to the SD slot on the device media_path /devices/MMC/mmc_host/mmc1 media_type mmc mount_point /sdcard ums_path /devices/platform/usb_mass_storage/lun0 } Regards, Sreedhar On Tue, Nov 10, 2009 at 1:08 PM, abukustfan <abukust...@gmail.com> wrote: > hi, > > Is the media_path in vold.conf right? > I am not sure about your platform, maybe it should be /devices/ > platform/xxx... > try below on target board and find the path. > # ls /sys/devices/platform > > On Nov 10, 4:25 pm, sreedhar b <sreedhar...@gmail.com> wrote: > > Yes i tried this. > > > > Even after doing this i am getting these errors: > > > > E/vold ( 620): Unable to open '/sys/class/switch' (No such file or > > directory) > > E/vold ( 620): Cannot start volume '/sdcard' (volume is not bound) > > > > E/vold ( 620): Unable to open '/sys/class/switch' (No such file or > > directory), this error i am able to overcome by enabling the switch class > in > > kernel. > > > > But i am still stuck at this second error, > > E/vold ( 620): Cannot start volume '/sdcard' (volume is not bound) > > > > But just to inform if i try manually the below command, the mount happens > > $mount -t vfat /dev/block/mmcblk1p1 /sdcard > > > > Regards, > > Sreedhar > > > > On Tue, Nov 10, 2009 at 11:52 AM, abukustfan <abukust...@gmail.com> > wrote: > > > Did you try this? > > > > >https://gforge.ti.com/gf/project/omapandroid/mailman/?_forum_action=F. > .. > > > > > On Nov 10, 2:43 pm, sreedhar b <sreedhar...@gmail.com> wrote: > > > > Hi, > > > > > > This is the modified vold.conf which i am using , > > > > > > ## vold configuration file for the emulator/SDK > > > > volume_sdcard { > > > > ## This is the direct uevent device path to the SD slot on the > device > > > > media_path /devices/MMC/mmc_host/mmc1 > > > > media_type mmc > > > > mount_point /sdcard > > > > ums_path /devices/platform/usb_mass_storage/lun0 > > > > > > } > > > > > > Regards, > > > > Sreedhar > > > > > > On Tue, Nov 10, 2009 at 8:27 AM, abukustfan <abukust...@gmail.com> > > > wrote: > > > > > Hi, > > > > > > > Did you modified your vold.conf? > > > > > > > On Nov 9, 11:19 pm, sreedhar b <sreedhar...@gmail.com> wrote: > > > > > > Sorry the mmc partition in my system is different. > > > > > > > > The correct command i am using : > > > > > > mount -t vfat /dev/block/mmcblk1p1 /sdcard , > > > > > > > > earlier i wrongly said as > > > > > > mount -t vfat /dev/block/mmcblk0 /sdcard > > > > > > > > Regards, > > > > > > Sreedhar > > > > > > > > On Mon, Nov 9, 2009 at 3:53 PM, sreedhar b < > sreedhar...@gmail.com> > > > > > wrote: > > > > > > > Hi All, > > > > > > > > > I am seeing similar problem as is highlighted in the below link > in > > > my > > > > > > > environment, > > > > >http://groups.google.com/group/android-developers/msg/9e4c3176ef685f9e > > > > > > > > > 1. Manual mounting of sdcard > > > > > > > > > If i run the below command manually after the android boots > up, > > > > > > > $mount -t vfat /dev/block/mmcblk0 /sdcard > > > > > > > > > Then only the sdcard is getting mounted and as mentioned in the > > > above > > > > > link, > > > > > > > I also see Gallery and Camera do not recognize the SD card even > > > it's > > > > > > > mounted this way. > > > > > > > > > 2. No manual mounting of sdcard > > > > > > > > > While not doing this manually which is what ideally expected, i > > > got > > > > > the > > > > > > > following errors and the sdcard is not mounted > > > > > > > > > The log gives some error like this > > > > > > > E/vold ( 620): Unable to open '/sys/class/switch' (No such > file > > > or > > > > > > > directory) > > > > > > > E/vold ( 620): Cannot start volume '/sdcard' (volume is not > > > bound) > > > > > > > > > Please let me know how to overcome this issue. I faced the same > > > issue > > > > > with > > > > > > > Cupcake and also with Donut 1.6 r1 now. > > > > > > > > > Regards, > > > > > > > Sreedhar > > > > > > > -- > > > > > unsubscribe: > > > > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > <android-porting%2bunsubscr...@googlegroups.com<android-porting%252bunsubscr...@googlegroups.com> > > > > > <android-porting%2bunsubscr...@googlegroups.com<android-porting%252bunsubscr...@googlegroups.com> > <android-porting%252bunsubscr...@googlegroups.com<android-porting%25252bunsubscr...@googlegroups.com> > > > > > > > > > website:http://groups.google.com/group/android-porting > > > > > -- > > > unsubscribe: > > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > <android-porting%2bunsubscr...@googlegroups.com<android-porting%252bunsubscr...@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