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 |
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 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:
|
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 |
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
|
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. |
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. |
WTF
Guys for 2017 plugging in a Linux tablet device into a Linux computer and not being able to transfer files across from one to another is totally unacceptable!
Obviously moaning like this doesn't help anyone but ffs, what is going on here? Why cannot this just work out of the box? Not pointing the finger here but just trying to figure out how something so simple can't just work. EDIT.... Ok I got Thunar to work!!! :-) But what are the KDE/Dolphin guys up to? Pathetic. |
Quote:
Yes, that's the irony. We do not talk about some Windows device, then to blame Redmond of all bad things from the World, from a cheating wife to wars... NOPE, it is all about a Linux device plugged in a Linux computer. :D PS. Personally, I prefer to just switch the Android device in the mode "USB Storage", then use it as an ordinary USB stick. No patience to fight with the other modes. |
Quote:
|
Yeah, yeah... ;)
And now the MTP issues are reasons to adopt Plasma. I got it! :D How about the users just to switch the Android device to "USB Storage" mode and be happy? Or to install whatever Android APP which gives you an FTP server and connect to your device, then to transfer files via FTP over Wireless? :D PS. IF someone wants links to FTP servers for file transfer, in the Android Store, just ask, I will give you the first thousand entries. :p |
Quote:
|
Quote:
https://play.google.com/store/apps/d...nnect_tp&hl=en PS. For those interested, there is also KDE Connect variant for the KDE4, forgive our French friend, he just try to do a bit of Plasma advertising. ;) |
I agree, but I did not say the contrary. Sherlock. ;)
kdeconnect isn't a part of plasma5, just it work better on plasma5 ;) |
For transferring files, I find it's easiest to just run sshd on my computer and then use an SFTP client on the phone.
Edit: nevermind, Darth already mentioned it. But just FYI, don't bother running an actual FTP server. Any decent FTP client I've seen can also do SFTP through port 22. |
'mfoley' talked about kde and dolphin, that's why I talked about kdeconnect, it's just a solution 'desktop' interesting for kde, in addition it allows to respond to your mms from the computer ;)
|
All times are GMT -5. The time now is 10:22 PM. |