Bug 430606 - Dolphin cannot connect to MTP device
Summary: Dolphin cannot connect to MTP device
Status: RESOLVED FIXED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: MTP (show other bugs)
Version: 20.08
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
: 430670 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-12-20 03:31 UTC by Pussy Boots
Modified: 2021-07-26 08:12 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: libusb 1.0.24


Attachments
Error (156.30 KB, image/png)
2021-01-14 13:44 UTC, alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pussy Boots 2020-12-20 03:31:00 UTC
SUMMARY

Dolphin shows error message when I try to connect to MTP device

STEPS TO REPRODUCE
1. Connect Samsung Galaxy Tab S4 to PC via USB cable
2. Allow the connection from the tablet
3. In the system tray notification, click to open the tablet with Dolphin
4. Dolphin display an empty folder and the error message: "The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4 does not exist."

OBSERVED RESULT

Error message

EXPECTED RESULT

Dolphin should open my SMTP device and show internal and SD memory

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 20.10
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-33-generic
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 15,5 GiB of RAM
Graphics Processor: GeForce GTX 1060/PCIe/SSE2
Comment 1 Elvis Angelaccio 2020-12-28 21:14:22 UTC
*** Bug 430670 has been marked as a duplicate of this bug. ***
Comment 2 alex 2021-01-14 13:42:54 UTC
I confirm. If Dolphin is running, then having connected a smartphone, I cannot view the contents of the Internal \ External storage. This can be fixed by exiting Dolphin and rerunning. Added a photo (Russian). Dolphin asks to check if the smartphone is connected and mtp is enabled. Everything is running. But there is a mistake.
Comment 3 alex 2021-01-14 13:44:54 UTC
Created attachment 134850 [details]
Error

Right panel. Dolphin informs you to activate mtp and check the connection with your smartphone. mtp is activated, smartphone is connected, but the error persists.
Comment 4 alex 2021-01-14 13:48:03 UTC
(In reply to alex from comment #3)
> Created attachment 134850 [details]
> Error
> 
> Right panel. Dolphin informs you to activate mtp and check the connection
> with your smartphone. mtp is activated, smartphone is connected, but the
> error persists.

Dolphin 20.12.0
Comment 5 David Geiger 2021-03-18 12:28:30 UTC
So in Mageia we have found what is going wrong, this bug is caused by a bug in libusb with a fix available here:

https://github.com/libusb/libusb/commit/f6d2cb561402c3b6d3627c0eb89e009b503d9067

Since we have patched libusb 1.0.24 now connecting to MTP device works again.

Hope this can help!

Regards,
David
Comment 6 Nate Graham 2021-03-18 15:42:12 UTC
Oh sweet. Thanks for the info! I have that version my system and I can confirm that MTP is working well.
Comment 7 popov895 2021-07-23 08:37:22 UTC
Same issue as in Comment2 on openSUSE Tumbleweed.

Operating System: openSUSE Tumbleweed 20210720
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Graphics Platform: X11

$ zypper info libusb-1_0-0
Information for package libusb-1_0-0:
-------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : libusb-1_0-0
Version        : 1.0.24-2.3
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 153,9 KiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : libusb-1_0-1.0.24-2.3.src
Summary        : USB Library
Description    :
Libusb is a library that allows userspace access to USB devices.
Comment 8 popov895 2021-07-26 08:12:17 UTC
It seems that bug 411489 is more suitable for my issue.