LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-15-2017, 11:46 PM   #1
mfoley
Member
 
Registered: Oct 2008
Posts: 941

Rep: Reputation: 91
The process for the mtp protocol died unexpectedly


I have Slackware 14.2, kernel 4.4.75 and KDE. I tried to copy a file from my USB connected Samsung Android to my desktop with dolphin and got the error "The process for the mtp protocol died unexpectedly". I seen lots of posts on this including some in LQ, but none see to answer for me.

One person suggested Andriod File Transfer: https://github.com/whoozle/android-f...eases/tag/v2.2. Others have suggested things like go-mtpfs, simple-mtpfs and jmtpfs, but they don't really tell me what these things are, how to install them or how to use them. I find the following at SlackBuilds:

libraries/VitaMTP
multimedia/gmtp
multimedia/mtpfs
system/jmtpfs

the last listed also mentioned by a Internet poster.

On person suggested adding the user to the plugdev group. When I did that I got a different error:
Code:
Unknown error code 150
Unspecified error
Please send a full bug report at http://bugs.kde.org.
Has anyone got this working? Seems like a pretty basic need for a personal computer.
 
Old 07-16-2017, 12:29 AM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,224

Rep: Reputation: Disabled
I am one person on another forum who recommends you try android-file-transer
I use it but got it from a slightly diff link and provides more info on how to install it...altho not strictly slack wise

https://github.com/whoozle/android-file-transfer-linux

once compiled you have a gui desktop entry and a GUI starts and you then use it to transfer files

On KDE I got a crappy notifier to try and open my android with Dolphin a file manager....but it was not working

I ignore the notifications from dolphin, connect android and click on the desktop entry for android-file-transfer

http://imgur.com/a/5OfN6

2) it is always a good idea for the local user to be a member of plugdev try this

Code:
groups
if you can't see plugdev as an entry....try this ....run as root please
http://gnu-linux-slackware.blogspot....to-groups.html

3) if you are having trouble compiling a-f-transfer I or others can go thru the list of tools required
but as you try to compile....if you are missing packages....an error will show and then you can search that error on the net

4) you mention other apps and this link shows how they may also be used
https://wiki.archlinux.org/index.php/MTP

but the main prob is with libmtp and that is why I use a-f-t.....my phone version is android 7

Quote:
libmtp does not handle newer Android devices well

Last edited by aus9; 07-16-2017 at 12:36 AM.
 
Old 07-16-2017, 12:38 AM   #3
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 498

Rep: Reputation: 214Reputation: 214Reputation: 214
Have you set up udev rules for your devices? Most of the time this type of problems happen because the user doesn't have the correct permissions to access the device.

Add the user to the plugdev group, and set up rules for each device you want to connect. Make sure MTP is enabled on the device (USB for file transfer, or something to that effect). As an example, these are the rules I use for my devices:

/etc/udev/rules.d/51-android.rules
Code:
# MSI tablet
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0664", OWNER="root", GROUP="plugdev"
# Sony
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0664", OWNER="root", GROUP="plugdev"
# Samsung
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0664", OWNER="root", GROUP="plugdev"
# Huawei
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0664", OWNER="root", GROUP="plugdev"
# HTC
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0664", OWNER="root", GROUP="plugdev"
# LGE
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0664", OWNER="root", GROUP="plugdev"
With only this setup I'm able to use dolphin, thunar, pcmanfm and jmtpfs to browse the files on my phone. YMMV.
 
Old 07-16-2017, 12:46 AM   #4
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 299

Rep: Reputation: 53
If you can enable samba on your linux-rig and export some or the whole of your data, then the AndSMB-app is very good, I use it all the time for file transfers back and forth
 
Old 07-17-2017, 12:11 AM   #5
MikelN
LQ Newbie
 
Registered: Jan 2017
Posts: 29

Rep: Reputation: Disabled
I'm not sure it's related but yesterday my android phone just went to "only load the battery" instead of sticking to "filetransfer". After putting my screen on "never sleep" it went wel I could copy 3GB and the problem has gone away.

Forgot to add the transfer stopped when the screen went off.

Last edited by MikelN; 07-17-2017 at 12:21 AM.
 
Old 07-17-2017, 07:41 AM   #6
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,040

Rep: Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031
You could try a newer libmtp. Slackware-current has 1.1.13, which is the latest version (14.2 includes 1.1.11).

To use it, download the source directory for libmtp from a -current mirror and then run the SlackBuild and use upgradepkg on the resulting package.
 
  


Reply

Tags
died, dolphin, mtp, protocol


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] The process for the mtp protocol died unexpectedly when mounting Android devices Hasek39 Slackware 1 08-12-2015 02:33 PM
[SOLVED] "The process for the mtp protocol died unexpectedly" Gad Slackware 4 11-19-2014 08:31 AM
Creative ZEN Player-Error "the process for mtp protocol died unexpectedly" in Dolphin glupa4e Slackware 0 02-10-2014 08:44 AM
the process for the smb://10.0.12.2 protocol died unexpectedly twwwater Slackware 4 07-10-2010 12:27 AM
OpenSuse10.2 -The process for the sysinfo protocol died unexpectedly pajoe SUSE / openSUSE 1 12-24-2006 11:53 PM


All times are GMT -5. The time now is 06:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration