MTP

From ArchWiki
Revision as of 17:01, 21 December 2011 by Eyefox (Talk | contribs) (mtpfs: mtpfs is available in community)

Jump to: navigation, search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:MTP#)

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:MTP#)

Summary

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

Installation

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:

   mtp-detect

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

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 the community repository.

  • To mount your device
# mtpfs -o allow_other /media/YOURMOUNTPOINT
  • To unmount your device
# umount /media/YOURMOUNTPOINT