[Bug 1263355] Re: Unable to directly access files of any smartphone from Ubuntu
sudo apt-get install --reinstall mtp-tools Reading package lists... Done Building dependency tree Reading state information... Done 0 to upgrade, 0 to newly install, 1 to reinstall, 0 to remove and 0 not to upgrade. Need to get 0 B/34.8 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 856296 files and directories currently installed.) Preparing to unpack .../mtp-tools_1.1.16-2_amd64.deb ... Unpacking mtp-tools (1.1.16-2) over (1.1.16-2) ... Setting up mtp-tools (1.1.16-2) ... Processing triggers for man-db (2.8.7-3) ... Config is in use. aio@aio:/dev/bus/usb$ sudo mtp-detect libmtp version: 1.1.16 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 41 Attempting to connect device(s) error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device Unable to open raw device 0 OK. [375115.145069] usb 6-2: new SuperSpeed Gen 1 USB device number 9 using xhci_hcd [375115.168483] usb 6-2: New USB device found, idVendor=05e3, idProduct=0616, bcdDevice= 4.01 [375115.168486] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [375115.168487] usb 6-2: Product: USB3.0 Hub [375115.168488] usb 6-2: Manufacturer: GenesysLogic [375115.192599] hub 6-2:1.0: USB hub found [375115.192973] hub 6-2:1.0: 4 ports detected [375116.368009] usb 1-6: USB disconnect, device number 40 [375116.852829] usb 1-6: new high-speed USB device number 41 using xhci_hcd [375116.877214] usb 1-6: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00 [375116.877217] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [375116.877218] usb 1-6: Product: SAMSUNG_Android [375116.877220] usb 1-6: Manufacturer: SAMSUNG [375116.877221] usb 1-6: SerialNumber: xx [375116.969189] cdc_acm 1-6:1.1: ttyACM0: USB ACM device 5.4.11-050411-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263355 Title: Unable to directly access files of any smartphone from Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263355] Re: Unable to directly access files of any smartphone from Ubuntu
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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263355 Title: Unable to directly access files of any smartphone from Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263355] Re: Unable to directly access files of any smartphone from Ubuntu
Make that 1.1.10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263355 Title: Unable to directly access files of any smartphone from Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263355] Re: Unable to directly access files of any smartphone from Ubuntu
Joining to add heat. I think this would be resolved if the latest libmtp (1.1.9) were put into the repository for all LTS versions. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263355 Title: Unable to directly access files of any smartphone from Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263355] Re: Unable to directly access files of any smartphone from Ubuntu
Problem is still present at Ubuntu 15.10 (Wily) - i know it's not released yet, but soon! Tried to edit /etc/udev/rules.d/69-libmtp.rules added the line for my Asus Zenpad, but there was no effect. dmesg says: [ 323.054437] usb 1-3: new high-speed USB device number 3 using xhci_hcd [ 323.184081] usb 1-3: New USB device found, idVendor=0b05, idProduct=600f [ 323.184091] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 323.184096] usb 1-3: Product: Android [ 323.184100] usb 1-3: Manufacturer: Android [ 323.184105] usb 1-3: SerialNumber: F8NPFX007863 [ 343.415915] usb 1-3: reset high-speed USB device number 3 using xhci_hcd [ 348.860781] usb 1-3: usbfs: process 2251 (pool) did not claim interface 0 before use lsusb: Bus 001 Device 003: ID 0b05:600f ASUSTek Computer, Inc. mtp-detect: libmtp version: 1.1.9 Listing raw device(s) Device 0 (VID=0b05 and PID=600f) is UNKNOWN. Please report this VID/PID and the device model to the libmtp development team Found 1 device(s): 0b05:600f @ bus 1, dev 3 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. I created the file /etc/udev/rules.d/51-android.rules like it was mentioned in an other post. Then i switched on USB-Debugging and restarted the computer (to be sure ;-) ) dmesg: [ 42.975528] usb 1-3: new high-speed USB device number 3 using xhci_hcd [ 43.105193] usb 1-3: New USB device found, idVendor=0b05, idProduct=601f [ 43.105202] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 43.105208] usb 1-3: Product: Android [ 43.105212] usb 1-3: Manufacturer: Android [ 43.105216] usb 1-3: SerialNumber: F8NPFX007863 mtp-detect: libmtp version: 1.1.9 Listing raw device(s) Device 0 (VID=0b05 and PID=601f) is UNKNOWN. Please report this VID/PID and the device model to the libmtp development team Found 1 device(s): 0b05:601f @ bus 1, dev 3 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. So no success. uname -a: 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux It seems it's the same problem than Bug #1314556 Anyone who can help?? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263355 Title: Unable to directly access files of any smartphone from Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263355] Re: Unable to directly access files of any smartphone from Ubuntu
Same problem here with Ubuntu 14.10 Utopic... I plug in my Galaxy S4 Mini (GT-i9192) phone, or my Galaxy Note8 (GT-N5100), and I get the "Unable to mount" error... I can't open any images (JPG, PNG, etc) inside the external SD nor in the internal storage, and no thumbnail is shown for those image files. Sometimes I get to delete files, but mostly I don't. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263355 Title: Unable to directly access files of any smartphone from Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263355] Re: Unable to directly access files of any smartphone from Ubuntu
I am using Ubuntu 14.04 as well and I have the same problems with my Galaxy S3 mini (Android 4.1.2). If I plug in my phone I get an error message, that the phone can't be mounted. Then a window is opening where the internal and external storage of my phone is shown. I can browse through the folders but I can't open a file. Rhythmbox only lists a portable player, and if I start syncing music only the internal storage of my phone is used. I can't access the external SD-card using rhythmbox. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263355 Title: Unable to directly access files of any smartphone from Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263355] Re: Unable to directly access files of any smartphone from Ubuntu
I am on Ubuntu 14.04 I have the same problem with a Samsung Galaxy S3 Mini on Android 4.1 but on a Galaxy Nexus with Android 4.3 I do not see the problem and can access files directly. Both phones are setup with MTP enabled in USB settings. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263355 Title: Unable to directly access files of any smartphone from Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263355] Re: Unable to directly access files of any smartphone from Ubuntu
I tested a samsung S4 mini (GT-I9195) with Android 4.2.2, same issue. I would wonder why this issue is marked as "fix released" in bug #1203704 and gnome-bugs #695984. And it's not possible to do simple things like copy and paste, or cut and paste. I have to delete file and copy from ubuntu to a new place in android. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263355 Title: Unable to directly access files of any smartphone from Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263355] Re: Unable to directly access files of any smartphone from Ubuntu
** Changed in: libmtp (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263355 Title: Unable to directly access files of any smartphone from Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1263355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs