Bug 345842

Summary: installation of kio_mtp prevents mounting of MTP devices
Product: [Frameworks and Libraries] kio-extras Reporter: Michael <michael.d.borland>
Component: MTPAssignee: Philipp Schmidt <kde-bugs>
Status: RESOLVED NOT A BUG    
Severity: major CC: elvis.angelaccio
Priority: NOR    
Version First Reported In: 18.04.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Michael 2015-04-04 02:57:35 UTC
I find that if I have kio_mtp installed, mtp mounting of my Samsung Galaxy Note II does not work. As expected, when plugging in the phone, the notifier pops up a dialog. If I click on the Dolphin icon, a window opens, but the mount fails with the message "Could not read. Reason: unspecified error" or "Could not read. Reason: Could not claim the USB device." simple-mtpfs also hangs or returns errors (not reproducible). If I log out of KDE and log into a console, I can mount with simple-mtpfs. Also, if I uninstall kio_mtp (taking Amarok and Digikam with it!), I can use simple-mtp while logged into a KDE session.

Reproducible: Always

Steps to Reproduce:
1. Log in to KDE
2. Plug in phone using USB cable.
3. Click on Dolphin icon in notifier window.
4. Click on ">" next to "Samsung Galaxy models (MTP)". 

Actual Results:  
Hangs and gives error message.
Blocks use of simple-mtpfs.

Expected Results:  
Mounts device for read/write access or at least allows use of simple-mtpfs.

I'd be perfectly happy using simple-mtpfs from the commandline if I didn't have to blow away Amarok or log out of KDE to do it.
Comment 1 Elvis Angelaccio 2018-08-16 09:43:33 UTC
This is by design, unfortunately. MTP cannot be used from different processes at the same time.