Bug 372860

Summary: MTP not usable : connects, then disconnects, then connects...
Product: [Frameworks and Libraries] kio-extras Reporter: Tobias Bora <tobias.bora>
Component: MTPAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: cbm4032, elvis.angelaccio, jakub.gocol, joanmaspons, nate, reuben_p, schwarzer, scrutinizer, tesfabpel, timoka10, vlastimil.kriz
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Log when MTP connects and disconnects

Description Tobias Bora 2016-11-23 22:06:33 UTC
Created attachment 102425 [details]
Log when MTP connects and disconnects

Hello,

MTP works fine on Nautilus, but I'm trying to use MTP on Dolphin 16.08.2 and it's very buggy : 5% of the time, it just works, and 95% of the time I have a strange behaviour : my phone connects, and suddently disconnect 10ms later, then connect again... and so on. The little usb notification does the same thing : it says that the phone is connecting after a pops'up, and then sudently disapears... and so on. Sometimes after a while it stop blinking, and I can use it, but it's very randomly.

I've attached the logs in /var/log/syslog.

Thank you for your help,

tobiasBora.
Comment 1 Vlastimil Kriz 2017-04-05 21:56:51 UTC
I have the same problem ...
Comment 2 Nate Graham 2017-08-18 15:48:40 UTC
*** Bug 372523 has been marked as a duplicate of this bug. ***
Comment 3 Chris 2018-08-03 07:55:41 UTC
Same here. Unusable.
Comment 4 andreas.krutzler 2018-10-08 17:39:48 UTC
Git commit aaa1edbb74c4fb01affbde7b79bb45d3a9b61f83 by Andreas Krutzler.
Committed on 08/10/2018 at 17:39.
Pushed by akrutzler into branch 'master'.

[mtp] Move MTP device handling from kioslave to kiod-module

Summary:
Consult T9390 for more information.
Related: bug 319880, bug 325924, bug 336456, bug 382046, bug 383314, bug 396527

Closes T9390

Reviewers: elvisangelaccio, ltoscano, hetzenecker, dfaure, mlaurent

Reviewed By: elvisangelaccio, dfaure, mlaurent

Subscribers: mlaurent, kde-frameworks-devel, kfm-devel

Tags: #dolphin, #frameworks

Maniphest Tasks: T9390

Differential Revision: https://phabricator.kde.org/D15277

M  +5    -5    mtp/CMakeLists.txt
D  +0    -229  mtp/devicecache.cpp
D  +0    -86   mtp/devicecache.h
D  +0    -73   mtp/filecache.cpp
D  +0    -81   mtp/filecache.h
M  +483  -576  mtp/kio_mtp.cpp
M  +14   -8    mtp/kio_mtp.h
D  +0    -358  mtp/kio_mtp_helpers.cpp
D  +0    -46   mtp/kio_mtp_helpers.h
A  +19   -0    mtp/kiod_module/CMakeLists.txt
A  +171  -0    mtp/kiod_module/kmtpd.cpp     [License: GPL (v2+)]
A  +63   -0    mtp/kiod_module/kmtpd.h     [License: GPL (v2+)]
A  +12   -0    mtp/kiod_module/kmtpd.json
A  +127  -0    mtp/kiod_module/mtpdevice.cpp     [License: GPL (v2+)]
A  +78   -0    mtp/kiod_module/mtpdevice.h     [License: GPL (v2+)]
A  +635  -0    mtp/kiod_module/mtpstorage.cpp     [License: GPL (v2+)]
A  +142  -0    mtp/kiod_module/mtpstorage.h     [License: GPL (v2+)]
A  +21   -0    mtp/shared/CMakeLists.txt
A  +70   -0    mtp/shared/kmtpdeviceinterface.cpp     [License: LGPL]
A  +64   -0    mtp/shared/kmtpdeviceinterface.h     [License: LGPL]
A  +85   -0    mtp/shared/kmtpdinterface.cpp     [License: LGPL]
A  +70   -0    mtp/shared/kmtpdinterface.h     [License: LGPL]
A  +147  -0    mtp/shared/kmtpfile.cpp     [License: LGPL]
A  +90   -0    mtp/shared/kmtpfile.h     [License: LGPL]
A  +98   -0    mtp/shared/kmtpstorageinterface.cpp     [License: LGPL]
A  +77   -0    mtp/shared/kmtpstorageinterface.h     [License: LGPL]
A  +50   -0    mtp/shared/org.kde.kmtp.daemon.xml
A  +62   -0    mtp/shared/org.kde.kmtp.device.xml
A  +154  -0    mtp/shared/org.kde.kmtp.storage.xml

https://commits.kde.org/kio-extras/aaa1edbb74c4fb01affbde7b79bb45d3a9b61f83
Comment 5 Frederik Schwarzer 2018-10-14 11:36:39 UTC
Thanks a lot for scratching that itch! :)