Getting MTP to work with a Galaxy tab 2 7.0?

Posted by Wouter on Ask Ubuntu See other posts from Ask Ubuntu or by Wouter
Published on 2012-09-11T19:31:43Z Indexed on 2012/09/11 21:49 UTC
Read the original article Hit count: 323

Filed under:
|

I'm trying to get MTP with the galaxy tab 2 7.0 working on my ubuntu installation. Such that I can access the files.

I tried to do what is described here:

http://www.omgubuntu.co.uk/2011/12/how-to-connect-your-android-ice-cream-sandwich-phone-to-ubuntu-for-file-access

I however fail at executing one of the following commands

mtp-detect | grep idVendor
mtp-detect | grep idProduct

This fails

[20:42|0] $ mtp-detect | grep idVender
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
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
Unable to open raw device 0
[20:44|0] $ mtp-detect | grep idProduct
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
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
Unable to open raw device 0

Now my guess was was that the idVender is the same as the VID (04e8) and the idProduct is the same as PID (6860) Now I continued to work with those values and completed the tutorial. When finished I tried

android-connect

This returned

fuse: bad mount point `/media/GalaxyTab': Transport endpoint is not connected

Does anybody have a clue what to do? Also I want to note that when I connect my GalaxyTab 2 7.0 that I still get a pop-up of ubuntu that a device was connected. I also can still see the mapstructure, the problem however is is that all the folders have 0 bytes and do not have any subfolders. I can only see the folders in the root.

ps. I also checked a similar question and tried what is described in this answer http://askubuntu.com/a/88630/27480

© Ask Ubuntu or respective owner

Related posts about android

Related posts about mtp