How to obtain and install USB driver/firmware for a Samsung phone which'd let us to communicate to the devices mediated by USB data cable?
Where can download to easily install the firmware
There are numerous packages in the AUR that might help, searching for samsung phone, usb phone and usb android (as Samsung smart phones usually use Android) gave these results, other search terms might reveal even more options:
aur/heimdall-grimler 2.1.0-1 [0 / 0.000000]
Actively maintained fork of Samsung phone firmware flashing tool
aur/heimdall-grimler-git 2.1.0.r1.1afaefb-3 [6 / 0.012894]
Actively maintained fork of Samsung phone firmware flashing tool
extra/spytrap-adb 0.3.3-1
Test a phone for stalkerware using adb and usb debugging to scan for suspicious apps and configuration
aur/android-tethering 20230919-1 [1 / 0.000071]
systemd-networkd plugin to share Internet connection from your Android phone to your computer via USB cable
aur/droidcam 1:2.1.3-2 [140 / 0.859965]
A tool to turn your phone/tablet into a wireless/usb webcam
aur/kinect-audio-setup 0.5-4 [1 / 0.000000]
Tools to download and apply USB Audio Class firmware for Kinect and use it as microphone
aur/obs-ios-camera-source-git r290.c67e577-2 [2 / 0.000000]
Use your iPhone camera as a video source in OBS Studio and stream high quality video from your iPhone's camera over USB (dougg3's fork)
aur/pinedio-lora-driver-git r3.3c1ba9d-3 [1 / 0.000000]
Driver and demo applications for the PineDio LoRa backplate for the Pinephone and USB adapter
aur/pinephone-dev-tools 0.92-1 [2 / 0.000000]
Configures USB Gadget driver and initiates a USB network interface
aur/51-android-git 2.0.r24.g376b896-1 [0 / 0.000000]
Google USB Driver
aur/android-aarch64-hidapi 0.14.0-2 [0 / 0.000000]
Simple library for communicating with USB and Bluetooth HID devices (Android aarch64)
aur/android-aarch64-libusb 1.0.27-2 [0 / 0.000000]
Library that provides generic access to USB devices (Android aarch64)
aur/android-aarch64-libuvc 0.0.7-1 [0 / 0.000000]
a cross-platform library for USB video devices (Android aarch64)
aur/android-armv7a-eabi-hidapi 0.14.0-2 [0 / 0.000000]
Simple library for communicating with USB and Bluetooth HID devices (Android armv7a-eabi)
aur/android-armv7a-eabi-libusb 1.0.27-2 [0 / 0.000000]
Library that provides generic access to USB devices (Android armv7a-eabi)
aur/android-armv7a-eabi-libuvc 0.0.7-1 [0 / 0.000000]
a cross-platform library for USB video devices (Android armv7a-eabi)
aur/android-tethering 20230919-1 [1 / 0.000071]
systemd-networkd plugin to share Internet connection from your Android phone to your computer via USB cable
aur/android-x86-64-hidapi 0.14.0-2 [0 / 0.000000]
Simple library for communicating with USB and Bluetooth HID devices (Android x86-64)
aur/android-x86-64-libusb 1.0.27-2 [0 / 0.000000]
Library that provides generic access to USB devices (Android x86-64)
aur/android-x86-64-libuvc 0.0.7-1 [0 / 0.000000]
a cross-platform library for USB video devices (Android x86-64)
aur/android-x86-hidapi 0.14.0-2 [0 / 0.000000]
Simple library for communicating with USB and Bluetooth HID devices (Android x86)
aur/android-x86-libusb 1.0.27-2 [0 / 0.000000]
Library that provides generic access to USB devices (Android x86)
aur/android-x86-libuvc 0.0.7-1 [0 / 0.000000]
a cross-platform library for USB video devices (Android x86)
aur/droidcam-dkms-git v2.1.2.r149.add5733-2 [8 / 0.000168]
A tool for using your android device as a wireless/usb webcam (DKMS)
aur/linkandroid-bin 0.3.0-2 [0 / 0.000000]
全能手机连接助手,简单 高清投屏,多设备,USB/无线连接,录屏 MP4/GIF录屏,截屏美化,命令行,强大 文件管理,键盘鼠标OTG,应用管理。
aur/tetherback 0.9.1-1 [2 / 0.000000]
Create backups of an Android device over USB (requires adb and TWRP recovery).
aur/tetherback-git 0.9.1+22.r145.20240606.d1907a0-1 [0 / 0.000000]
Create backups of an Android device over USB (requires adb and TWRP recovery).
aur/usbaudio-git r2.acb9ac8-1 [5 / 0.000000]
Forward audio from Android devices
Perhaps something listed there would help you?
PTP / MTP software is in the repos, this can let you communicate via USB with some devices that require this, like some tablets, smartphones and cameras, that might be the first thing to try if you have not already done so:
world/gvfs-gphoto2 1.56.1-3 (gnome)
Virtual filesystem implementation for GIO - gphoto2 backend (PTP camera, MTP media player)
When you have gvfs-gphoto2 installed and plug in a device that it supports, it's detected and auto-mounted, so you simply click on "places" and find the device in the list and open it in a file browser. But what you can access depends on what the device wants to make available, unlike mounting a regular USB.
trizen samsung
1 chaotic-aur/heimdall-grimler-git 2.1.0.r1.1afaefb-3.1
Actively maintained fork of Samsung phone firmware flashing tool