This forum has been archived. All content is frozen. Please use KDE Discuss instead.

MTP doesn't work

Tags: None
(comma "," separated)
wired2051
Registered Member
Posts
66
Karma
0
OS

MTP doesn't work

Wed Jan 06, 2016 11:01 am
Nearly 1 year ago, I installed Kubuntu from scratch on my Desktop but it looks like MTP doesn't ever work. I tested it with my Nokia N8 and Maizu MX4 Ubuntu Edition. The device is recognized but Dolphin says after a while that the process for the protocol mtp is "unexpected disconnected".

Now I installed Kubuntu in VirtualBox and I can connect the MX4 via MTP out of the box. According to the muon package management system the same MTP-packages (e. g. kio-mtp) are installed, mtpfs and mtp-tools are not installed.

I need ideas for the troubleshooting.
luebking
Karma
0

Re: MTP doesn't work

Wed Jan 06, 2016 12:06 pm
Phone shuts connection but the VB USB forwarding keeps it busy?
Does it also happen if you actually use mtp (ie. can you delay the failure by copying data forth and back or similar)?
wired2051
Registered Member
Posts
66
Karma
0
OS

Re: MTP doesn't work

Thu Jan 07, 2016 9:34 am
I can't do anything like that because the MTP-connection on the desktop is never established. I can access the phone only if it's connected to the VirtualBox. :'(
luebking
Karma
0

Re: MTP doesn't work

Thu Jan 07, 2016 10:26 am
Ah, I misintrepreted "after a while" - look at "dmesg | tail -32" when this happens, maybe there's some USB event to explain the behavior.
wired2051
Registered Member
Posts
66
Karma
0
OS

Re: MTP doesn't work

Thu Jan 07, 2016 12:14 pm
Oha, now it's going to be complicated: I just was able to open the MX4 with Dolphin - for the first time ever on this desktop! It looks like it makes a different whether I chose "open in Dolphin" within the KDE-widget (mini-program) Device-monitoring, witch doesn't work, or go within the already running Dolphin to the MX4-Folder, witch work. :o

This is executed before I connected the MX4 with the PC:
Code: Select all
USER@RECHNER:~$ dmesg | tail -32
[    3.627509] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.96  Sun Nov  8 22:33:28 PST 2015
[    3.825554] VBoxNetFlt: Successfully started.
[    3.829298] VBoxNetAdp: Successfully started.
[    3.831184] VBoxPciLinuxInit
[    3.834328] vboxpci: IOMMU not found (not registered)
[    4.098768] nvidia 0000:01:00.0: irq 47 for MSI/MSI-X
[    4.855275] init: plymouth-upstart-bridge main process ended, respawning
[    4.857866] init: plymouth-upstart-bridge main process (1253) terminated with status 1
[    4.857871] init: plymouth-upstart-bridge main process ended, respawning
[    5.517805] r8169 0000:03:00.0 eth0: link up
[    5.517812] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.400536] audit_printk_skb: 99 callbacks suppressed
[   33.400538] type=1400 audit(1452158563.963:44): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=2388 comm="apparmor_parser"
[   33.400543] type=1400 audit(1452158563.963:45): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2388 comm="apparmor_parser"
[   33.400788] type=1400 audit(1452158563.963:46): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2388 comm="apparmor_parser"
[ 1648.256485] type=1400 audit(1452160177.515:47): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=3461 comm="apparmor_parser"
[ 1648.256490] type=1400 audit(1452160177.515:48): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=3461 comm="apparmor_parser"
[ 1648.256719] type=1400 audit(1452160177.515:49): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=3461 comm="apparmor_parser"
[ 1686.937974] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
[ 1690.555528] SUPR0GipMap: fGetGipCpu=0x3
[ 1691.231976] vboxdrv: ffffffffa0f0a020 VMMR0.r0
[ 1691.289636] vboxdrv: ffffffffa026e020 VBoxDDR0.r0
[ 1691.291060] vboxdrv: ffffffffa00cb020 VBoxDD2R0.r0
[ 1691.477228] vboxdrv: ffffffffa00ab020 VBoxEhciR0.r0
[ 2536.856246] vboxdrv: ffffffffa1004020 VMMR0.r0
[ 2536.909310] vboxdrv: ffffffffa032b020 VBoxDDR0.r0
[ 2536.910235] vboxdrv: ffffffffa01e3020 VBoxDD2R0.r0
[ 2537.408325] vboxdrv: ffffffffa00e0020 VBoxEhciR0.r0
[ 2951.066944] vboxdrv: ffffffffa10fe020 VMMR0.r0
[ 2951.122125] vboxdrv: ffffffffa0349020 VBoxDDR0.r0
[ 2951.122784] vboxdrv: ffffffffa0217020 VBoxDD2R0.r0
[ 2951.277855] vboxdrv: ffffffffa021b020 VBoxEhciR0.r0

This is executed after Dophin successfully opened the MX4:
Code: Select all
USER@RECHNER:~$ dmesg | tail -32
[ 9299.372855] ISOFS: changing to secondary root
[ 9299.511764] usb 3-8: usbfs: process 4797 (kio_mtp) did not claim interface 0 before use
[ 9299.624699] usb 3-8: reset high-speed USB device number 10 using xhci_hcd
[ 9299.642212] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b65b2c40
[ 9299.642216] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b65b2c00
[ 9299.642217] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b65b2c80
[ 9299.642519] usb 3-8: usbfs: process 4797 (kio_mtp) did not claim interface 0 before use
[ 9311.840166] usb 3-8: USB disconnect, device number 10
[ 9314.989012] usb 3-8: new high-speed USB device number 11 using xhci_hcd
[ 9315.021368] usb 3-8: New USB device found, idVendor=2a45, idProduct=2008
[ 9315.021370] usb 3-8: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 9315.021372] usb 3-8: Product: MX4_Ubuntu_Edition
[ 9315.021372] usb 3-8: Manufacturer: meizu
[ 9315.021373] usb 3-8: SerialNumber: 75HABLMHG45P
[ 9336.886037] usb 3-8: usbfs: process 4837 (kio_mtp) did not claim interface 0 before use
[ 9337.054899] usb 3-8: reset high-speed USB device number 11 using xhci_hcd
[ 9337.071410] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf40
[ 9337.071412] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf00
[ 9337.071413] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf80
[ 9337.071864] usb 3-8: usbfs: process 4837 (kio_mtp) did not claim interface 0 before use
[ 9338.126371] usb 3-8: usbfs: process 4811 (kio_mtp) did not claim interface 0 before use
[ 9338.227107] usb 3-8: usbfs: process 4811 (kio_mtp) did not claim interface 0 before use
[ 9338.917288] usb 3-8: usbfs: process 4811 (kio_mtp) did not claim interface 0 before use
[ 9360.948110] usb 3-8: usbfs: process 4811 (kio_mtp) did not claim interface 0 before use
[ 9361.333594] usb 3-8: usbfs: process 4811 (kio_mtp) did not claim interface 0 before use
[ 9365.596220] usb 3-8: usbfs: process 4845 (kio_mtp) did not claim interface 0 before use
[ 9365.762044] usb 3-8: reset high-speed USB device number 11 using xhci_hcd
[ 9365.778876] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf40
[ 9365.778878] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf00
[ 9365.778879] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf80
[ 9365.779276] usb 3-8: usbfs: process 4845 (kio_mtp) did not claim interface 0 before use
[ 9395.616632] usb 3-8: usbfs: process 4811 (kio_mtp) did not claim interface 0 before use

Strangely enough Gwenview can't open pictures on the MX4. According to the notification in the system tray the check and transmission doesn't work. That's what dmesg | tail -32 says afterwards:
Code: Select all
[ 9670.362607] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf00
[ 9670.362612] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf80
[ 9670.363082] usb 3-8: usbfs: process 5034 (kio_mtp) did not claim interface 0 before use
[ 9670.406793] usb 3-8: usbfs: process 5037 (kio_mtp) did not claim interface 0 before use
[ 9670.572061] usb 3-8: reset high-speed USB device number 11 using xhci_hcd
[ 9670.593235] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf40
[ 9670.593244] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf00
[ 9670.593248] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf80
[ 9670.593864] usb 3-8: usbfs: process 5037 (kio_mtp) did not claim interface 0 before use
[ 9670.635987] usb 3-8: usbfs: process 5040 (kio_mtp) did not claim interface 0 before use
[ 9670.748211] usb 3-8: reset high-speed USB device number 11 using xhci_hcd
[ 9670.766387] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf40
[ 9670.766396] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf00
[ 9670.766401] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800714ecf80
[ 9670.766978] usb 3-8: usbfs: process 5040 (kio_mtp) did not claim interface 0 before use
[ 9676.210790] usb 3-8: USB disconnect, device number 11
[ 9680.319686] usb 3-8: new high-speed USB device number 12 using xhci_hcd
[ 9680.340297] usb 3-8: New USB device found, idVendor=2a45, idProduct=2008
[ 9680.340305] usb 3-8: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 9680.340310] usb 3-8: Product: MX4_Ubuntu_Edition
[ 9680.340314] usb 3-8: Manufacturer: meizu
[ 9680.340318] usb 3-8: SerialNumber: 75HABLMHG45P
[ 9702.671253] usb 3-8: usbfs: process 5082 (kio_mtp) did not claim interface 0 before use
[ 9702.837919] usb 3-8: reset high-speed USB device number 12 using xhci_hcd
[ 9702.854693] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800564fd640
[ 9702.854696] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800564fd600
[ 9702.854698] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800564fd680
[ 9702.855109] usb 3-8: usbfs: process 5082 (kio_mtp) did not claim interface 0 before use
[ 9823.747491] usb 3-8: reset high-speed USB device number 12 using xhci_hcd
[ 9823.764357] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800564fd640
[ 9823.764363] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800564fd600
[ 9823.764364] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800564fd680


Summarizing: MTP doesn't work stable. Dolphin only opens the MX4 after I connected it via USB again.
luebking
Karma
0

Re: MTP doesn't work

Thu Jan 07, 2016 3:37 pm
https://bugs.kde.org/show_bug.cgi?id=319880

looks like a bug in libmtp to me.
wired2051
Registered Member
Posts
66
Karma
0
OS

Re: MTP doesn't work

Fri Jan 08, 2016 9:43 am
Annoying. :(

But thanks for your help! :)


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar