User Tools

Site Tools


linux:mtp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:mtp [2012/12/30 23:04]
percy [MTP on Gentoo]
linux:mtp [2016/05/05 13:07] (current)
Line 13: Line 13:
 Note should edit  Note should edit 
   vim /​etc/​fuse.conf ​   vim /​etc/​fuse.conf ​
-===== automount mtp  ​=====+===== Auto mount/​umount MTP =====
 <file BASH 99-android-mtp.rules>​ <file BASH 99-android-mtp.rules>​
 #localhost bin # cat /​etc/​udev/​rules.d/​99-android-mtp.rules ​ #localhost bin # cat /​etc/​udev/​rules.d/​99-android-mtp.rules ​
Line 21: Line 21:
  
 <file BASH mount_galaxy_nexus.sh>​ <file BASH mount_galaxy_nexus.sh>​
-localhost bin # cat /​usr/​local/​bin/​mount_galaxy_nexus.sh ​+#localhost bin # cat /​usr/​local/​bin/​mount_galaxy_nexus.sh ​
 #​!/​bin/​sh ​ #​!/​bin/​sh ​
  
Line 28: Line 28:
 echo "​Galaxy Nexus mounted on /​media/​galaxy_nexus"​ echo "​Galaxy Nexus mounted on /​media/​galaxy_nexus"​
  
-</​file>​+</​file ​BASH umount_galaxy_nexus.sh> 
 +#localhost bin # cat /​usr/​local/​bin/​umount_galaxy_nexus.sh  
 +#​!/​bin/​sh ​
  
 +echo "​Galaxy Nexus disconnected"​
 +umount /​media/​galaxy_nexus
 +echo "​Galaxy Nexus umounted on /​media/​galaxy_nexus"​
 +
 +</​file>​
/var/www/dokuwiki/wiki/data/pages/linux/mtp.txt · Last modified: 2016/05/05 13:07 (external edit)