I tried using both vold.fstab and vold.conf, but it doesn't work for me. vold.conf used to get parsed in system/core/vold/volmgr.c. In froyo, volmgr.c has been replaced with VolumeManager.cpp, and vold.fstab is parsed in system/vold/main.cpp. I can't find any reference to vold.conf in the froyo source.
On Sep 3, 11:43 am, Deva R <[email protected]> wrote: > >How do I set the UMS path in froyo? > > not 100% sure, probably in vold.conf only? > > u can see vold.conf is maintained in froyo too, with ums path set.. > patch > -http://git.omapzoom.org/?p=device/ti/blaze.git;a=blob;f=vold.conf;h=c... > file -http://git.omapzoom.org/?p=device/ti/blaze.git;a=blob;f=vold.conf;h=c... > > -- > Regards, > Devawww.bittoggler.com > > On Fri, Sep 3, 2010 at 11:24 PM, Paul Thacker <[email protected]> wrote: > > Hi, > > > I'm trying to get USB mass storage working on my android device. The > > device enumerates and I get the notifications, but in order to see the > > SD card contents on a host computer, I need to "echo /dev/block/ > > mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file". > > > In eclair, you could set the ums_path in vold.conf, but this seems to > > have changed in froyo, with the switch to vold.fstab. > > > How do I set the UMS path in froyo? > > > Thanks, > > Paul > > > -- > > 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
