I can confirm the problem on Xubuntu 17.10. I think the problem is caused by 
braces "()" in file names. [1]
The MTP backend does not seem to  like them.

It can be reproduced as follows:

1. Check that mtp works in general
2. create a regular file with only "a-z0-9" chars in a dir on your MTP device
3. mount and access it from Linux. This should work in most cases.

4. Now try the error case
5. create file with braces "()" in a dir on your MTP device.
6. mount and access it from Linux using `thunar`, `nautilus`, or even using 
`ls` or `cd` on the  command line. This should produce the file manager (or 
console) to hang and no longer respond to user input, etc.

I also suspect this bug to be the cause for other bugs, e.g. in `gvfs`
[2]

[1] related error report at askubuntu 
https://askubuntu.com/questions/995383/nautilus-hangs-on-accessing-dcim-camera-on-android/1013351
[2] maybe related gvfs bug 
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1314556

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

Title:
  Unable to directly access files of any smartphone from Ubuntu

Status in libmtp package in Ubuntu:
  Confirmed

Bug description:
  Unable to access files of Samsung Trend from Nautilus, when you
  connect device a problem happens: "Unable to mound Android, Unable to
  open MTP device '[usb:003,003]' "

  If i try to access files such music or pictures in Android device, i
  get some errors.

  I can copy files from Android device, and paste to a home folder, like
  Pictures or Documents, and it's possible to see images or listen
  musics in this way, for example.

  The expected behavior is to see an ask window, and I could choose what
  I do with the device (open with Nautilus, Rhythmbox, Image viewer,
  Gthumb...).

  lsusb
  Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 004: ID 04f2:b3aa Chicony Electronics Co., Ltd 
  Bus 001 Device 023: ID 0489:e062 Foxconn / Hon Hai 
  Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 002: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly 
Feiya Technology Corp.) Flash Drive
  Bus 003 Device 004: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone 
[Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1]
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: libmtp-runtime 1.1.6-20-g1b9f164-1ubuntu2
  ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4
  Uname: Linux 3.12.0-7-generic x86_64
  ApportVersion: 2.12.7-0ubuntu3
  Architecture: amd64
  CasperVersion: 1.336ubuntu1
  Date: Sat Dec 21 17:09:49 2013
  LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131221)
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: libmtp
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to