MTP Problems

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
kkschmidt
Level 1
Level 1
Posts: 6
Joined: Thu May 02, 2013 5:11 pm

MTP Problems

Post by kkschmidt » Fri Sep 08, 2017 6:23 pm

I've been having issues connecting my android phone (Oneplus X) to my PC. I ran some web searches and it seems to be a common problem stretching back years and years and I found stuff on the Ubuntu forums and other places on the web. It used to work fine for me out of the box on Mint (albeit a bit slower than copying to a usb stick or something. Any ideas? I got the following snippet when trying one of the suggested solutions.

$ mtp-connect
libmtp version: 1.1.10

Device 0 (VID=05c6 and PID=6764) is a Qualcomm (for OnePlus) One (MTP).
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
ignoring libusb_claim_interface() = -6LIBMTP PANIC: failed to open session on second attempt
No devices.

User avatar
kc1di
Level 12
Level 12
Posts: 4382
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: MTP Problems

Post by kc1di » Sat Sep 09, 2017 7:48 am

Hello kkschmidt and welcome to Linux Mint,
Go to synaptic and makesure these packages are installed.

Code: Select all

mtpfs
mtp-tools
mtp-server
Then try again.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

User avatar
phd21
Level 16
Level 16
Posts: 6211
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: MTP Problems

Post by phd21 » Sat Sep 09, 2017 12:29 pm

Hi "kkschmidt",

I just read your post and the good replies to it. Here are my thoughts on this as well.

After making sure the "mpt" packages are installed, restart or at least logout and log back in, It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" with phone connected from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.


For your connected devices, like Android devices.

- There are various MTP packages in the "Synaptic Package Manager (SPM)" and they should work. Some phones also have USB and or MTP options you can use that may need to be activated, enabled, or started.

- use the incredible "KDE Connect" application on any edition of Linux Mint 18.x (already part of KDE). For Linux Mint Cinnamon, Mate, and Xfce users, you might need to install the "kde-runtime" which is safe to do.

6 Reasons Why I Love Using KDE Connect on Ubuntu, FEB 14, 2017
http://www.omgubuntu.co.uk/2017/02/easy ... -ubuntu-pc

After installing "KDE Connect", go to your Android devices applications store, and search for KDE Connect and install that and you are good to go.

How to Install KDE Connect on Ubuntu, JAN. 4, 2017
http://www.omgubuntu.co.uk/2017/01/kde- ... tor-ubuntu


- Other options:

Pushbullet Puts Your Android And PC On The Same Wavelength 2017
`PB For Desktop`Cross-Platform Desktop App For Pushbullet (Supports Android Notification Mirroring On Linux Desktops)
http://www.webupd8.org/2017/03/pb-for-d ... sktop.html


AirDroid – Send SMS, Share Links, Transfer Files & More

https://www.airdroid.com/

http://www.makeuseof.com/tag/airdroid-s ... ndroid-21/


Dukto is a free, Open Source file transfer utility that can be used to used to transfer files over Local area network (LAN), including Linux, Windows, Mac OS X, Meego, Android, Blackberry, Windows Phones and Symbian (for Nokia touch phones).

Code: Select all

sudo apt-get install dukto
http://www.unixmen.com/dukto-an-easy-mu ... sfer-tool/

Nitroshare - is a tool that can be used to easily transfer files between computers on your local network, available for Linux, Windows and Mac OS X.
http://www.webupd8.org/2015/03/nitrosha ... es-to.html

Code: Select all

sudo add-apt-repository ppa:george-edison55/nitroshare

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get install nitroshare

Rapid Photo Downloader
https://www.damonlynch.net/rapid/


Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Post Reply

Return to “Hardware Support”