android

b-real@breal:~$ sudo apt-get install mtp-tools mtpfs
[sudo] password for b-real:
Reading package lists… Done
Building dependency tree
Reading state information… Done
mtpfs is already the newest version.
mtp-tools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
b-real@breal:~$ mtp-detect | grep idVendor
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
b-real@breal:~$