USB-C flash drive intermittently gets detected then fails on port 4 and 5 on Linux

Which Linux distro are you using?
openSuSe Tumbelweed

(If rolling release, last date updated?)
December 13, 2024

Which kernel are you using?
6.11.8-1-default

Which BIOS version are you using?
3.05

Which Framework Laptop 16 model are you using? (AMD Ryzen™ 7040 Series)
AMD Ryzen 7840HS

I have a Samsung USB-C flash drive which doesn’t seem to work on my Framework on right side ports (#4 and #5) I have USB-C only on these expansion slots. It does work on #1 expansion slot. It gets intermittently detected around 3 times, before getting disconnected/removed. It works on all other slots, but still gives

ucsi_acpi USBC000:00: unknown error 0
ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)

errors in dmesg. A Sandisk USB-A 3.1 drive also has same issue with ports 4 and 5, while working on all others, and it doesn’t give the above errors when it does work.

Dmesg log is attached. Does anyone know of a fix?

[  514.464133] [   T3948] usb 2-2.1: new SuperSpeed USB device number 3 using xhci_hcd
[  514.482497] [   T3948] usb 2-2.1: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
[  514.482513] [   T3948] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  514.482518] [   T3948] usb 2-2.1: Product: Type-C
[  514.482522] [   T3948] usb 2-2.1: Manufacturer: Samsung
[  514.482525] [   T3948] usb 2-2.1: SerialNumber: 0373823010002642
[  514.545812] [   T4597] SCSI subsystem initialized
[  514.549522] [   T4597] alua: device handler registered
[  514.550435] [   T4597] rdac: device handler registered
[  514.551320] [   T4597] emc: device handler registered
[  514.560270] [   T4597] usb-storage 2-2.1:1.0: USB Mass Storage device detected
[  514.560770] [   T4597] scsi host0: usb-storage 2-2.1:1.0
[  514.561048] [   T4597] usbcore: registered new interface driver usb-storage
[  514.563469] [   T4597] usbcore: registered new interface driver uas
[  514.858771] [    T119] ucsi_acpi USBC000:00: unknown error 0
[  514.858790] [    T119] ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
[  515.974122] [    T119] scsi 0:0:0:0: Direct-Access     Samsung  Type-C           1100 PQ: 0 ANSI: 6
[  515.974811] [    T119] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  515.976396] [     T11] sd 0:0:0:0: [sda] 250626566 512-byte logical blocks: (128 GB/120 GiB)
[  515.976565] [     T11] sd 0:0:0:0: [sda] Write Protect is off
[  515.976574] [     T11] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[  515.976705] [     T11] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  516.022824] [     T11]  sda: sda1
[  516.023223] [     T11] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  520.817636] [   T2341] wlp1s0: disconnect from AP 3c:a6:2f:b3:d4:b4 for new auth to 3c:a6:2f:b3:d4:b3
[  521.094993] [   T2341] wlp1s0: authenticate with 3c:a6:2f:b3:d4:b3 (local address=4c:82:a9:4c:d7:ad)
[  521.111014] [   T2341] wlp1s0: send auth to 3c:a6:2f:b3:d4:b3 (try 1/3)
[  521.119110] [    T119] wlp1s0: authenticated
[  521.137434] [    T119] wlp1s0: associate with 3c:a6:2f:b3:d4:b3 (try 1/3)
[  521.178397] [    T119] wlp1s0: RX ReassocResp from 3c:a6:2f:b3:d4:b3 (capab=0x1511 status=0 aid=5)
[  521.212370] [    T119] wlp1s0: associated
[  521.285429] [    T124] wlp1s0: Limiting TX power to 20 (23 - 3) dBm as advertised by 3c:a6:2f:b3:d4:b3
[  522.980780] [   T3948] usb 2-2.1: USB disconnect, device number 3
[  523.067145] [   T3948] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  523.067222] [   T3948] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[  524.204169] [    T323] usb 2-2.1: new SuperSpeed USB device number 4 using xhci_hcd
[  524.222283] [    T323] usb 2-2.1: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
[  524.222299] [    T323] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  524.222304] [    T323] usb 2-2.1: Product: Type-C
[  524.222308] [    T323] usb 2-2.1: Manufacturer: Samsung
[  524.222312] [    T323] usb 2-2.1: SerialNumber: 0373823010002642
[  524.223874] [    T323] usb-storage 2-2.1:1.0: USB Mass Storage device detected
[  524.224383] [    T323] scsi host0: usb-storage 2-2.1:1.0
[  524.618764] [    T127] ucsi_acpi USBC000:00: unknown error 0
[  524.618785] [    T127] ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
[  525.628619] [    T127] scsi 0:0:0:0: Direct-Access     Samsung  Type-C           1100 PQ: 0 ANSI: 6
[  525.629405] [    T127] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  525.630632] [    T119] sd 0:0:0:0: [sda] 250626566 512-byte logical blocks: (128 GB/120 GiB)
[  525.630811] [    T119] sd 0:0:0:0: [sda] Write Protect is off
[  525.630820] [    T119] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[  525.630985] [    T119] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  525.669614] [    T119]  sda: sda1
[  525.670027] [    T119] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  532.724789] [    T323] usb 2-2.1: USB disconnect, device number 4
[  532.827358] [    T323] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  532.827434] [    T323] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[  533.970751] [   T3948] usb 2-2.1: new SuperSpeed USB device number 5 using xhci_hcd
[  533.989042] [   T3948] usb 2-2.1: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
[  533.989057] [   T3948] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  533.989062] [   T3948] usb 2-2.1: Product: Type-C
[  533.989066] [   T3948] usb 2-2.1: Manufacturer: Samsung
[  533.989070] [   T3948] usb 2-2.1: SerialNumber: 0373823010002642
[  533.989858] [   T3948] usb-storage 2-2.1:1.0: USB Mass Storage device detected
[  533.990995] [   T3948] scsi host0: usb-storage 2-2.1:1.0
[  534.358774] [    T119] ucsi_acpi USBC000:00: unknown error 0
[  534.358796] [    T119] ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
[  535.414661] [    T119] scsi 0:0:0:0: Direct-Access     Samsung  Type-C           1100 PQ: 0 ANSI: 6
[  535.415181] [    T119] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  535.416222] [    T118] sd 0:0:0:0: [sda] 250626566 512-byte logical blocks: (128 GB/120 GiB)
[  535.416352] [    T118] sd 0:0:0:0: [sda] Write Protect is off
[  535.416359] [    T118] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[  535.416465] [    T118] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  535.441104] [    T118]  sda: sda1
[  535.441351] [    T118] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  542.484801] [   T3948] usb 2-2.1: USB disconnect, device number 5
[  542.553818] [   T3948] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  542.553898] [   T3948] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK