← Back to team overview

desktop-packages team mailing list archive

[Bug 1468812] [NEW] HTC One M8 MTP fails while copying files

 

Public bug reported:

Usually this device mounts with both internal and SD card storage
appearing in an "Android Phone" folder in nautilus. Sometimes this does
not work straight away.

During copying several megabytes of images, with the phone screen on and
unlocked, a message appears indicating an error copying. Most files are
copied, even though the progress bar seems to stop at around 30%. All
attempts to access the device in nautilus result in and empty set of
results where the files normally appear.

Removing then re-inserting the USB plug gives the message "Unable to
mount Android Phone Unable to open MTP device '[usb:002,008]'" in a pop-
up message.

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

Listing raw device(s)
Device 0 (VID=0bb4 and PID=0f25) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   0bb4:0f25 @ bus 2, dev 8
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
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.

I have tried adding the following udev rule to resolve this:
$ cat /etc/udev/rules.d/69-libmtp.rules 
# HTC One M8
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0f25", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

I've tried using a different USB port but this has no effect.

Eventually, after removing and re-inserting the USB cable and being
patient, it starts working again and it's possible to access the files
again, but the problem re-occurs very quickly.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libmtp-common 1.1.6-20-g1b9f164-1ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-55.94-generic 3.13.11-ckt20
Uname: Linux 3.13.0-55-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jun 25 16:52:57 2015
Dependencies:
 
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-05-03 (783 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
PackageArchitecture: all
SourcePackage: libmtp
UpgradeStatus: Upgraded to trusty on 2014-05-21 (399 days ago)

** Affects: libmtp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

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

Title:
  HTC One M8 MTP fails while copying files

Status in libmtp package in Ubuntu:
  New

Bug description:
  Usually this device mounts with both internal and SD card storage
  appearing in an "Android Phone" folder in nautilus. Sometimes this
  does not work straight away.

  During copying several megabytes of images, with the phone screen on
  and unlocked, a message appears indicating an error copying. Most
  files are copied, even though the progress bar seems to stop at around
  30%. All attempts to access the device in nautilus result in and empty
  set of results where the files normally appear.

  Removing then re-inserting the USB plug gives the message "Unable to
  mount Android Phone Unable to open MTP device '[usb:002,008]'" in a
  pop-up message.

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

  Listing raw device(s)
  Device 0 (VID=0bb4 and PID=0f25) is UNKNOWN.
  Please report this VID/PID and the device model to the libmtp development team
     Found 1 device(s):
     0bb4:0f25 @ bus 2, dev 8
  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
  LIBMTP PANIC: failed to open session on second attempt
  Unable to open raw device 0
  OK.

  I have tried adding the following udev rule to resolve this:
  $ cat /etc/udev/rules.d/69-libmtp.rules 
  # HTC One M8
  ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0f25", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

  I've tried using a different USB port but this has no effect.

  Eventually, after removing and re-inserting the USB cable and being
  patient, it starts working again and it's possible to access the files
  again, but the problem re-occurs very quickly.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: libmtp-common 1.1.6-20-g1b9f164-1ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-55.94-generic 3.13.11-ckt20
  Uname: Linux 3.13.0-55-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Jun 25 16:52:57 2015
  Dependencies:
   
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-05-03 (783 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  PackageArchitecture: all
  SourcePackage: libmtp
  UpgradeStatus: Upgraded to trusty on 2014-05-21 (399 days ago)

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


Follow ups

References