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 <[email protected]> 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 <[email protected]> wrote:
> > Did you try this?
>
> >https://gforge.ti.com/gf/project/omapandroid/mailman/?_forum_action=F...
>
> > On Nov 10, 2:43 pm, sreedhar b <[email protected]> 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 <[email protected]>
> > wrote:
> > > > Hi,
>
> > > > Did you modified your vold.conf?
>
> > > > On Nov 9, 11:19 pm, sreedhar b <[email protected]> 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 <[email protected]>
> > > > 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: 
> > > > [email protected]<android-porting%[email protected]>
> > <android-porting%[email protected]<android-porting%[email protected]>
>
> > > > website:http://groups.google.com/group/android-porting
>
> > --
> >  unsubscribe: 
> > [email protected]<android-porting%[email protected]>
> > website:http://groups.google.com/group/android-porting
>
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to