-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to enable mtp&adb at same time #67
Comments
But why you have When the mount command was adb seems to try to use the mtp mount point for some reasons... |
Have a look to umtprd-ffs.sh To enable adb uncomment the lines "#mkdir functions/acm.usb0" and "#ln -s functions/acm.usb0 configs/c.1" |
It works now!!! umtprd & adbd &** Both mtp and adb run base the "ffs", so changing acm.usb0 to adb.usb0 doesn't work. Thanks :) |
Hi, thanks for your project! I've run MTP on my board. But I met some trouble when I tried to enable mtp&adb at same time.
My script for adb is:
adb.txt
And it runs pretty well without function MTP.
However, it doesn't work when I tried to enable both of them.
When goes to these lines
mkdir /dev/ffs-mtp
mount -t functionfs mtp /dev/ffs-mtp
mkdir /dev/usb-ffs
mkdir /dev/usb-ffs/adb
mount -o uid=2000,gid=2000 -t functionfs adb /dev/usb-ffs
According to logs,
mount: mounting adb on /dev/ffs-mtp failed: No such file or directory
Do you have any ideas about this?
Thanks!
The text was updated successfully, but these errors were encountered: