← Back to team overview

desktop-packages team mailing list archive

[Bug 1314556] Re: Unable to mount Android MTP device

 

Ok, I have found a workaround solution, at least for my case - just
downgrade the kernel to 3.16 (default version on 14.04 is 3.19). With
this kernel lsusb returns result instantly and MTP/ADB work reliably,
nautilus shows Android on connect/reconnect immediately, ADB shows
device and does not hang etc.

Just click on linux-signed-image-generic-lts-utopic (linux 3.16.0.46.37)
package in Synaptic (or sudo apt-get install linux-signed-image-generic-
lts-utopic). It should go to grub menu automatically, but one may want
to enable showing grub menu during boot like described here
http://www.howtogeek.com/196655/how-to-configure-the-grub2-boot-loaders-
settings/ . This should not affect installed system, with grub you will
be able to choose which kernel to boot.

So, now I have on Ubuntu 14.04 with older kernel 3.16 MTP/ADB work
$ uname -a
Linux anton-hp 3.16.0-46-generic #62~14.04.1-Ubuntu SMP Tue Aug 11 16:27:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

On Ubuntu 14.04 with default kernel 3.19 MTP/ADB do NOT work
$ uname -a
Linux anton-hp 3.19.0-26-generic #28~14.04.1-Ubuntu SMP Wed Aug 12 14:09:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

OpenSUSE 13.2 live (reported to work in the above post) also has kernel
3.16, by the way.


Another option would be to try newer mainline kernels (did not check them yet):
https://wiki.ubuntu.com/Kernel/MainlineBuilds
http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1314556

Title:
  Unable to mount Android MTP device

Status in gvfs package in Ubuntu:
  Confirmed

Bug description:
  I have the same problem on 3 computers with 14.04:

  So I tried,
   mtp-detect 
  Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6

  Listing raw device(s)
  Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
     Found 1 device(s):
     Samsung: Galaxy models (MTP) (04e8:6860) @ bus 1, dev 10
  Attempting to connect device(s)
  ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
  LIBMTP libusb: Attempt to reset device
  inep: usb_get_endpoint_status(): Resource temporarily unavailable
  outep: usb_get_endpoint_status(): Device or resource busy
  ignoring libusb_claim_interface() = -6LIBMTP PANIC: failed to open session on second attempt
  Unable to open raw device 0
  OK.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gvfs-backends 1.20.1-1ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Apr 30 11:18:12 2014
  EcryptfsInUse: Yes
  ExecutablePath: /usr/lib/gvfs/gvfs-mtp-volume-monitor
  InstallationDate: Installed on 2013-02-12 (441 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  ProcEnviron:
   XDG_RUNTIME_DIR=<set>
   SHELL=/bin/bash
   LANGUAGE=en_US
   PATH=(custom, user)
   LANG=en_US.UTF-8
  SourcePackage: gvfs
  UpgradeStatus: Upgraded to trusty on 2014-04-02 (27 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1314556/+subscriptions