Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I connect the device, this error shows:

first: Error initializing camera: -60: Could not lock the device

and then:

Sorry, could not display all the contents of "store_00010001": DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

I have enabled USB debugging and tried both connecting as MTP and PTP with no luck.

I also the tried the solution given in Getting MTP to work with a Galaxy Nexus? (updating libmtp).

This is the output of mtp-detect from the command line:

 mtp-detect
libmtp version: 1.1.1

Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
   Found 1 device(s):
   Samsung: GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note (04e8:6860) @ bus 2, dev 12
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
outep: usb_get_endpoint_status(): Permission denied
usb_clear_halt() on IN endpoint: No such device
usb_clear_halt() on OUT endpoint: No such device
usb_clear_halt() on INTERRUPT endpoint: No such device
usb_open(): No such file or directory
LIBMTP PANIC: Could not init USB on second attempt
Unable to open raw device 0
OK.

Then I reconnected the device to another USB port:

  mtp-detect
libmtp version: 1.1.1

Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
   Found 1 device(s):
   Samsung: GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note (04e8:6860) @ bus 2, dev 17
Attempting to connect device(s)
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
OK.

Then I tried the solutions given in: Connecting Android 4 (Ice Cream Sandwich / Jelly Bean) phone to Ubuntu 12.04

1) Using GVFS:
I get this message which doesn't seem to be important when installing:

Failed to fetch dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Index   No     Hash entry in Release file /var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stable_main_i18n‌​_Index E: Some index files failed to download. They have been ignored, or old ones used instead

It changes nothing and I still get the same errors.


2) After installing go-mtpfs and trying to mount the device by go-mtpfs android, I get the following error:

2013/05/06 02:50:12 OpenSession failed: LIBUSB_ERROR_IO; 
   attempting reset 
   2013/05/06 02:50:13 Configure failed: OpenSession after reset: LIBUSB_ERROR_IO

3) I also installed jmtpfs and ran the command jmtpfs ~/android/. but the android folder was still empty.

EDIT: The problem is solved. I think an auto-update solved the problem with. I still get some errors regarding GVFS, but it works. Thanks BuZZ-dEE.

share|improve this question
1  
    
GVFS: I entered: sudo add-apt-repository ppa:langdalepl/gvfs-mtp sudo apt-get update && sudo apt-get dist-upgrade It worked well till it gave me this message: Get:20 dl.google.com stable/main TranslationIndex [1,540 B] Fetched 186 kB in 1min 2s (2,958 B/s) W: Failed to fetch dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stable_main_i18n‌​_Index E: Some index files failed to download. They have been ignored, or old ones used instead. –  user155878 May 5 '13 at 21:09
    
go-mtpfs When I entered: sudo go get github.com/hanwen/go-mtpfs # cd .; git clone github.com/hanwen/go-mtpfs /usr/lib/go/src/pkg/github.com/hanwen/go-mtpfs package github.com/hanwen/go-mtpfs: exec: "git": executable file not found in $PATH –  user155878 May 5 '13 at 21:11
    
jmtpfs was the most promising one. But it couldn't mount either. I think I'm gonna give up! –  user155878 May 5 '13 at 21:13
    
I tried all the solutions given in that article and they didn't work. Still the same problem –  user155878 May 5 '13 at 21:13
show 7 more comments

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.