Okay so i got all of the drivers installed but its still not detecting the usb modem, at all. I did a factory reset just to be sure and it still didn't work. So i may need some assistance. It doesnt show up the modem. Im using an em120r-gl as a starter modem on a usb3.0 adapter. But again, i tried that ssh stuff but nothing shows for it.
Is it detected else where, say, in a PC ?
No. Im not sure.
Please show the output of cat /sys/kernel/debug/usb/devices
No pictures, please.
It shows up as not found. I dont know if i have to do it as an Rndis since im using the usb as the only wwan.
Just copy/paste the command output.
Ate you sure the usb adapter you bought is wired for m.2 usb ?
Positive. I set everything up as directed. And I'll send the command prompt.
<root@OpenWrt:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.146 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r19803-9a599fee93) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Fri Oct 14 22:44:41 2022
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Linksys EA6350v3
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x000000008fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x0000000087dfffff]
[ 0.000000] node 0: [mem 0x0000000087e00000-0x0000000087ffffff]
[ 0.000000] node 0: [mem 0x0000000088000000-0x000000008fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fffffff]
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] Normal zone: 576 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65536 pages, LIFO batch:15
[ 0.000000] percpu: Embedded 15 pages/cpu s30860 r8192 d22388 u61440
[ 0.000000] pcpu-alloc: s30860 r8192 d22388 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: init=/sbin/init rootfstype=squashfs ubi.mtd=11,2048 ubi.block=0,0 root=/dev/ubiblock0_0 rootwait ro
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 247168K/262144K available (6446K kernel code, 608K rwdata, 952K rodata, 1024K init, 246K bss, 14976K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 48.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[ 0.000008] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[ 0.000025] Switching to timer-based delay loop, resolution 20ns
[ 0.000330] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[ 0.000357] pid_max: default: 32768 minimum: 301
[ 0.000537] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000557] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001590] CPU: Testing write buffer coherency: ok
[ 0.001975] qcom_scm: convention: smc legacy
[ 0.002927] Setting up static identity map for 0x80300000 - 0x8030003c
[ 0.003090] rcu: Hierarchical SRCU implementation.
[ 0.003356] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.003727] smp: Bringing up secondary CPUs ...
[ 0.007292] smp: Brought up 1 node, 4 CPUs
[ 0.007317] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[ 0.007329] CPU: All CPU(s) started in SVC mode.
[ 0.012228] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.012396] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.012423] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.012678] pinctrl core: initialized pinctrl subsystem
[ 0.014462] NET: Registered protocol family 16
[ 0.014866] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.015959] thermal_sys: Registered thermal governor 'step_wise'
[ 0.016401] cpuidle: using governor ladder
[ 0.016459] cpuidle: using governor menu
[ 0.041948] cryptd: max_cpu_qlen set to 1000
[ 0.046228] usbcore: registered new interface driver usbfs
[ 0.046298] usbcore: registered new interface driver hub
[ 0.046356] usbcore: registered new device driver usb
[ 0.046411] pps_core: LinuxPPS API ver. 1 registered
[ 0.046423] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.046451] PTP clock support registered
[ 0.048402] clocksource: Switched to clocksource arch_sys_counter
[ 0.049371] NET: Registered protocol family 2
[ 0.049625] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.050651] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.050721] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.050763] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.050814] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.050945] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.050990] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.051281] NET: Registered protocol family 1
[ 0.051330] PCI: CLS 0 bytes, default 64
[ 0.053843] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 0.058244] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.058270] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.190348] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.193778] bam-dma-engine 8e04000.dma: num-channels unspecified in dt
[ 0.193804] bam-dma-engine 8e04000.dma: num-ees unspecified in dt
[ 0.194475] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[ 0.194575] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[ 0.194668] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[ 0.194767] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[ 0.195083] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.196923] msm_serial 78af000.serial: msm_serial: detected port #0
[ 0.196971] msm_serial 78af000.serial: uartclk = 1843200
[ 0.197028] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 33, base_baud = 115200) is a MSM
[ 0.197059] msm_serial: console setup on port #0
[ 0.746394] printk: console [ttyMSM0] enabled
[ 0.751563] msm_serial: driver initialized
[ 0.760565] loop: module loaded
[ 0.761632] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[ 0.763765] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[ 0.769935] 10 fixed-partitions partitions found on MTD device spi0.0
[ 0.774805] OF: Bad cell count for /soc/spi@78b5000/flash@0/partitions
[ 0.781151] OF: Bad cell count for /soc/spi@78b5000/flash@0/partitions
[ 0.788054] Creating 10 MTD partitions on "spi0.0":
[ 0.794068] 0x000000000000-0x000000040000 : "SBL1"
[ 0.799425] 0x000000040000-0x000000060000 : "MIBIB"
[ 0.804275] 0x000000060000-0x0000000c0000 : "QSEE"
[ 0.808991] 0x0000000c0000-0x0000000d0000 : "CDT"
[ 0.813786] 0x0000000d0000-0x0000000e0000 : "APPSBLENV"
[ 0.818617] 0x0000000e0000-0x000000160000 : "APPSBL"
[ 0.823585] 0x000000160000-0x000000170000 : "ART"
[ 0.828901] 0x000000170000-0x000000190000 : "u_env"
[ 0.833400] 0x000000190000-0x0000001b0000 : "s_env"
[ 0.838060] 0x0000001b0000-0x0000001c0000 : "devinfo"
[ 0.847252] spi-nand spi0.1: Winbond SPI NAND was found.
[ 0.847685] spi-nand spi0.1: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 0.853338] 6 fixed-partitions partitions found on MTD device spi0.1
[ 0.861163] Creating 6 MTD partitions on "spi0.1":
[ 0.867474] 0x000000000000-0x000002800000 : "kernel"
[ 0.978317] 0x000000300000-0x000002800000 : "rootfs"
[ 0.979150] mtd: device 11 (rootfs) set to be root filesystem
[ 0.983533] mtdsplit: no squashfs found in "rootfs"
[ 0.988016] 0x000002800000-0x000005000000 : "alt_kernel"
[ 1.098850] 0x000002b00000-0x000005000000 : "alt_rootfs"
[ 1.099645] 0x000005000000-0x000005100000 : "sysdiag"
[ 1.106418] 0x000005100000-0x000008000000 : "syscfg"
[ 1.268827] ESS reset ok!
[ 1.343060] ESS reset ok!
[ 2.103619] i2c /dev entries driver
[ 2.105461] sdhci: Secure Digital Host Controller Interface driver
[ 2.105923] sdhci: Copyright(c) Pierre Ossman
[ 2.112264] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.120401] NET: Registered protocol family 10
[ 2.123696] Segment Routing with IPv6
[ 2.126664] NET: Registered protocol family 17
[ 2.130429] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.134669] 8021q: 802.1Q VLAN Support v1.8
[ 2.147909] Registering SWP/SWPB emulation handler
[ 2.162427] ubi0: attaching mtd11
[ 2.805204] random: crng init done
[ 3.019133] ubi0: scanning is finished
[ 3.055174] ubi0: attached mtd11 (name "rootfs", size 37 MiB)
[ 3.055223] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.060007] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.066689] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.073585] ubi0: good PEBs: 296, bad PEBs: 0, corrupted PEBs: 0
[ 3.080341] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 3.086569] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1665787481
[ 3.093629] ubi0: available PEBs: 0, total reserved PEBs: 296, PEBs reserved for bad PEB handling: 20
[ 3.102968] ubi0: background thread "ubi_bgt0d" started, PID 117
[ 3.103925] block ubiblock0_0: created from ubi0:0(rootfs)
[ 3.119534] UBI error: block: can't add 'rootfs' volume, err=-17
[ 3.144646] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 3.147405] Freeing unused kernel memory: 1024K
[ 3.159387] Run /sbin/init as init process
[ 3.159450] with arguments:
[ 3.159471] /sbin/init
[ 3.159487] with environment:
[ 3.159505] HOME=/
[ 3.159522] TERM=linux
[ 4.194874] init: Console is alive
[ 4.195200] init: - watchdog -
[ 5.946031] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.135103] genirq: irq_chip msmgpio did not update eff. affinity mask of irq 100
[ 6.381123] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.381308] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 6.386082] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000002002010010
[ 6.393204] xhci-hcd xhci-hcd.0.auto: irq 102, io mem 0x08a00000
[ 6.405948] hub 1-0:1.0: USB hub found
[ 6.408809] hub 1-0:1.0: 1 port detected
[ 6.412621] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.416369] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 6.421714] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 6.429341] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.436380] hub 2-0:1.0: USB hub found
[ 6.444176] hub 2-0:1.0: 1 port detected
[ 6.448090] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.451771] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 6.457227] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x0000002002010010
[ 6.464647] xhci-hcd xhci-hcd.1.auto: irq 103, io mem 0x06000000
[ 6.475722] hub 3-0:1.0: USB hub found
[ 6.480260] hub 3-0:1.0: 1 port detected
[ 6.484042] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.487809] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 6.493156] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 6.500881] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.508055] hub 4-0:1.0: USB hub found
[ 6.515560] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 6.521139] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.529537] init: - preinit -
[ 8.732921] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 13.169015] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 13.169256] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 233
[ 13.351668] UBIFS (ubi0:1): recovery needed
[ 13.772231] UBIFS (ubi0:1): recovery completed
[ 13.772451] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 13.775596] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 13.783554] UBIFS (ubi0:1): FS size: 29204480 bytes (27 MiB, 230 LEBs), journal size 1523712 bytes (1 MiB, 12 LEBs)
[ 13.793414] UBIFS (ubi0:1): reserved for root: 1379399 bytes (1347 KiB)
[ 13.803675] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 4C43F447-D7CD-46E9-AED4-D978DD9C4643, small LPT model
[ 13.859019] mount_root: switching to ubifs overlay
[ 13.909478] urandom-seed: Seeding with /etc/urandom.seed
[ 14.202930] procd: - early -
[ 14.203213] procd: - watchdog -
[ 14.992976] procd: - watchdog -
[ 15.218007] procd: - ubus -
[ 15.610102] procd: - init -
[ 16.892120] urngd: v1.0.2 started.
[ 17.274058] kmodloader: loading kernel modules from /etc/modules.d/*
[ 17.559296] usbcore: registered new interface driver cdc_wdm
[ 17.560856] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[ 17.564078] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[ 17.610400] hso: drivers/net/usb/hso.c: Option Wireless
[ 17.610644] usbcore: registered new interface driver hso
[ 17.695448] usbcore: registered new interface driver usbserial_generic
[ 17.695550] usbserial: USB Serial support registered for generic
[ 17.713146] usbcore: registered new interface driver ax88179_178a
[ 17.714722] usbcore: registered new interface driver cdc_ether
[ 17.737043] usbcore: registered new interface driver cdc_ncm
[ 17.798555] PPP generic driver version 2.4.2
[ 17.799858] NET: Registered protocol family 24
[ 17.820269] usbcore: registered new interface driver qmi_wwan
[ 20.637574] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[ 20.637630] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 20.649570] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[ 20.706553] ath10k_ahb a000000.wifi: Loading BDF type 0
[ 20.753729] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:16 crc32 e2dfaa91
[ 22.046980] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
[ 22.047042] ath10k_ahb a000000.wifi: msdu-desc: 2500 skid: 32
[ 22.082959] ath10k_ahb a000000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
[ 22.083951] ath10k_ahb a000000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[ 22.209081] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1
[ 22.367286] ath: EEPROM regdomain: 0x834b
[ 22.367301] ath: EEPROM indicates we should expect a country code
[ 22.367313] ath: doing EEPROM country->regdmn map search
[ 22.367322] ath: country maps to regdmn code: 0x3a
[ 22.367330] ath: Country alpha2 being used: US
[ 22.367335] ath: Regpair used: 0x3a
[ 24.213560] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[ 24.213635] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 24.226980] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[ 24.282635] ath10k_ahb a800000.wifi: Loading BDF type 0
[ 24.286777] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:17 crc32 e2dfaa91
[ 25.579923] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
[ 25.579980] ath10k_ahb a800000.wifi: msdu-desc: 2500 skid: 32
[ 25.627331] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
[ 25.629003] ath10k_ahb a800000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[ 25.766498] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1
[ 25.926944] ath: EEPROM regdomain: 0x834b
[ 25.926957] ath: EEPROM indicates we should expect a country code
[ 25.926969] ath: doing EEPROM country->regdmn map search
[ 25.926978] ath: country maps to regdmn code: 0x3a
[ 25.926986] ath: Country alpha2 being used: US
[ 25.926991] ath: Regpair used: 0x3a
[ 25.932728] usbcore: registered new interface driver cdc_mbim
[ 25.951389] usbcore: registered new interface driver option
[ 25.951568] usbserial: USB Serial support registered for GSM modem (1-port)
[ 25.959553] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 35.514065] br-lan: port 1(eth0) entered blocking state
[ 35.514117] br-lan: port 1(eth0) entered disabled state
[ 35.518685] device eth0 entered promiscuous mode
[ 35.640609] ess_edma c080000.edma eth1: Link is Down
[ 36.568546] br-lan: port 1(eth0) entered blocking state
[ 36.568618] br-lan: port 1(eth0) entered forwarding state
[ 36.574243] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 38.784150] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
[ 38.784209] ath10k_ahb a800000.wifi: msdu-desc: 2500 skid: 32
[ 38.831348] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
[ 38.832323] ath10k_ahb a800000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[ 39.151675] ath10k_ahb a800000.wifi: rts threshold -1
[ 39.151918] ath10k_ahb a800000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[ 39.165680] br-lan: port 2(wlan1) entered blocking state
[ 39.166700] br-lan: port 2(wlan1) entered disabled state
[ 39.173066] device wlan1 entered promiscuous mode
[ 39.345806] ath10k_ahb a800000.wifi: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
[ 40.700694] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
[ 40.700750] ath10k_ahb a000000.wifi: msdu-desc: 2500 skid: 32
[ 40.735990] ath10k_ahb a000000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
[ 40.738860] ath10k_ahb a000000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[ 41.096809] ath10k_ahb a000000.wifi: rts threshold -1
[ 41.098432] ath10k_ahb a000000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[ 41.122402] br-lan: port 3(wlan0-1) entered blocking state
[ 41.122462] br-lan: port 3(wlan0-1) entered disabled state
[ 41.127303] device wlan0-1 entered promiscuous mode
[ 42.543795] ath10k_ahb a000000.wifi: rts threshold -1
[ 43.582230] wlan0: authenticate with f4:63:49:c3:30:6f
[ 43.791245] wlan0: send auth to f4:63:49:c3:30:6f (try 1/3)
[ 43.793882] ath10k_ahb a000000.wifi: Invalid peer id 0 or peer stats buffer, peer: 6d8abeb1 sta: 00000000
[ 43.795747] wlan0: send auth to f4:63:49:c3:30:6f (try 2/3)
[ 43.808095] wlan0: send auth to f4:63:49:c3:30:6f (try 3/3)
[ 43.813580] wlan0: authentication with f4:63:49:c3:30:6f timed out
[ 43.868697] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 2
[ 43.869665] ath10k_ahb a000000.wifi: mac flush null vif, drop 0 queues 0xffff
[ 44.652645] wlan0: authenticate with f4:63:49:c3:30:6f
[ 44.660036] wlan0: send auth to f4:63:49:c3:30:6f (try 1/3)
[ 44.662684] wlan0: send auth to f4:63:49:c3:30:6f (try 2/3)
[ 44.667011] wlan0: send auth to f4:63:49:c3:30:6f (try 3/3)
[ 44.673030] wlan0: authentication with f4:63:49:c3:30:6f timed out
[ 44.720070] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 2
[ 44.721993] ath10k_ahb a000000.wifi: mac flush null vif, drop 0 queues 0xffff
[ 45.908396] wlan0: authenticate with f4:63:49:c3:30:6f
[ 45.916367] wlan0: send auth to f4:63:49:c3:30:6f (try 1/3)
[ 45.919378] wlan0: send auth to f4:63:49:c3:30:6f (try 2/3)
[ 45.923405] wlan0: send auth to f4:63:49:c3:30:6f (try 3/3)
[ 45.930989] wlan0: authentication with f4:63:49:c3:30:6f timed out
[ 46.009842] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 2
[ 46.015669] ath10k_ahb a000000.wifi: mac flush null vif, drop 0 queues 0xffff
[ 47.891588] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 47.894408] br-lan: port 2(wlan1) entered blocking state
[ 47.897330] br-lan: port 2(wlan1) entered forwarding state
[ 51.052000] wlan0: authenticate with f4:63:49:c3:30:6f
[ 51.059672] wlan0: send auth to f4:63:49:c3:30:6f (try 1/3)
[ 51.063447] wlan0: send auth to f4:63:49:c3:30:6f (try 2/3)
[ 51.067221] wlan0: send auth to f4:63:49:c3:30:6f (try 3/3)
[ 51.072477] wlan0: authentication with f4:63:49:c3:30:6f timed out
[ 51.119506] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 2
[ 51.130050] ath10k_ahb a000000.wifi: mac flush null vif, drop 0 queues 0xffff
[ 62.465626] ath10k_ahb a000000.wifi: mac-vif-chan had error in htt_rx_h_vdev_channel, peer-id: 0 vdev-id: 0 peer-addr: 62:38:e0:8c:2d:3b.
[ 62.502341] wlan0: authenticate with f4:63:49:c3:30:6f
[ 62.510038] wlan0: send auth to f4:63:49:c3:30:6f (try 1/3)
[ 62.515211] wlan0: send auth to f4:63:49:c3:30:6f (try 2/3)
[ 62.520569] wlan0: send auth to f4:63:49:c3:30:6f (try 3/3)
[ 62.523336] wlan0: authentication with f4:63:49:c3:30:6f timed out
[ 62.608768] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 2
[ 62.610493] ath10k_ahb a000000.wifi: mac flush null vif, drop 0 queues 0xffff
[ 93.121925] wlan0: authenticate with f4:63:49:c3:30:6f
[ 93.129164] wlan0: send auth to f4:63:49:c3:30:6f (try 1/3)
[ 93.131916] wlan0: send auth to f4:63:49:c3:30:6f (try 2/3)
[ 93.138005] wlan0: send auth to f4:63:49:c3:30:6f (try 3/3)
[ 93.142265] wlan0: authentication with f4:63:49:c3:30:6f timed out
[ 93.201206] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 2
[ 93.209807] ath10k_ahb a000000.wifi: mac flush null vif, drop 0 queues 0xffff
[ 107.988853] device wlan0-1 left promiscuous mode
[ 107.989079] br-lan: port 3(wlan0-1) entered disabled state
[ 108.109270] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 0
[ 108.109345] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 0
[ 110.812207] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
[ 110.812263] ath10k_ahb a000000.wifi: msdu-desc: 2500 skid: 32
[ 110.848185] ath10k_ahb a000000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
[ 110.852274] ath10k_ahb a000000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[ 111.165075] ath10k_ahb a000000.wifi: rts threshold -1
[ 111.167630] ath10k_ahb a000000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[ 111.190068] br-lan: port 3(wlan0-1) entered blocking state
[ 111.190120] br-lan: port 3(wlan0-1) entered disabled state
[ 111.194941] device wlan0-1 entered promiscuous mode
[ 112.534978] ath10k_ahb a000000.wifi: rts threshold -1
[ 114.526358] wlan0: authenticate with f4:63:49:c3:30:6f
[ 114.738963] wlan0: send auth to f4:63:49:c3:30:6f (try 1/3)
[ 114.744916] wlan0: send auth to f4:63:49:c3:30:6f (try 2/3)
[ 114.749883] wlan0: send auth to f4:63:49:c3:30:6f (try 3/3)
[ 114.756928] wlan0: authenticated
[ 114.758723] wlan0: associate with f4:63:49:c3:30:6f (try 1/3)
[ 114.779522] wlan0: associate with f4:63:49:c3:30:6f (try 2/3)
[ 114.795957] wlan0: associate with f4:63:49:c3:30:6f (try 3/3)
[ 114.831574] wlan0: RX AssocResp from f4:63:49:c3:30:6f (capab=0x1431 status=0 aid=4)
[ 114.833900] ath10k_ahb a000000.wifi: pdev param 0 not supported by firmware
[ 114.838576] ath10k_ahb a000000.wifi: failed to enable peer stats info: -95
[ 114.845399] wlan0: associated
[ 116.012719] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 116.210817] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[ 116.213166] br-lan: port 3(wlan0-1) entered blocking state
[ 116.216554] br-lan: port 3(wlan0-1) entered forwarding state
[ 119.910369] wlan0: disassociated from f4:63:49:c3:30:6f (Reason: 2=PREV_AUTH_NOT_VALID)
[ 120.069318] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 2
[ 120.069464] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 2
[ 120.145693] ath10k_ahb a000000.wifi: mac flush null vif, drop 0 queues 0xffff
[ 120.913273] wlan0: authenticate with f4:63:49:c3:30:6f
[ 120.920697] wlan0: send auth to f4:63:49:c3:30:6f (try 1/3)
[ 120.923997] wlan0: authenticated
[ 120.928655] wlan0: associate with f4:63:49:c3:30:6f (try 1/3)
[ 120.945949] wlan0: RX AssocResp from f4:63:49:c3:30:6f (capab=0x1431 status=0 aid=5)
[ 120.947198] ath10k_ahb a000000.wifi: pdev param 0 not supported by firmware
[ 120.953661] ath10k_ahb a000000.wifi: failed to enable peer stats info: -95
[ 120.960066] wlan0: associated
[ 120.967647] br-lan: port 3(wlan0-1) entered disabled state
[ 122.270765] br-lan: port 3(wlan0-1) entered blocking state
[ 122.270824] br-lan: port 3(wlan0-1) entered forwarding state>
this is the cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.10
S: Manufacturer=Linux 5.10.146 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.10
S: Manufacturer=Linux 5.10.146 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.10
S: Manufacturer=Linux 5.10.146 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 0
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.10
S: Manufacturer=Linux 5.10.146 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
root@OpenWrt:~#
Technically you have no USB device(s) attached.
Assuming that both USB port and USB-M.2 adapter are good, there is a possibility that the modem you have is in PCI-only mode as I mentioned here: Lenovo branded EM160R-GL not detected in any way - #5 by AndrewZ