Can't do USB data-tansfers from my phone
I connect an Android phone by USB to my ThinkPad. I go to the phone's 'Settings', 'Connected devices', 'USB', and turn on PTP (photo transfer protocol) or 'File transfer'.... and then nothing. No recognition from Trisquel's side.
The physical connection is good because the phone can charge.
Must be something to do with the way Trisquel communicated with USB ports??
If data transfer is your only concern, then you can use something like Syncthing to do that. USB data transfer doesn't work for me either, I've always thought it to be non-free driver issue.
With Trisquel 12 and my Pixel 8a with GrapheneOS, it works, from Caja.
Maybe you are missing some packages, but I don't know which packages are needed. Here is the list of my installed packages that might be related to this:
$ dpkg -l "*usb*" "*mtp*" "*android*" |grep ii ii android-libbase:amd64 1:34.0.4-1build3 amd64 Android base library ii android-libboringssl:amd64 14.0.0+r11-4build1 amd64 Google's internal fork of OpenSSL for the Android SDK ii android-libcutils:amd64 1:34.0.4-1build3 amd64 Android utils library for C ii android-liblog:amd64 1:34.0.4-1build3 amd64 Android NDK logger interfaces ii android-libziparchive:amd64 1:34.0.4-1build3 amd64 Library for ZIP archives ii android-sdk-platform-tools-common 28.0.2+9 all Tools for interacting with an Android platform - Common files ii ipp-usb 0.9.24-0ubuntu3.3 amd64 Daemon for IPP over USB printer support ii libgusb2:amd64 0.4.8-1build2 amd64 GLib wrapper around libusb1 ii libmtp-common 1.1.21-3.1build1 all Media Transfer Protocol (MTP) common files ii libmtp9t64:amd64 1.1.21-3.1build1 amd64 Media Transfer Protocol (MTP) library ii libusb-1.0-0:amd64 2:1.0.27-1 amd64 userspace USB programming library ii libusbmuxd6:amd64 2.0.2-4build3 amd64 USB multiplexor daemon for iPhone and iPod Touch devices - library ii libusbredirhost1:amd64 0.13.0-2 amd64 Implementing the usb-host (*) side of a usbredir connection (runtime) ii libusbredirparser1t64:amd64 0.13.0-2.1build1 amd64 Parser for the usbredir protocol (runtime) ii spice-client-glib-usb-acl-helper 0.42-2ubuntu2 amd64 Helper tool to validate usb ACLs ii usb-creator-common 0.3.17trisquel3 all create a startup disk using a CD or disc image (common files) ii usb-creator-gtk 0.3.17trisquel3 all create a startup disk using a CD or disc image (for GNOME) ii usb-modeswitch 2.6.1-3ubuntu3 amd64 mode switching tool for controlling "flip flop" USB devices ii usb-modeswitch-data 20191128-6 all mode switching data for usb-modeswitch ii usb.ids 2024.03.18-1 all USB ID Repository ii usbutils 1:017-3build1 amd64 Linux USB utilities
You could run the same command on your system, and try installing the ones in my list that are not installed on yours, then reboot and try again. You could first try the ones for MTP and try the MTP option on your phone.
Neither mtp-tools nor libmtp-runtime is installed by default. Installing them may enhance libmtp9 capabilities.
I installed libmtp-runtime and it works. Thanks!
>"The physical connection is good because the phone can charge."
You need a data transfer capable USB cable. Some phone charging cables don't have data transfer capability. Most USB-C cables should work, although some do not. If you have a little bit older phone with a USB B mini charging cable, then your likelihood of the cable being data transfer capable is hit or miss.

