I want to connect my Android device via USB and MTP. However, Dolphin always says, that no MTP device was found. Nevertheless, it does show up on the left side in the device category, and I sometimes (in some cases, but not always) get notices about whether I want to open it in the file manager, when I connect the USB cable.
The problem is definitely on the computer, as I don’t have problems on my laptop (using the same cable).
I already tried installing android-udev as mentioned here.
I’m using KDE plasma, and already updated everything.
I noticed some errors in journalctl:
Sep 26 14:54:21 elendil-pc org.kde.kmtpd5[3565]: ERROR: Could not close session!
Sep 26 14:54:21 elendil-pc org.kde.kmtpd5[3565]: inep: usb_get_endpoint_status(): Kein passendes Gerät gefunden
Sep 26 14:54:21 elendil-pc org.kde.kmtpd5[3565]: outep: usb_get_endpoint_status(): Kein passendes Gerät gefunden
Sep 26 14:54:24 elendil-pc kernel: usb 1-4: new high-speed USB device number 23 using xhci_hcd
Sep 26 14:54:24 elendil-pc kernel: usb 1-4: New USB device found, idVendor=18d1, idProduct=4ee1, bcdDevice= 4.40
Sep 26 14:54:24 elendil-pc kernel: usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 26 14:54:24 elendil-pc kernel: usb 1-4: Product: Pixel 4a
Sep 26 14:54:24 elendil-pc kernel: usb 1-4: Manufacturer: Google
Sep 26 14:54:24 elendil-pc kernel: usb 1-4: SerialNumber: 0A281JEC208291
Sep 26 14:54:30 elendil-pc org.kde.kmtpd5[3565]: PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
Sep 26 14:54:30 elendil-pc org.kde.kmtpd5[3565]: LIBMTP libusb: Attempt to reset device
Sep 26 14:54:30 elendil-pc kernel: usb 1-4: reset high-speed USB device number 23 using xhci_hcd
Sep 26 14:54:31 elendil-pc kernel: usb 1-4: reset high-speed USB device number 23 using xhci_hcd
Sep 26 14:55:31 elendil-pc org.kde.kmtpd5[3565]: LIBMTP PANIC: failed to open session on second attempt
Sep 26 14:55:31 elendil-pc kiod5[3565]: kf.kiod.kmtpd.: LIBMTP_Open_Raw_Device_Uncached: Could not open MTP device
Kein passendes Gerät gefunden translates to No matching/fitting device found
When that happens i normally close dolphin and open it again. You can try other file manager too like nautilus to see if the problem is your pc or from dolphin
I am getting out of ideas XD. The only thing that i can remeber is to change the kernel version. Try using your phone with lts kernel or viceversa if you are using lts
I can’t switch the kernel of my phone.
If you are talking about the kernel in EOS: I’m using Zen, and I’m actually quite happy with it. I don’t want to switch it - and it should generally be possible to use MTP with the zen kernel, right?
Also: I’m pretty sure that it did work with it previously.
$ yay -Qs mtp
local/gvfs-gphoto2 1.48.1-1 (gnome)
Virtual filesystem implementation for GIO (gphoto2 backend; PTP camera, MTP media player)
local/gvfs-mtp 1.48.1-1 (gnome)
Virtual filesystem implementation for GIO (MTP backend; Android, media player)
local/ksmtp 21.08.1-1
Job-based library to send email through an SMTP server
local/libcddb 1.3.2-6
Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org).
local/libmtp 1.1.19-1
Library implementation of the Media Transfer Protocol
Not working. However, the message that the file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-4 doesn’t exist, doesn’t show anymore. (However I’m pretty sure that it didn’t show all the time previously, so this might not have changed anything at all.)
I’m not sure, but I guess that it could be a problem with mentioned OS. I don’t have any experience with this one, so I’m afraid I can be of no further help.
Never had any issues, as long as mtpfs was installed.