Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
You could also try apps such as Wifi explorer, or an FTP client, There's a File explorer available in the Plays tore that allows you to access your phone via FTP – Uri Herrera Apr 16 '12 at 5:24
up vote 2 down vote accepted

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.

share|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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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