Thumb drives not working?

sudo dmesg (abridged to the last part of the output, capturing the moment of insertion of the USB drive):

[   23.925612] systemd[1]: Starting systemd-journald.service - Journal Service...
[   23.932315] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[   23.938085] fuse: init (API version 7.45)
[   23.944078] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[   23.951815] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[   23.965043] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[   23.966118] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[   23.966971] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[   23.967858] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[   23.969165] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
[   23.970794] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[   23.972529] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   23.973199] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[   23.974518] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[   23.975156] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[   23.976351] systemd[1]: modprobe@drm.service: Deactivated successfully.
[   23.977066] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[   23.978348] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[   23.978914] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[   23.979950] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   23.980498] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[   23.981749] systemd[1]: modprobe@loop.service: Deactivated successfully.
[   23.982381] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[   24.004766] EXT4-fs (dm-0): re-mounted 48dd485f-d0a4-485d-883e-6976497c6845.
[   24.005050] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[   24.010199] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[   24.010598] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[   24.014383] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[   24.015976] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[   24.018893] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[   24.019974] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[   24.020145] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   24.025566] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed...
[   24.030028] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[   24.034236] systemd[1]: Starting systemd-sysusers.service - Create System Users...
[   24.036995] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[   24.084658] systemd[1]: Finished systemd-random-seed.service - Load/Save Random Seed.
[   24.085800] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[   24.097200] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[   24.111225] systemd[1]: Finished systemd-sysusers.service - Create System Users.
[   24.135125] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[   24.136509] systemd[1]: Finished lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
[   24.166271] systemd[1]: Started systemd-journald.service - Journal Service.
[   24.199024] systemd-journald[491]: Received client request to flush runtime journal.
[   24.202294] systemd-journald[491]: File /var/log/journal/e87e2e436c554d8fa42839389570bd04/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   24.652574] zram0: detected capacity change from 0 to 12111872
[   25.026015] Adding 6055932k swap on /dev/zram0.  Priority:100 extents:1 across:6055932k SSDsc
[   25.069444] mousedev: PS/2 mouse device common for all mice
[   25.135485] ext2 filesystem being mounted at /boot supports timestamps until 2038-01-19 (0x7fffffff)
[   25.350482] audit: type=1400 audit(1777319339.393:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=587 comm="apparmor_parser"
[   25.353657] audit: type=1400 audit(1777319339.396:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=588 comm="apparmor_parser"
[   25.355176] audit: type=1400 audit(1777319339.400:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=588 comm="apparmor_parser"
[   25.361375] remoteproc remoteproc0: imx-rproc is available
[   25.429160] audit: type=1400 audit(1777319339.473:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/libexec/geoclue" pid=596 comm="apparmor_parser"
[   25.433671] audit: type=1400 audit(1777319339.476:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=595 comm="apparmor_parser"
[   25.433719] audit: type=1400 audit(1777319339.476:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=595 comm="apparmor_parser"
[   25.433732] audit: type=1400 audit(1777319339.476:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=595 comm="apparmor_parser"
[   25.460125] audit: type=1400 audit(1777319339.503:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=589 comm="apparmor_parser"
[   25.460155] audit: type=1400 audit(1777319339.503:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=589 comm="apparmor_parser"
[   25.460167] audit: type=1400 audit(1777319339.503:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=589 comm="apparmor_parser"
[   25.516537] rfkill-hks rfkill-hks: using DT '/rfkill-hks/mic-hks' for '(default)' GPIO lookup
[   25.516587] of_get_named_gpiod_flags: parsed 'gpios' property of node '/rfkill-hks/mic-hks[0]' - status (0)
[   25.516623] gpio gpiochip3: Persistence not supported for GPIO 1
[   25.516637] rfkill-hks rfkill-hks: using DT '/rfkill-hks/mic-hks' for 'soft' GPIO lookup
[   25.516651] of_get_named_gpiod_flags: can't parse 'soft-gpios' property of node '/rfkill-hks/mic-hks[0]'
[   25.516664] of_get_named_gpiod_flags: can't parse 'soft-gpio' property of node '/rfkill-hks/mic-hks[0]'
[   25.516675] rfkill-hks rfkill-hks: No GPIO consumer soft found
[   25.520979] rfkill-hks rfkill-hks: using DT '/rfkill-hks/camera-hks' for '(default)' GPIO lookup
[   25.521036] of_get_named_gpiod_flags: parsed 'gpios' property of node '/rfkill-hks/camera-hks[0]' - status (0)
[   25.521053] gpio-609 (mic-hks): gpiod_request: status -16
[   25.521062] rfkill-hks rfkill-hks: nonexclusive access to GPIO for (default)
[   25.521075] rfkill-hks rfkill-hks: using DT '/rfkill-hks/camera-hks' for 'soft' GPIO lookup
[   25.521088] of_get_named_gpiod_flags: can't parse 'soft-gpios' property of node '/rfkill-hks/camera-hks[0]'
[   25.521102] of_get_named_gpiod_flags: can't parse 'soft-gpio' property of node '/rfkill-hks/camera-hks[0]'
[   25.521113] rfkill-hks rfkill-hks: No GPIO consumer soft found
[   25.586035] rfkill-hks rfkill-hks: using DT '/rfkill-hks/wlan-hks' for '(default)' GPIO lookup
[   25.586095] of_get_named_gpiod_flags: parsed 'gpios' property of node '/rfkill-hks/wlan-hks[0]' - status (0)
[   25.586129] gpio gpiochip3: Persistence not supported for GPIO 10
[   25.586146] rfkill-hks rfkill-hks: using DT '/rfkill-hks/wlan-hks' for 'soft' GPIO lookup
[   25.586166] of_get_named_gpiod_flags: parsed 'soft-gpios' property of node '/rfkill-hks/wlan-hks[0]' - status (0)
[   25.586185] gpio gpiochip2: Persistence not supported for GPIO 10
[   25.597729] rfkill-hks rfkill-hks: using DT '/rfkill-hks/wwan-hks' for '(default)' GPIO lookup
[   25.597790] of_get_named_gpiod_flags: parsed 'gpios' property of node '/rfkill-hks/wwan-hks[0]' - status (0)
[   25.597826] gpio gpiochip3: Persistence not supported for GPIO 0
[   25.597842] rfkill-hks rfkill-hks: using DT '/rfkill-hks/wwan-hks' for 'soft' GPIO lookup
[   25.597862] of_get_named_gpiod_flags: parsed 'soft-gpios' property of node '/rfkill-hks/wwan-hks[0]' - status (0)
[   25.597880] gpio gpiochip2: Persistence not supported for GPIO 18
[   25.676368] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   25.700361] Problem loading in-kernel X.509 certificate (-22)
[   25.706550] Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[   25.707957] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   25.709317] Problem loading in-kernel X.509 certificate (-22)
[   25.751392] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[   25.858420] mmc1: new high speed SDIO card at address fffd
[   26.028200] mc: Linux media interface: v0.10
[   26.053607] gnss: GNSS driver registered with major 238
[   26.075078] wm8962 2-001a: customer id 0 revision D
[   26.156871] videodev: Linux video capture interface: v2.00
[   26.211446] dw9714 3-000c: using DT '/soc@0/bus@30800000/i2c@30a50000/vcm@c' for 'powerdown' GPIO lookup
[   26.211486] of_get_named_gpiod_flags: can't parse 'powerdown-gpios' property of node '/soc@0/bus@30800000/i2c@30a50000/vcm@c[0]'
[   26.211506] of_get_named_gpiod_flags: can't parse 'powerdown-gpio' property of node '/soc@0/bus@30800000/i2c@30a50000/vcm@c[0]'
[   26.211520] dw9714 3-000c: using lookup tables for GPIO lookup
[   26.211528] dw9714 3-000c: No GPIO consumer powerdown found
[   26.219421] s5k3l6xx 3-002d: using DT '/soc@0/bus@30800000/i2c@30a50000/camera@2d' for 'rstn' GPIO lookup
[   26.219474] of_get_named_gpiod_flags: parsed 'rstn-gpios' property of node '/soc@0/bus@30800000/i2c@30a50000/camera@2d[0]' - status (0)
[   26.219504] gpio gpiochip0: Persistence not supported for GPIO 26
[   26.219532] s5k3l6xx 3-002d: probe i2c ffff0000027e6000
[   26.255765] lm3560-led 1-0053: using DT '/soc@0/bus@30800000/i2c@30a30000/flash@53' for 'enable' GPIO lookup
[   26.255818] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/soc@0/bus@30800000/i2c@30a30000/flash@53[0]' - status (0)
[   26.255848] gpio gpiochip0: Persistence not supported for GPIO 23
[   26.265671] s5k3l6xx 3-002d: model low: 0x30
[   26.266745] s5k3l6xx 3-002d: model high: 0xC6
[   26.269223] s5k3l6xx 3-002d: revision number: 0xB0
[   26.276116] hi846 2-0020: using DT '/soc@0/bus@30800000/i2c@30a40000/camera@20' for 'reset' GPIO lookup
[   26.276168] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/soc@0/bus@30800000/i2c@30a40000/camera@20[0]' - status (0)
[   26.276198] gpio gpiochip0: Persistence not supported for GPIO 25
[   26.276213] hi846 2-0020: using DT '/soc@0/bus@30800000/i2c@30a40000/camera@20' for 'shutdown' GPIO lookup
[   26.276240] of_get_named_gpiod_flags: parsed 'shutdown-gpios' property of node '/soc@0/bus@30800000/i2c@30a40000/camera@20[0]' - status (0)
[   26.276261] gpio gpiochip4: Persistence not supported for GPIO 4
[   26.282898] hi846 2-0020: chip id 08 46 using 2 mipi lanes
[   26.411355] hantro-vpu 38300000.video-codec: registered nxp,imx8mq-vpu-g1-dec as /dev/video0
[   26.414834] imx7-csi 30a90000.csi: Registered csi capture as /dev/video1
[   26.430027] debugfs: 'Capture' already exists in 'dapm'
[   26.509304] input: imx-audio-hdmi HDMI Jack as /devices/platform/sound-hdmi/sound/card0/input5
[   26.522931] asoc-simple-card sound: using DT '/sound' for 'simple-audio-card,hp-det' GPIO lookup
[   26.522985] of_get_named_gpiod_flags: parsed 'simple-audio-card,hp-det-gpios' property of node '/sound[0]' - status (0)
[   26.523017] gpio gpiochip2: Persistence not supported for GPIO 9
[   26.523114] asoc-simple-card sound: using DT '/sound' for 'simple-audio-card,mic-det' GPIO lookup
[   26.523128] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpios' property of node '/sound[0]'
[   26.523142] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound[0]'
[   26.523153] asoc-simple-card sound: using lookup tables for GPIO lookup
[   26.523160] asoc-simple-card sound: No GPIO consumer simple-audio-card,mic-det found
[   26.538306] input: WM8962 Beep Generator as /devices/platform/soc@0/30800000.bus/30a40000.i2c/i2c-2/2-001a/input/input8
[   26.539106] hantro-vpu 38310000.video-codec: registered nxp,imx8mq-vpu-g2-dec as /dev/video2
[   26.542456] gpiochip_find_base_unlocked: found new base at 672
[   26.555871] imx7-csi 30b80000.csi: Registered csi capture as /dev/video3
[   26.567501] gpio gpiochip5: (wm8962): added GPIO chardev (254:5)
[   26.567530] gpio gpiochip5: registered GPIOs 672 to 677 on wm8962
[   26.641329] input: Librem 5 Headphones as /devices/platform/sound/sound/card1/input6
[   26.641562] input: Librem 5 Headset Mic as /devices/platform/sound/sound/card1/input7
[   26.700085] asoc-simple-card sound-wwan: using DT '/sound-wwan' for 'simple-audio-card,hp-det' GPIO lookup
[   26.700121] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpios' property of node '/sound-wwan[0]'
[   26.700137] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound-wwan[0]'
[   26.700148] asoc-simple-card sound-wwan: using lookup tables for GPIO lookup
[   26.700156] asoc-simple-card sound-wwan: No GPIO consumer simple-audio-card,hp-det found
[   26.700164] asoc-simple-card sound-wwan: using DT '/sound-wwan' for 'simple-audio-card,mic-det' GPIO lookup
[   26.700176] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpios' property of node '/sound-wwan[0]'
[   26.700189] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound-wwan[0]'
[   26.700199] asoc-simple-card sound-wwan: using lookup tables for GPIO lookup
[   26.700205] asoc-simple-card sound-wwan: No GPIO consumer simple-audio-card,mic-det found
[   27.715600] Bluetooth: Core ver 2.22
[   27.715761] NET: Registered PF_BLUETOOTH protocol family
[   27.715768] Bluetooth: HCI device and connection manager initialized
[   27.715788] Bluetooth: HCI socket layer initialized
[   27.715797] Bluetooth: L2CAP socket layer initialized
[   27.715815] Bluetooth: SCO socket layer initialized
[   27.751037] configfs-gadget.g1 gadget.0: HOST MAC 5e:94:66:c4:f6:90
[   27.751064] configfs-gadget.g1 gadget.0: MAC 4a:04:94:98:05:04
[   27.841825] st-magn-i2c 1-001e: DRDY on pin INT1 specified, but sensor does not support interrupts
[   27.845493] st-magn-i2c 1-001e: interrupts active high level
[   27.920809] redpine_91x: rsi_probe: ***** 9116 Module *****
[   27.920954] redpine_91x: redpine_hal_device_init: oper_mode = 5, coex_mode = 2
[   27.922157] redpine_91x: Received Board Version Number: 10
[   27.923262] redpine_91x: rsi_load_firmware: Loading file RS9116_NLINK_WLAN_BT_IMAGE.rps
[   27.923416] RSI-SDIO WLAN mmc1:fffd:1: Direct firmware load for RS9116_NLINK_WLAN_BT_IMAGE.rps failed with error -2
[   27.923431] redpine_91x: rsi_load_firmware: Failed to open file RS9116_NLINK_WLAN_BT_IMAGE.rps
[   27.926891] redpine_91x: ***** Loaded Firmware *****
[   30.799927] hdmi-audio-codec hdmi-audio-codec.1: HDMI: Unknown ELD version 0
[   31.487268] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   31.487330] Bluetooth: BNEP socket layer initialized
[   31.830356] [drm] Connector status: 0
[   32.620678] usb 1-1.2: new high-speed USB device number 4 using xhci-hcd
[   32.715577] usb 1-1.2: New USB device found, idVendor=2020, idProduct=2060, bcdDevice= 0.00
[   32.715638] usb 1-1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[   32.715646] usb 1-1.2: Product: Qualcomm CDMA Technologies MSM
[   32.715652] usb 1-1.2: Manufacturer: Qualcomm, Incorporated
[   32.716115] usb 1-1.2: Device is not authorized for usage
[   32.843094] usb 1-1.2: authorized to connect
[   32.991187] usbcore: registered new interface driver usbserial_generic
[   32.991254] usbserial: USB Serial support registered for generic
[   33.012271] usbcore: registered new interface driver cdc_wdm
[   33.025628] usbcore: registered new interface driver option
[   33.027581] usbserial: USB Serial support registered for GSM modem (1-port)
[   33.063200] qmi_wwan 1-1.2:1.4: cdc-wdm0: USB WDM device
[   33.065471] qmi_wwan 1-1.2:1.4 wwan0: register 'qmi_wwan' at usb-xhci-hcd.4.auto-1.2, WWAN/QMI device, 02:46:40:44:6d:86
[   33.066836] usbcore: registered new interface driver qmi_wwan
[   33.067628] option 1-1.2:1.0: GSM modem (1-port) converter detected
[   33.068225] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[   33.071036] option 1-1.2:1.1: GSM modem (1-port) converter detected
[   33.072890] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[   33.073782] option 1-1.2:1.2: GSM modem (1-port) converter detected
[   33.074438] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[   33.074736] option 1-1.2:1.3: GSM modem (1-port) converter detected
[   33.075084] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[   33.120978] redpine_91x: ================================================
[   33.121003] redpine_91x: ================ RSI Version Info ==============
[   33.121008] redpine_91x: ================================================
[   33.121012] redpine_91x: FW Version	: 0.2.0.16
[   33.121019] redpine_91x: RSI FW Version	:  1610.0.2.0.0024
[   33.121025] redpine_91x: Driver Version	: RS9116.NB0.NL.GNU.LNX.OSD.2.0.0.0024
[   33.121031] redpine_91x: Operating mode	: 5 [Wi-Fi STA + BT EDR]
[   33.121036] redpine_91x: Firmware file	: RS9116_NLINK_WLAN_BT_IMAGE.rps
[   33.121041] redpine_91x: ================================================
[   33.127511] redpine_91x: rsi_send_bt_reg_params: Sending BT reg frame
[   33.127538] BT REG PARAMS: (length = 21)
[   33.127543] 05 60 00 00 00 00 00 00 00 00 00 00 00 00 55 00 
[   33.127594] 00 00 01 1e 02 
[   33.127961] redpine_91x:  HCI module init done...
[   33.128241] redpine_91x: RSI HCI DEVICE "hci0" open
[   33.251959] redpine_91x: RSI `hci0' flush
[   33.251989] redpine_91x: RSI HCI DEVICE "hci0" closed
[   33.251994] redpine_91x: rsi_hci_close: device `hci0' not running
[   33.254701] Bluetooth: MGMT ver 1.23
[   33.283252] Bluetooth: RFCOMM TTY layer initialized
[   33.283290] Bluetooth: RFCOMM socket layer initialized
[   33.283314] Bluetooth: RFCOMM ver 1.11
[   33.315381] redpine_91x: <==== Interface UP ====>
[   33.315531] redpine_91x: rsi_mac80211_bss_info_changed: Change of ERP INFO: 0
[   33.315557] redpine_91x: rsi_mac80211_bss_info_changed: Sending vap updates....
[   33.344331] redpine_91x: <==== Interface DOWN ====>
[   33.350305] redpine_91x: <==== Interface UP ====>
[   33.351452] redpine_91x: rsi_mac80211_bss_info_changed: Change of ERP INFO: 0
[   33.351476] redpine_91x: rsi_mac80211_bss_info_changed: Sending vap updates....
[   37.288890] redpine_91x: <==== Interface DOWN ====>
[   37.290291] redpine_91x: <==== Interface UP ====>
[   37.290346] redpine_91x: rsi_mac80211_bss_info_changed: Change of ERP INFO: 0
[   37.290356] redpine_91x: rsi_mac80211_bss_info_changed: Sending vap updates....
[   37.357210] wlan0: authenticate with c4:46:19:1f:f5:f5 (local address=88:da:1a:7c:d3:7c)
[   37.357234] wlan0: send auth to c4:46:19:1f:f5:f5 (try 1/3)
[   37.360392] wlan0: authenticated
[   37.363997] wlan0: associate with c4:46:19:1f:f5:f5 (try 1/3)
[   37.367340] wlan0: RX AssocResp from c4:46:19:1f:f5:f5 (capab=0x431 status=0 aid=3)
[   37.368455] wlan0: associated
[   37.386302] redpine_91x: EAPOL 4 confirm
[   38.771804] rtc-m41t80 0-0068: OF bit is still set, kickstarting clock.
[  132.099318] edt_ft5x06 2-0038: Unable to fetch data, error: -6
[  231.813174] thermal thermal_zone3: Unable to get temperature, disabling!
[ 1100.014279] edt_ft5x06 2-0038: Unable to fetch data, error: -6
[ 1119.566458] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 1119.566960] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 1119.575766] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 1119.575932] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 1119.701818] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 1119.702324] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 1119.885801] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 1119.886481] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 1120.055973] bq25890-charger 3-006a: Upstream supply changed: 1.
[ 1120.056640] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 1136.096589] edt_ft5x06 2-0038: Unable to fetch data, error: -6
[ 1832.591237] edt_ft5x06 2-0038: Unable to fetch data, error: -6
[ 2554.402502] edt_ft5x06 2-0038: Unable to fetch data, error: -6
[ 4111.349811] edt_ft5x06 2-0038: Unable to fetch data, error: -6
[ 5157.508927] bq25890-charger 3-006a: Upstream supply changed: 0.
[ 5157.508969] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 5157.516148] tps6598x 0-003f: The interrupt is masked , how did it fire ?? f0046dffbfeffff
[ 5157.516416] bq25890-charger 3-006a: Upstream supply changed: 0.
[ 5157.516445] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 5157.521383] bq25890-charger 3-006a: Upstream supply changed: 0.
[ 5157.521415] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 5157.623801] bq25890-charger 3-006a: Upstream supply changed: 0.
[ 5157.623833] bq25890-charger 3-006a: Disabling OTG_EN pin
[ 5172.405675] edt_ft5x06 2-0038: Unable to fetch data, error: -6
purism@pureos:~$ 

I also just tried sudo dmesg -w, but nothing happened in the output when I inserted the USB drive.

Unplug the drive, do:

echo 1 | sudo tee /sys/kernel/debug/tracing/events/tps6598x/enable
sudo cat /sys/kernel/debug/tracing/trace_pipe

then insert the drive and post the result. If nothing shows up at first, try the other orientation.

No output at all.

Tried with:

  • 2 native USB-C drives (exFAT and ext4), 1 of which is a brand new SanDisk
  • 2 USB-A drives with -C adapter (FAT and ext4)

And both orientations for each.

Do you have a USB-C hub? Does it work with one of those?

Plugging into hub:

purism@pureos:~$ echo 1 | sudo tee /sys/kernel/debug/tracing/events/tps6598x/enable
1
purism@pureos:~$ sudo cat /sys/kernel/debug/tracing/trace_pipe
   irq/39-0-003f-189     [000] .....  6826.378562: tps6598x_irq: event1=PLUG_EVENT|DATA_STATUS_UPDATE, event2=
   irq/39-0-003f-189     [000] .....  6826.381168: tps6598x_status: conn: conn-no-Ra, pp_5v0: off, pp_hv: off, pp_ext: off, pp_cable: off, pwr-src: vin-3p3, vbus: fault, usb-host: no, legacy: no, flags: PLUG_PRESENT|PORTROLE|DATAROLE
   irq/39-0-003f-189     [000] .....  6826.384013: tps6598x_data_status: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION
   irq/39-0-003f-189     [000] .....  6826.437810: tps6598x_irq: event1=PP_SWITCH_CHANGED|STATUS_UPDATE, event2=STATUS_UPDATE
   irq/39-0-003f-189     [000] .....  6826.441790: tps6598x_status: conn: conn-no-Ra, pp_5v0: out, pp_hv: off, pp_ext: off, pp_cable: off, pwr-src: vin-3p3, vbus: vSafe5V, usb-host: no, legacy: no, flags: PLUG_PRESENT|PORTROLE|DATAROLE
   irq/39-0-003f-189     [000] .....  6826.442730: tps6598x_power_status: conn: 1, pwr-role: source, typec: usb, bc: sdp
   irq/39-0-003f-189     [000] .....  6826.443591: tps6598x_data_status: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION
   irq/39-0-003f-189     [000] .....  6826.540632: tps6598x_irq: event1=POWER_STATUS_UPDATE|PD_STATUS_UPDATE, event2=
   irq/39-0-003f-189     [000] .....  6826.543804: tps6598x_status: conn: conn-no-Ra, pp_5v0: out, pp_hv: off, pp_ext: off, pp_cable: off, pwr-src: vin-3p3, vbus: vSafe5V, usb-host: no, legacy: no, flags: PLUG_PRESENT|PORTROLE|DATAROLE
   irq/39-0-003f-189     [000] .....  6826.544503: tps6598x_power_status: conn: 1, pwr-role: source, typec: usb, bc: sdp
   irq/39-0-003f-189     [000] .....  6835.909066: tps6598x_irq: event1=STATUS_UPDATE, event2=STATUS_UPDATE
   irq/39-0-003f-189     [000] .....  6835.911307: tps6598x_status: conn: conn-no-Ra, pp_5v0: out, pp_hv: off, pp_ext: off, pp_cable: off, pwr-src: vin-3p3, vbus: vSafe5V, usb-host: no, legacy: source, flags: PLUG_PRESENT|PORTROLE|DATAROLE
   irq/39-0-003f-189     [000] .....  6835.912034: tps6598x_data_status: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION

Then connecting a USB drive on the hub:

no output

lsusb while the hub is connected?

purism@pureos:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 2020:2060 Qualcomm, Incorporated Qualcomm CDMA Technologies MSM
Bus 001 Device 003: ID 0424:4041 Microchip Technology, Inc. (formerly SMSC) Hub and media card controller
Bus 001 Device 002: ID 0424:2640 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 003 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
purism@pureos:~$ 

lsusb with hub and USB drive attached:

purism@pureos:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 2020:2060 Qualcomm, Incorporated Qualcomm CDMA Technologies MSM
Bus 001 Device 003: ID 0424:4041 Microchip Technology, Inc. (formerly SMSC) Hub and media card controller
Bus 001 Device 002: ID 0424:2640 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 13fe:6300 Phison Electronics Corp. SP Mobile C31 (64GB)
Bus 003 Device 003: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 003 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
purism@pureos:~$ 

“Phison” is the USB drive.

OK, so it works with a PD hub, but doesn’t seem to with a dumb adapter.

I need to find an adapter that’s surely laying somewhere in this mess on my desk and check.

Thanks. The thumbdrive I’m testing with at the moment doesn’t require an A-to-C adapter. (I’ve tried both in the L5’s port.)

And actually, this hub is connected with an A-to-C adapter.

And OK, wow… Using this hub with a USB drive allows the drive to mount on the L5.

How can a USB-C hub be connected with an A-to-C adapter to the phone?

I didn’t have one with native USB-C handy. (And my mind carelessly skipped over your USB-C stipulation.)

Anyway - the only thing that could have been caught in the trace_pipe trace was plugging the adapter in, regardless of what’s connected to the other end of the adapter. This output means that the TPS65982 can detect the peripherals correctly and the phone powers the port and switches to USB host mode when that’s detected. If your USB-C thumb drive doesn’t trigger this detection, it may be broken (not advertising itself over the CC line).

Both of my native USB-C drives, one of which is brand new, fail to be detected.

They work on my computers, too. They have USB-C ends as well as USB-A ends. And one of my laptops has a native USB-C port, where they work as well.

Plug the adapter alone, see if it’s detected in trace_pipe and only then plug the USB-A end.

Adapter not detected.
Adapter with hub attached detected.

…and by “detected”, you mean producing events in trace_pipe on connection, right?

What kind of adapter is that exactly? Can you show a photo?

What happens if you plug an empty adapter first and then plug the hub?

Yes.

Syntech brand (B07CVX3516 on Amazon)

That’s exactly what I did.