← Back to team overview

desktop-packages team mailing list archive

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

 

I have a bit more info here. I have Ubuntu 14.04 (15.04 all the same)
running on HP Envy m6 laptop + Android YotaPhone1 and have all listed
problems with MTP/ADB here: the connection is unreliable (works 1 of 10
or does not work at all). None of the suggested solutions (using mtp
tools or killing gvfs processes) helps.

Same phone connects just fine (MTP/ADB) on Windows 8 on same laptop and
on some 2year-old OpenSUSE on another comp.

What I have noted is that lsusb hangs (even when the phone and other
devices are disconnected) for a couple of minutes before showing the
result (mtp-detect also hangs rather than shows error), so it gave me an
idea that this might be a hardware problem and I have made some tests.

I take 2 laptops HP Envy m6 and Sony Vaio and 2 live CDs Ubuntu 14.04
(15.04 all the same results) and OpenSUSE 13.2 live with gnome.

1) HP Envy+Ubuntu 14.04 (15.04) - both live and installed:
- lsusb hangs (shows result after few minutes)
- MTP/ADB extremely unreliable

2) HP Envy+OpenSUSE 13.2 gnome live:
- lsusb shows immediately
- MTP works just fine (most likely ADB would work too, but it is not installed on live system)

3) Sony Vaio+Ubuntu 14.04 (15.04):
- lsusb shows immediately
- MTP works just fine


So, I have one laptop where Ubuntu 14.04 (15.04)+MTP/ADB does NOT work and OpenSUSE 13.2+MTP DOES work and another laptop where Ubuntu 14.04 (15.04)+MTP DOES work. The MTP/ADB software problem 100% correlates with problem with lsusb.

This is most likely (definitely) hardware+software combination problem.
And this problem most likely not on GVFS/MTP layer, but on lower layer
with lsusb/kernel.

I will run more tests and make more investigations on my hardware, if
someone points me further what I should do.

Attach some system output from OpenSUSE 13.2 gnome live (MTP works):
uname -a
lsmod
after connecting the phone:
dmesg
lsusb
lsusb -t
lsusb -v
lsusb -D /dev/bus/usb/003/003



** Attachment added: "Opensuse 13.2 output on hp envy m6"
   https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1314556/+attachment/4453290/+files/OpenSUSE%2013.2%20on%20hp-envy-m6.txt

-- 
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