What I'm doing is trying to run a software called gMTP, which is apparently what I need to do to transfer files back and forth to my Android Galaxy 10.1 Tab device.

I've asked about it on the Android SE site, but it seems the problem might be on the Ubuntu side. I followed these instructions to get Ubuntu to support MTP.

However, when I run the software, I get "LIBMTP PANIC" and other errors.

$ gmtp
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1.
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Detect: Unable to open raw device?
LIBMTP PANIC: Trying to dump the error stack of a NULL device!
LIBMTP PANIC: Trying to clear the error stack of a NULL device!

It seems that the problem is on the Ubuntu side, so is there something I can do to fix it?


The solution turned out to be to upgrade to ICS. Now USB seems to work without any special drivers and as long as the Tablet USB connection settings are set to "Camera (PTP)" mode.

| improve this answer | |

MTP is unfortunately problematic on Linux. With the latest libmtp, Galaxy Tab 10.1 is correctly recognized, however you still may not be able to transfer files reliably.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.