Discussion:
Error copying from Linux to Android
(too old to reply)
pinnerite
2024-12-20 18:03:36 UTC
Permalink
When I try to copy files from Linux Mint 21.3 (Ubuntu 22.04)
to my Xioumi M9 cellphone it returns this error message:

"libmtp error: Could not send object info."

The mtp files installed on Linux are:

libmtp-common
libmtp-runtime
libmtpg
libnet-smtp-ssl-perl

It worked a month ago (?)

Any suggestions?
TIA
--
Linux Mint 21.3 kernel version 5.15.0-127-generic Cinnamon 6.0.4
AMD Ryzen 7 7700, Radeon RX 6600, 32GB DDR5, 1TB SSD, 2TB Barracuda
VanguardLH
2024-12-20 19:23:56 UTC
Permalink
Post by pinnerite
When I try to copy files from Linux Mint 21.3 (Ubuntu 22.04)
"libmtp error: Could not send object info."
libmtp-common
libmtp-runtime
libmtpg
libnet-smtp-ssl-perl
It worked a month ago (?)
Don't use Linux, but do remember in Android settings there was a choice
of how the USB port in the phone gets used. For me, the nav path is:

Android settings -> General -> Developer Options (*) -> Select USB
Configuration. Set to MTP mode.

(*) You have to first enable Developer options.

You'd think this setting wouldn't change in a month, but I have seen a
prompt asking me for the USB mode, so it's possible a user changed the
setting accidentally.
Carlos E.R.
2024-12-20 21:19:52 UTC
Permalink
Post by pinnerite
When I try to copy files from Linux Mint 21.3 (Ubuntu 22.04)
"libmtp error: Could not send object info."
libmtp-common
libmtp-runtime
libmtpg
libnet-smtp-ssl-perl
It worked a month ago (?)
Any suggestions?
On occasion I could not fetch files from the phone using Thunar.
Typically I then try with Nautilus or Dolphin, and it works.

Once none worked. Turned out that the usb connection had been captured
by shotwell, who thought it had to handle the camera.

I never tried the CLI, no reason to.


If you think the problem is on the Linux side of things, you should have
crossposted to Linux groups.
--
Cheers, Carlos.
Theo
2024-12-21 12:59:57 UTC
Permalink
Post by Carlos E.R.
Post by pinnerite
When I try to copy files from Linux Mint 21.3 (Ubuntu 22.04)
"libmtp error: Could not send object info."
libmtp-common
libmtp-runtime
libmtpg
libnet-smtp-ssl-perl
It worked a month ago (?)
Any suggestions?
On occasion I could not fetch files from the phone using Thunar.
Typically I then try with Nautilus or Dolphin, and it works.
Once none worked. Turned out that the usb connection had been captured
by shotwell, who thought it had to handle the camera.
I had the opposite problem - I was trying to import photos into digiKam and
some file manager (Dolphin?) had already grabbed the USB session.

Turned out that I needed to kill 'kiod5' which was the process that grabbed
the port, and then digiKam worked.

https://techpatterns.com/forums/about3009.html

Theo
Geoff Rousell
2024-12-27 12:22:02 UTC
Permalink
Post by Theo
Post by Carlos E.R.
Post by pinnerite
When I try to copy files from Linux Mint 21.3 (Ubuntu 22.04)
"libmtp error: Could not send object info."
libmtp-common
libmtp-runtime
libmtpg
libnet-smtp-ssl-perl
It worked a month ago (?)
Any suggestions?
On occasion I could not fetch files from the phone using Thunar.
Typically I then try with Nautilus or Dolphin, and it works.
Once none worked. Turned out that the usb connection had been captured
by shotwell, who thought it had to handle the camera.
I had the opposite problem - I was trying to import photos into digiKam and
some file manager (Dolphin?) had already grabbed the USB session.
Turned out that I needed to kill 'kiod5' which was the process that grabbed
the port, and then digiKam worked.
https://techpatterns.com/forums/about3009.html
Theo
I use KDE connect to transfer files between my phone & Linux, can be
used wirelessly

https://kdeconnect.kde.org/

Geoff

Loading...