The path which I gave in vold.fstab is as per the mentioned example there
and is as follows.

dev_mount sdcard /mnt/sdcard auto
/devices/platform/mmci-omap-hs.0/mmc_host/mmc0

Still my camera application broken by saying please insert the SD card.

I  browse the source code  dig a little more into it and found that  the
camera application has registered for the the event notifications of
MEDIA_MOUNT as there was no event broadcast  like MEDIA_MOUNT it was
throwing the exceptions and camera application breaks. I guess the Volume
Manager is culprit here as it responsible for mounting the SD card and broad
cast the event but same code is working on the zoom2 board I just wonder.

Thanks &Regards,
Venky.

On Thu, Sep 30, 2010 at 9:39 AM, Srikant <w.sreeka...@gmail.com> wrote:

> Have a look at in vold.fstab file
>
> There is an example for specifying specific partitions for mounting
>
> -
>
> On Sep 28, 11:50 am, August <huangbo0...@gmail.com> wrote:
> > Thans for you reply.
> > i have verified this path exists in my target adb shell /sys/devices/
> > platform/s3c-hsmmc.0/mmc_host/mmc0.however,the path is longer than it
> > like this:/sys/devices/platform/s3c-hsmmc.0/mmc_host/mmc0/mmc0:0001 .
> > there are two partitions ,one is for rootfs.another one is for music
> > like XXXX.ogg.and check my vold.conf file it is like this:/devices/
> > platform/s3c-hsmmc.0/mmc_host/mmc0
> >
> > so do you know how to change the vold.conf file to be suitable for the
> > situation of two partition.
> > thanks again.
> >
> > On Sep 28, 9:10 am, Srikant <w.sreeka...@gmail.com> wrote:
> >
> >
> >
> > > Verify this path exists in your target adb shell
> > > /sys/devices/platform/s3c-hsmmc.0/mmc_host/mmc0
> >
> > > also check in your vold.conf file, it should be like
> > > /devices/platform/s3c-hsmmc.0/mmc_host/mmc0
> >
> > > Then your SD card should detect.
> >
> > > On Sep 25, 5:15 pm, August <huangbo0...@gmail.com> wrote:
> >
> > > > i also meet the same problem.
> >
> > > > I have ported android- 2.6.24.7 to my s3c smdk6410,and the filesystem
> > > > is eclair that I built from the source code.Now I can boot it up and
> > > > see the main window. and I also did thev4l2.patch in the libcamera
> > > > and get a new libcamera.so and a libcameraservice.so. what's more, i
> > > > also did the gspca1.patch in the usb/media.because i found there is
> > > > not gspca1 in the kernel 2.6.14.7.
> > > > but after I click on Camera application it says please insert the SD
> > > > card  and another problem: "can't open ,no space left on device "
> >
> > > > have you solve it ,please give me some advice.
> > > > thanks a lot
> >
> > > > On Sep 21, 2:27 pm, Raju Sana <venkat.raju...@gmail.com> wrote:
> >
> > > > > Hi
> >
> > > > > I have ported the similarV4L2stuff to android2.2 on beagle board ,
> it
> > > > > builds for me but when I click on Camera application it says please
> insert
> > > > > the SD card . Are there any  vold issues in android2.2 ?
> > > > > I guess  the media scanner or vold some how unable to detect/mount
> the SD
> > > > > card such that the camera application was not aware of SD card.
> >
> > > > > please find  me some pointers on this.
> >
> > > > > Thanks & Regards,
> > > > > Venkat.
> >
> > > > > On Thu, Sep 2, 2010 at 12:17 PM, Rahul Soparkar <
> soparkar.ra...@gmail.com>wrote:
> >
> > > > > > Hi
> >
> > > > > > First you need to verify does your kernel supportV4L2through your
> > > > > > kernel configuration,
> > > > > > Then you have to write an HAL implementation according to the
> Camera
> > > > > > interface specified by android2.2, your HAL implementation should
> take
> > > > > > care about theV4L2stuff, and would act as an communication bridge
> > > > > > between yourV4L2based camera driver in linux and the android
> > > > > > framework.
> >
> > > > > > Below given link will of some help, they even have a patch for
> the HAL
> > > > > > implementation forV4L2based camera but i think its for a older
> > > > > > version of android u need to modify accoring to android 2.2 and
> your
> > > > > > camera sensor :
> >
> > > > > > "
> http://groups.google.com/group/android-porting/browse_thread/thread/
> > > > > > f6b9c22ee45a68c4<
> http://groups.google.com/group/android-porting/browse_thread/thread/%...>
> > > > > > "
> >
> > > > > > Cheers,
> > > > > > Rahul Soparkar
> >
> > > > > > On Aug 30, 1:11 pm, sandeep kaushik <sandeep...@gmail.com>
> wrote:
> > > > > > > Hi,
> >
> > > > > > > I have a query about usingv4l2based driver for camera on
> android 2.2
> > > > > > > platform.
> > > > > > > Is there any application available for testing camera? Also,
> what
> > > > > > > patch that needs to be added on android for
> supportingv4l2feature?
> >
> > > > > > > Regards
> > > > > > > Sandeep
> >
> > > > > > --
> > > > > > unsubscribe: 
> > > > > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> <android-porting%2bunsubscr...@­googlegroups.com>
> > > > > > website:http://groups.google.com/group/android-porting- Hide
> quoted text -
> >
> > - Show quoted text -
>
> --
> 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

Reply via email to