Ask Your Question

Mounting Moto G Android as MTP device

asked 2014-01-12 06:18:20 -0500

artbristol gravatar image

updated 2014-01-12 06:19:14 -0500

I got

mtp-probe: bus: 2, device: 8 was not an MTP device

in the logs when trying to mount my Moto G on Fedora 20.

To fix this I added the following file


with contents

SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", MODE="0660", GROUP="plugdev" 
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e82", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

and ran

udevadm control --reload

Is there a better way of doing this? Does MTP require every OS to have a list of every MTP device? That doesn't seem maintainable to me.

edit retag flag offensive close merge delete


There probably is a better way, but currently it's done this way. Just take a look at /usr/lib/udev/rules.d/69-libmtp.rules.

przemal gravatar imageprzemal ( 2014-01-27 15:24:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-10 18:15:51 -0500

Thanks, it worked like a charm! Config for Oneplus one:

[kgerrits@kgerrits ~]$ sudo cat /etc/udev/rules.d/51-android.rules

Oneplus One

idVendor=05c6, idProduct=6764

SUBSYSTEM=="usb", ATTRS{idVendor}=="05c6", MODE="0660", GROUP="plugdev" ATTR{idVendor}=="05c6", ATTR{idProduct}=="6764", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

edit flag offensive delete link more

Question Tools


Asked: 2014-01-12 06:18:20 -0500

Seen: 6,072 times

Last updated: Mar 10 '15