External usb drives: "not an MTP device"

I used my external drives last week without any problem. No update/upgrade and yesterday/today I get:

Jul 21 13:20:50 el-tadpole kernel: usb 2-2: USB disconnect, device number 12
Jul 21 13:20:50 el-tadpole kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jul 21 13:20:51 el-tadpole kernel: sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jul 21 13:20:57 el-tadpole kernel: usb 2-2: new SuperSpeed Gen 1 USB device number 13 using xhci_hcd
Jul 21 13:20:57 el-tadpole kernel: usb 2-2: New USB device found, idVendor=2109, idProduct=0711, bcdDevice= 1.14
Jul 21 13:20:57 el-tadpole kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 21 13:20:57 el-tadpole kernel: usb 2-2: Product: USB3.0 SATA Bridge
Jul 21 13:20:57 el-tadpole kernel: usb 2-2: Manufacturer: VIA Labs,Inc.
Jul 21 13:20:57 el-tadpole kernel: usb 2-2: SerialNumber: 000000000026
Jul 21 13:20:57 el-tadpole kernel: scsi host0: uas
Jul 21 13:20:57 el-tadpole mtp-probe[15504]: checking bus 2, device 13: "/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb2/2-2"
Jul 21 13:20:57 el-tadpole mtp-probe[15504]: bus: 2, device: 13 was not an MTP device
Jul 21 13:20:57 el-tadpole mtp-probe[15531]: checking bus 2, device 13: "/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb2/2-2"
Jul 21 13:20:57 el-tadpole mtp-probe[15531]: bus: 2, device: 13 was not an MTP device
Jul 21 13:21:07 el-tadpole kernel: scsi 0:0:0:0: Direct-Access     WDC WD40 EFRX-68WT0N0     80.0 PQ: 0 ANSI: 6
Jul 21 13:21:07 el-tadpole kernel: scsi 0:0:0:0: Attached scsi generic sg0 type 0
Jul 21 13:21:07 el-tadpole kernel: sd 0:0:0:0: [sda] 7814037164 512-byte logical blocks: (4.00 TB/3.64 TiB)
Jul 21 13:21:07 el-tadpole kernel: sd 0:0:0:0: [sda] Write Protect is off
Jul 21 13:21:07 el-tadpole kernel: sd 0:0:0:0: [sda] Mode Sense: 31 00 00 00
Jul 21 13:21:07 el-tadpole kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jul 21 13:21:07 el-tadpole kernel: sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
Jul 21 13:21:07 el-tadpole kernel: sd 0:0:0:0: [sda] Attached SCSI disk

Here’s my inxi

System:    Kernel: 5.12.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: KDE Plasma 5.22.3 
           tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Convertible System: LENOVO product: 81X2 v: IdeaPad Flex 5 14ARE05 serial: <filter> 
           Chassis: type: 31 v: IdeaPad Flex 5 14ARE05 serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter> UEFI: LENOVO v: EECN35WW 
           date: 04/16/2021 
Battery:   ID-1: BAT0 charge: 31.7 Wh (60.4%) condition: 52.5/52.5 Wh (100.0%) volts: 11.5 min: 11.5 
           model: Celxpert L19C3PD6 serial: <filter> status: Unknown 
CPU:       Info: 8-Core model: AMD Ryzen 7 4700U with Radeon Graphics bits: 64 type: MCP arch: Zen 2 
           rev: 1 cache: L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 31958 
           Speed: 3005 MHz min/max: 1400/2000 MHz boost: enabled Core speeds (MHz): 1: 3005 2: 2384 
           3: 2892 4: 2338 5: 2263 6: 1456 7: 1467 8: 2297 
Graphics:  Device-1: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel bus-ID: 04:00.0 chip-ID: 1002:1636 
           Device-2: Syntek Integrated Camera type: USB driver: uvcvideo bus-ID: 1-4:3 chip-ID: 174f:243f 
           Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: loaded: amdgpu 
           resolution: 2560x1080~60Hz s-dpi: 96 
           OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.12.16-1-MANJARO LLVM 12.0.0) v: 4.6 Mesa 21.1.4 
           direct render: Yes 
Audio:     Device-1: AMD driver: snd_hda_intel v: kernel bus-ID: 04:00.1 chip-ID: 1002:1637 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A 
           bus-ID: 04:00.5 chip-ID: 1022:15e2 
           Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus-ID: 04:00.6 chip-ID: 1022:15e3 
           Sound Server-1: ALSA v: k5.12.16-1-MANJARO running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.31 running: no 
Network:   Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo 
           driver: rtw_8822ce v: N/A port: 2000 bus-ID: 02:00.0 chip-ID: 10ec:c822 
           IF: wlp2s0 state: up mac: <filter> 
           Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus-ID: 2-1.4:3 
           chip-ID: 0bda:8153 
           IF: enp4s0f3u1u4 state: down mac: <filter> 
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 3-4:3 
           chip-ID: 0bda:c123 
           Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: disabled rfk-block: hardware: no 
           software: yes address: see --recommends 
Drives:    Local Storage: total: 4.1 TiB used: 89.46 GiB (2.1%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L2 size: 476.94 GiB speed: 31.6 Gb/s 
           lanes: 4 serial: <filter> 
           ID-2: /dev/sda type: USB vendor: Western Digital model: WD40 EFRX-68WT0N0 size: 3.64 TiB 
           serial: <filter> 
Partition: ID-1: / size: 451.77 GiB used: 89.44 GiB (19.8%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: /boot/efi size: 299.4 MiB used: 16.9 MiB (5.6%) fs: vfat dev: /dev/nvme0n1p1 
Swap:      ID-1: swap-1 type: partition size: 16.58 GiB used: 768 KiB (0.0%) priority: -2 
           dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 51.2 C mobo: 41.0 C gpu: amdgpu temp: 43.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 236 Uptime: 2h 5m Memory: 15.07 GiB used: 2.66 GiB (17.6%) Init: systemd v: 248 
           Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1408 Shell: Bash v: 5.1.8 
           running-in: konsole inxi: 3.3.05

How to track what’s the problem is?

Thank you

I guess it is related to:

# Autoprobe vendor-specific, communication and PTP devices
ENV{ID_MTP_DEVICE}!="1", ENV{MTP_NO_PROBE}!="1", ENV{COLOR_MEASUREMENT_DEVICE}!="1", ENV{ID_GPHOTO}!="1", ENV{libsane_matched}!="yes", ATTR{bDeviceClass}=="00|02|06|ef|ff", PROGRAM="/usr/lib/udev/mtp-probe /sys$env{DEVPATH} $attr{busnum} $attr{devnum}", RESULT=="1", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

at /ib/udev/rules.d/69-libmtp.rules

I guess you have to write a rule to fix this.

udevadm info --path /sys/devices/pci0000\:00/0000\:00\:08.1/0000\:04:00.3/usb2/2-2

For example…

Create a file:

sudo nano /etc/udev/rules.d/90-overwrite.rules

Put something like this in:

ACTION=="add|change",  KERNEL=="sd[a-z]", ATTRS{idVendor}=="2109", ATTRS{idProduct}=="0711", SUBSYSTEMS=="usb", ENV{MODALIAS}="usb_storage"

:warning: NOT TESTED