Mtp

From ZENotes
Jump to: navigation, search

http://www.anythingbutipod.com/forum/showthread.php?t=32817


The exact procedures may depend on your Linux distro, but if your distro supports Fuse (like Ubuntu 7.10 and later), then you can easily mount your MTP device (such as a Vision:M) as a drive.

First you will need to ensure you have libmtp, mtptools, and mtpfs installed. If not, then you will need to install them. I strongly recommend using your distro's repositories in order to ensure all dependencies are met.

Code: $ sudo apt-get install libmtp mtptools mtpfs

Once all of that is installed, you will need to create a mountpoint for your device.

Code:

$ sudo mkdir /media/MyZen
$ sudo chmod 775 /media/MyZen

Next, plug in your player and mount it:

Code:

$ sudo mtpfs -o allow_other /media/MyZen

Your player should appear on your desktop as a regular drive. Be aware that, depending on the device, access might be slow.

IMPORTANT: DO NOT DISCONNECT YOUR DEVICE WITHOUT UNMOUNTING IT FIRST!

Code:

$ sudo umount /media/MyZen

If you get a message stating that the device is busy, then give it a minute or two and try again.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox