Friday, March 7, 2014
How to make android automatically mount U disk
Today Research SD card, U disk automatically mount onto the android system, the Internet to find a bunch of information that is to say with a method to mount U disk SD card, like the U disk into the development board, in / dev / next block will generate sda1, can be mounted on the android system through the manual to use. Modify vold.fstab file system / etc under the method according to the online reference variable SD card mounted under the wording of the document: dev_mount sdcard / mnt / sdcard auto / devices/platform/s3c2410-ohci/usb1 / devices/platform/s3c -sdhci.0/mmc_host/mmc0, add U disk automatically mount method: dev_mount sdcard / mnt / sdcard auto / dev/block/sda1. Tried N times can not automatically mount up, Which implements android automatically mount U disk, similar to traditional hot-swappable. Or there are other ways to automatically mount U disk.<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Your U disk mount point and mount your SD card is set to the same point, of course, impossible to mount a success. There you can also set the wrong parameters sysfs Kazakhstan, a description of it to see vold.fstab
Reply:
Set inside vold.fstab
Reply:
You can now automatically mount U disk
Reply:
Landlord version is 2.1 it? I also do this, but I do not know / system / etc / vold.conf change in how the U disk?
Will 2.1 how to modify it? Thank you
Reply:
================================================== ==================================
I was in 2.2 above, you insert U disk into perspective, view / devices / directory under the platform to generate more than one file, put in the path to the vold.conf
Reply:
Your path is increased / dev/block/sda1? Or God horse, Manga, I do have a nod to engage in this big ......
Reply:
I insert U disk, not found under / devices / platform more than one file,
Reply:
My version is also 2.1, and now you want to load the U disk, then have to manually mount (mount-t vfat / dev / block / sda / usb /) down to see the contents of the U in / usb / where is it because / system / core / vold / vold.c Lane ums_bootstrap function is empty ah? If the reference mmc_bootstrap perfect ums_bootstrap, then, is not allowed to do so?
In addition, I found insert U disk will add a file: / sys/class/usb_device/usbdev1.1x, x is the number of times as you insert and change,
Reply:
You have no comparative USB directory under various files, I have been looking for a long time to find, yet another day you find me a good job on the Q Bar
Reply:
You go to the / devices / platform / XXXX / usb directory to find, vold have been more perfect, generally do not how to modify, you try to modify vold.fstab file.
Reply:
How to use the simulator simulates mount U disk mass storage equipment?
Reply:
The landlord, not solve the problem Ah.
I'm using the 2.2 version of Android, Linux kernel is the official version + own transplant 3.2Linux Android dependent components.
On my platform so you can dev_mount sdcard / mnt / sdcard auto / block / sda
My platform is mainly over the uevent is / block / sda.
Can be inserted over the log to see uevent path int DirectVolume :: handleBlockEvent.
Reply:
Thank you, my problem has been solved
Reply:
Look
/ Dev/block/sda4
Reply:
Help U disk manually mount command ~ ~
Reply:
Results stickers chant, master.
Reply:
Wait Results posted
Reply:
good
Reply:
Landlord, is running on a real machine do? I now realize automatically mount U disk, data say a lot worse to modify void.fstab file, the file is read-only, then you need to run the mount command, but the command is executed, the system ect I fell void . fstab file guide, and then re-import into the modified, you can still say that the file is read-only system. Very anxious. . . I hope to help the landlord under busy. . . Thank you very much. . .
Reply:
Will the landlord, is how to solve? I also encountered the same problem, thank you!
Reply:
Help, thank you for sharing
Reply:
This method can only mount a U disk only
Reply:
I also encountered the same problem, the landlord
vold.fstab file dev_mount usbotg / mnt / usbotg auto / devices/platform/mt_usb/usb1, but still can not mount a successful U-ah.
Reply:
How to mount a plurality of U disk
Reply:
Otg u disk can mount it?
Reply:
# # Vold 2.0 fstab
# # # # # # # # # # # # # # # # # # # # # # # # # Regular device mount # # # # Format: dev_mount
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment