Media Transfer Protocol

From ArchWiki
Revision as of 11:07, 18 February 2011 by Bikepunk (talk | contribs) (mtpfs)
Jump to: navigation, search


MTP is the "Media Transfer Protocol" and is used by many MP3 players such as the Creative Zen and some Walkmans. It is part of the "Windows Media" Framework and has close relationship with Windows Media Player

Using MTP With Arch


MTP support is provided by the libmtp package, to install:

   pacman -S libmtp

You then get a number of tools to use from the command line (such as mtp-detect). Use:


to detect/connect to the device.

Using media players

You can also use your mtp device in music players such as amaroK. To do this you may have to edit "/etc/udev/rules.d/65-libmtp.rules": To do this run:

   lsusb -v

and look for your device, it will be something like:

   Bus 002 Device 007: ID 072b:4847 W Technology

in which case the entry would be:

   SYSFS{idVendor}=="072b", SYSFS{idProduct}=="4847", SYMLINK+="libmtp-%k", MODE="666"
Note: After installing MTP you may have to reboot for your device to be recognised


Mtpfs is FUSE filesystem that supports reading and writing from any MTP device. Basically it allows you to mount your device as an external drive.
It's available in AUR