LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-17-2019, 08:21 PM   #1
tanis126
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
Angry 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.
 
Old 02-17-2019, 09:22 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
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?
 
Old 02-17-2019, 10:09 PM   #3
tanis126
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Not as of yet. I'll check when I get a chance.
 
Old 02-18-2019, 03:04 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 02-18-2019, 02:00 PM   #5
tanis126
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Tried compiling gMTP, the program runs, but wont detect the phone or tablet, then hangs or crashes.

Tried gvfs-backends, no joy.
 
  


Reply



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
KDE Applications 18.12.0 has rewritten MTP device support. Does it solve any previous MTP problems? Nille_kungen Slackware 6 10-15-2018 11:04 AM
LXer: Samsung Galaxy S9, Galaxy S8 & Note 8 Approved by the U.S. Department of Defense LXer Syndicated Linux News 0 06-30-2018 05:32 AM
LXer: Samsung Adds Galaxy J3 and Galaxy J7 Phones to its Unlocked by Samsung Portfolio LXer Syndicated Linux News 0 07-25-2017 11:54 PM
LXer: Heimdall: Odin Alternative That Runs On Linux (Tool To Flash ROMs On Samsung Galaxy S Devices) LXer Syndicated Linux News 0 06-12-2012 07:21 PM
On slack-current: /usr/bin/mtp-getfile -> /tmp/package-libmtp/usr/bin/mtp-connect ? LuckyCyborg Slackware 3 05-03-2010 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:05 AM.

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
Open Source Consulting | Domain Registration