I get the following error with my Samsung Galaxy Note II: $ go-mtpfs mtp 2012/12/22 03:00:25 compiled against libmtp 1.1.3 Device 0 (VID=04e8 and PID=6860) is a Samsung GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y. 2012/12/22 03:00:25 device Samsung: GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y (04e8:6860) @ bus 8, dev 8 : 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 2012/12/22 03:02:25 rdev.open: open: open returned nil Ditto with mtpfs from testing (mtpfs from unstable is also broken, but this is another problem). After searching on Google, I've found: http://sourceforge.net/p/libmtp/bugs/454/ It is claimed to be fixed in GIT: http://sourceforge.net/p/libmtp/bugs/454/?page=2 I haven't tried yet.
severity 696513 important thanks Hi, Sorry, but this is a device issue and not grave. So lowering severity to important for now, please check if libmtp 1.1.5 available in experimental contains the fix for your device. Cheers,
forwarded 696513 https://sourceforge.net/p/libmtp/bugs/700/ thanks OK, but really the code shouldn't depend on the device. No, the package from experimental doesn't work either, and I've also tried from upstream GIT and I get the same error.
After doing a software update (and installing Terminal IDE) on my phone, and unplugging / plugging in again the USB cable: * libmtp9 from experimental + mtpfs from testing seem to work (except that the dates are all 1970-01-01 00:00:00 UTC). * libmtp from upstream GIT + mp-detect works (but go-mtpfs built against libmtp and run with it doesn't work, though the mount itself succeeds).
Hi, I'm not entirely sure if this is related, but I managed to make MTP worked to my Android phone by adding my user to 'lp' group (and make sure it is also in 'audio' group as well). Prior to this, I experienced same PTP_ERROR_IO with a lot of message like this in syslog: usbfs: process NNN (mtp) did not claim interface 0 before use Hope this helps. All the best. -arief