linux:mtp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:mtp [2012/12/30 21:35] – percy | linux:mtp [2012/12/30 23:06] – [automount mtp] percy | ||
---|---|---|---|
Line 11: | Line 11: | ||
Then use jmtpfs mount the device: | Then use jmtpfs mount the device: | ||
| | ||
- | | + | Note should edit |
+ | vim / | ||
+ | ===== Auto mount/ | ||
+ | <file BASH 99-android-mtp.rules> | ||
+ | #localhost bin # cat / | ||
+ | ATTR{idVendor}==" | ||
+ | ATTR{idVendor}==" | ||
+ | </ | ||
+ | |||
+ | <file BASH mount_galaxy_nexus.sh> | ||
+ | #localhost bin # cat / | ||
+ | #!/bin/sh | ||
+ | |||
+ | echo " | ||
+ | jmtpfs -o allow_other / | ||
+ | echo " | ||
+ | |||
+ | </file BASH umount_galaxy_nexus.sh> | ||
+ | #localhost bin # cat / | ||
+ | #!/bin/sh | ||
+ | |||
+ | echo " | ||
+ | umount / | ||
+ | echo " | ||
+ | |||
+ | </ |
/var/www/dokuwiki/wiki/data/pages/linux/mtp.txt · Last modified: 2016/05/05 13:07 by 127.0.0.1