No MTP-compatible device found error on connecting Android smartphone to USB

USB file transfer from Android to Tumbleweed worked perfectly until I DUP’d yesterday to snapshot 20211001. Since then, plugging the smartphone into a USB cable and enabling file transfer produces only the message:

No MTP-compatible devices found

without access to smartphone folders.

Dolphin, however, does show the icon for the smartphone.

I tried with a spare Android smartphone. Same symptoms.

I filed https://bugzilla.opensuse.org/show_bug.cgi?id=1191352 at Bugzilla, but thought I’d post here, too, in case any forum users can offer troubleshooting tips.

It looks like this issue is related to an libmtp bug:

https://sourceforge.net/p/libmtp/bugs/1909/

I’m having the same problem, but strangely (after reading Tuner’s link), it works on leap-15.3 which I have on one of my spare partitions.

https://forums.opensuse.org/showthread.php/560802-Bug-1189687-Is-here-again

Have any other Tumbleweed users affected by this problem removed the locks on libmtpt and libmtp-udev?

This above-linked bug reports at bugzilla and sourceforge seem to be in limbo, but Tumbleweed has progressed through several snapshots since, and the connecting-to-the-smartphone problem may have disappeared for other reasons. These are the only two locks on my system besides package kit, so I’d like to remove them … but also don’t want to have to restore a known good Tumbleweed partition with the libmtp locks in place, if the problem hasn’t been resolved.

Hmmmm. I have never bothered plugging in the cable and using MTP. Way back when I first got my Android device, I found it was unreliable for file transfers, so instead I installed SSHelper on the device.

I just connect to wireless, use sshfs from my desktop machine, and have Unison set up to transfer files back and forth, which will download anything new or upload anything new, keeping the directories on the PC and the Android device in sync.

It is fast, reliable, and very convenient. No plugging or unplugging wires, etc.

You may want to explore that option.

Thanks for sharing this idea, Fraser Bell. Still, I’ve been able to plug in a cable and transfer files to and from my smartphone ever since I bought my first smartphone in my Windows 7 days … in Linux Mint, and, until this problem surfaced, in Tumbleweed, too. From what I gather here, many installing Tumbleweed for the first time with the 1.1.19-1.1 libmtp packages will get non-functioning MTP transfer.

(Also: I looked up SSHelper, and see it’s being discontinued. https://arachnoid.com/android/SSHelper/ ] I haven’t used Android 10 for awhile now.)

Just tried, I am on Tumbleweed 20211030 and MTP is working fine, Dolphin is showing mtp:/Nokia 6.2/Internal shared storage/ and I can access the directories and files.

lsusb list the phone as:

Bus 003 Device 012: ID 2e04:c025 HMD Global Nokia 8 (MTP mode)

What is lsusb listing for you?

Your post inspired me, Marel. I removed the libmtp locks, DUP’d, rebooted, and tried the MTP connection again. I wasn’t optimistic, thought I’d have to restore the known good partition, but what do you know?!: the problem is gone! I’m now on 1.1.19-1.1 for both libmtp packages, and MTP transfer works as it should. :slight_smile: