MTP fails on Debian Streach with Samsung Galaxy devices
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
MTP fails on Debian Streach with Samsung Galaxy devices
I have been trying to get MTP working with my new Samsung tablet and Samsung phone, but to no avail. It seems to work on my old Hipstreet tablet, though. I keep getting: (from mtp-detect)
libmtp version: 1.1.13
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
Found 1 device(s):
Samsung: Galaxy models (MTP) (04e8:6860) @ bus 2, dev 28
Attempting to connect device(s)
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
Unable to open raw device 0
OK.
The device seems to automount, but hangs when you try to access it.
I am seeing a lot of errors like:
usb 2-1.6: usbfs: process 4856 (events) did not claim interface 0 before use
Every thread I have checked so far has failed to resolved the problem. I don't have time to learn the code for MTP to fix it myself, so I have completely removed MTP from my system, as it is useless for me. I hope someone either finds a solution, or that I can warn others not to waste their time trying to get it to work, at least with a Samsung anything.
Hmmm!
I have a offline Debian testing, it's offline because I can't build a driver for the Asus USB51 wireless dongle since kernel 4.15, I can get tethering with my Galaxy S4 once in a blue moon, but blue moons are rare. Your post had me digging and I found something that may work in your case, maybe even mine in regards to getting a reliable tethering. Apparently we can install gMPT from Sid repositories, have you tried it?
i recently set this up on a debian stable system.
it was - i think it was working already, or trivial to set up.
if you use a desktop environment your filemanager probably also uses gvfs, and all you need is gvfs-mtp which i believe is contained in the gvfs-backends package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.