19.07.1 ASUS N13U B1, USB not working

Hello

I just installed Openwrt 19.07.1 and noticed that the USB port is not working at all. It was fully working in 18.06.1 before. All the necessary drivers are installed but it just won't detect any device that is plugged in.

root@OpenSST:~# uname -a
Linux OpenSST 4.14.167 #0 Wed Jan 29 16:05:35 2020 mips GNU/Linux

root@OpenSST:~# opkg list-installed | grep usb
kmod-usb-core - 4.14.167-1
kmod-usb-dwc2 - 4.14.167-1
kmod-usb-ehci - 4.14.167-1
kmod-usb-net - 4.14.167-1
kmod-usb-net-cdc-ether - 4.14.167-1
kmod-usb-net-cdc-ncm - 4.14.167-1
kmod-usb-net-huawei-cdc-ncm - 4.14.167-1
kmod-usb-serial - 4.14.167-1
kmod-usb-serial-option - 4.14.167-1
kmod-usb-serial-wwan - 4.14.167-1
kmod-usb-storage - 4.14.167-1
kmod-usb-wdm - 4.14.167-1
kmod-usb2 - 4.14.167-1
kmod-usb3 - 4.14.167-1
libusb-1.0-0 - 1.0.22-2
libusb-compat4 - 0.1.5-2
usb-modeswitch - 2017-12-19-f40f84c2-2
usbutils - 007-10

root@OpenSST:~# lsmod | grep usb
mii 4672 1 usbnet
nls_base 4736 1 usbcore
scsi_mod 81040 2 usb_storage,sd_mod
usb_common 2208 2 dwc2,usbcore
usb_storage 39456 0
usb_wwan 4160 1 option
usbcore 117392 14 xhci_plat_hcd,xhci_hcd,ehci_platform,ehci_hcd,usb_storage,option,usb_wwan,huawei_cdc_ncm,cdc_ncm,cdc_ether,usbserial,usbnet,cdc_wdm,dwc2
usbnet 15728 3 huawei_cdc_ncm,cdc_ncm,cdc_ether
usbserial 17008 2 option,usb_wwan

root@OpenSST:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Furthermore i found this thread [How-To] disable unused USB ports to reduce router power consumption

root@OpenSST:~# hub-ctrl -v
Hub #0 at 001:001
INFO: ganged switching.
WARN: Port indicators are NOT supported.
Hub Port Status:
Port 1: 0000.0000

0000.0000

The output should be this if it was on.
0000.0100

According to the thread above, my router's USB port is turned off, which explains why nothing is being detected even though the drivers are installed.

So any help would be appreciated.

Please send output of dmesg command for more details
if you found block device (like sda1 or sdb1) under /dev/ folder try to mount it
format your usb storage as fat32 filesystem then install kmod-fs-vfat after that create mount point folder and mount usb

check for usb drive :

root@MikRB-WRT2011:~# dmesg 

you should find block device name (sda or ...)

install kmod-fs-vfat :

root@MikRB-WRT2011:~# opkg update
root@MikRB-WRT2011:~# opkg install kmod-fs-vfat

create mount point folder :

root@MikRB-WRT2011:~# mkdir /root/usb/

mount usb drive :

root@MikRB-WRT2011:~# mount /dev/sda1 /root/usb/

note that sda1 could be something else like : sda2 or ... check /dev/ directory

root@OpenSST:~# dmesg
[    0.000000] Linux version 4.14.167 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10911-c155900f66)) #0 Wed Jan 29 16:05:35 2020
[    0.000000] SoC Type: Ralink RT3052 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is Asus RT-N13U
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 803d14e0, node_mem_map 81000040
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from 0x803d46ec with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0004242e
[    0.000000] Readback ErrCtl register=0004242e
[    0.000000] Memory: 59564K/65536K available (3312K kernel code, 168K rwdata, 432K rodata, 1200K init, 199K bss, 5972K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 384MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9954481493 ns
[    0.000014] sched_clock: 32 bits at 192MHz, resolution 5ns, wraps every 11184811005ns
[    0.015705] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.108112] pid_max: default: 32768 minimum: 301
[    0.117649] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.130764] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.151690] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.171251] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.183515] pinctrl core: initialized pinctrl subsystem
[    0.195916] NET: Registered protocol family 16
[    0.242232] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.253341] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.272792] clocksource: Switched to clocksource MIPS
[    0.284522] NET: Registered protocol family 2
[    0.294677] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.308544] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.321168] TCP: Hash tables configured (established 1024 bind 1024)
[    0.334053] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.345658] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.358499] NET: Registered protocol family 1
[    0.371947] rt-timer 10000100.timer: maximum frequency is 3906Hz
[    0.385225] Crashlog allocated RAM at address 0x3f00000
[    0.398897] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.421284] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.432864] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.473628] io scheduler noop registered
[    0.481303] io scheduler deadline registered (default)
[    0.492411] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.509826] console [ttyS0] disabled
[    0.516960] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 8000000) is a Palmchip BK-3103
[    0.536698] console [ttyS0] enabled
[    0.550640] bootconsole [early0] disabled
[    0.568575] 1f000000.cfi: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.588843] Amd/Fujitsu Extended Query Table at 0x0040
[    0.599252]   Amd/Fujitsu Extended Query version 1.1.
[    0.609463] number of CFI chips: 1
[    0.627186] 4 fixed-partitions partitions found on MTD device 1f000000.cfi
[    0.641119] Creating 4 MTD partitions on "1f000000.cfi":
[    0.651864] 0x000000000000-0x000000030000 : "u-boot"
[    0.663457] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.675692] 0x000000040000-0x000000050000 : "factory"
[    0.687347] 0x000000050000-0x000000800000 : "firmware"
[    0.704644] 2 uimage-fw partitions found on MTD device firmware
[    0.716652] Creating 2 MTD partitions on "firmware":
[    0.726698] 0x000000000000-0x0000001485c0 : "kernel"
[    0.738144] 0x0000001485c0-0x0000007b0000 : "rootfs"
[    0.749613] mtd: device 5 (rootfs) set to be root filesystem
[    0.761135] 1 squashfs-split partitions found on MTD device rootfs
[    0.773647] 0x000000380000-0x0000007b0000 : "rootfs_data"
[    0.786799] libphy: Fixed MDIO Bus: probed
[    0.798616] rt3050-esw 10110000.esw: link changed 0x18
[    0.817530] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.835012] rt2880_wdt 10000120.watchdog: Initialized
[    0.847296] NET: Registered protocol family 10
[    0.863380] Segment Routing with IPv6
[    0.870932] NET: Registered protocol family 17
[    0.880080] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.906239] 8021q: 802.1Q VLAN Support v1.8
[    0.924462] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    0.947444] Freeing unused kernel memory: 1200K
[    0.956619] This architecture does not have kernel memory protection.
[    2.652810] random: fast init done
[    3.167690] init: Console is alive
[    3.175085] init: - watchdog -
[    4.128593] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.492411] usbcore: registered new interface driver usbfs
[    4.503760] usbcore: registered new interface driver hub
[    4.514735] usbcore: registered new device driver usb
[    4.537822] dwc2 101c0000.otg: Configuration mismatch. dr_mode forced to host
[    4.588996] dwc2 101c0000.otg: DWC OTG Controller
[    4.598641] dwc2 101c0000.otg: new USB bus registered, assigned bus number 1
[    4.612968] dwc2 101c0000.otg: irq 26, io mem 0x101c0000
[    4.625786] hub 1-0:1.0: USB hub found
[    4.634122] hub 1-0:1.0: 1 port detected
[    4.648950] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.674314] init: - preinit -
[    7.020731] 8021q: adding VLAN 0 to HW filter on device eth0
[    7.474036] random: procd: uninitialized urandom read (4 bytes read)
[   11.365278] jffs2: notice: (349) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 34 of xref (1 dead, 0 orphan) found.
[   11.399092] mount_root: switching to jffs2 overlay
[   11.444280] overlayfs: upper fs does not support tmpfile.
[   11.464061] urandom-seed: Seeding with /etc/urandom.seed
[   11.966165] procd: - early -
[   11.972195] procd: - watchdog -
[   13.430598] procd: - watchdog -
[   13.437896] procd: - ubus -
[   13.961400] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.005319] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.030099] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.058691] procd: - init -
[   17.553452] kmodloader: loading kernel modules from /etc/modules.d/*
[   17.616757] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.680917] usbcore: registered new interface driver cdc_wdm
[   17.744360] Loading modules backported from Linux version v4.19.98-0-gd183c8e2647a
[   17.759725] Backport generated by backports.git v4.19.98-1-0-g8204eb99
[   17.845012] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.894962] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   18.174865] usbcore: registered new interface driver usbserial
[   18.186900] usbcore: registered new interface driver usbserial_generic
[   18.200304] usbserial: USB Serial support registered for generic
[   18.384021] xt_time: kernel timezone is -0000
[   18.415194] usbcore: registered new interface driver cdc_ether
[   18.460381] usbcore: registered new interface driver cdc_ncm
[   18.584801] usbcore: registered new interface driver huawei_cdc_ncm
[   18.781616] PPP generic driver version 2.4.2
[   18.814388] NET: Registered protocol family 24
[   18.916548] usbcore: registered new interface driver option
[   18.928068] usbserial: USB Serial support registered for GSM modem (1-port)
[   19.025233] urngd: v1.0.2 started.
[   19.070033] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[   19.084725] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 detected
[   19.100389] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[   19.115302] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   19.233135] kmodloader: done loading kernel modules from /etc/modules.d/*
[   20.035106] random: crng init done
[   20.041970] random: 6 urandom warning(s) missed due to ratelimiting
[   38.897839] rt3050-esw 10110000.esw: link changed 0x08
[   42.745485] rt3050-esw 10110000.esw: link changed 0x0C
[   49.199076] 8021q: adding VLAN 0 to HW filter on device eth0
[   49.246627] br-lan: port 1(eth0.1) entered blocking state
[   49.257622] br-lan: port 1(eth0.1) entered disabled state
[   49.269135] device eth0.1 entered promiscuous mode
[   49.278897] device eth0 entered promiscuous mode
[   49.379364] br-lan: port 1(eth0.1) entered blocking state
[   49.390328] br-lan: port 1(eth0.1) entered forwarding state
[   49.402000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   50.223690] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   57.439550] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   57.490249] br-lan: port 2(wlan0) entered blocking state
[   57.501070] br-lan: port 2(wlan0) entered disabled state
[   57.512379] device wlan0 entered promiscuous mode
[   58.319148] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   58.332374] br-lan: port 2(wlan0) entered blocking state
[   58.343175] br-lan: port 2(wlan0) entered forwarding state
[   59.687530] br-lan: port 3(wlan0.sta1) entered blocking state
[   59.699214] br-lan: port 3(wlan0.sta1) entered disabled state
[   59.711506] device wlan0.sta1 entered promiscuous mode
[   59.761698] br-lan: port 3(wlan0.sta1) entered blocking state
[   59.773365] br-lan: port 3(wlan0.sta1) entered forwarding state
[  217.323524] rt3050-esw 10110000.esw: link changed 0x08
[  282.525325] rt3050-esw 10110000.esw: link changed 0x0C
[  396.602361] device wlan0.sta1 left promiscuous mode
[  396.612681] br-lan: port 3(wlan0.sta1) entered disabled state
[  396.704184] device wlan0 left promiscuous mode
[  396.713606] br-lan: port 2(wlan0) entered disabled state
[  398.539696] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[  398.566359] br-lan: port 2(wlan0-1) entered blocking state
[  398.577537] br-lan: port 2(wlan0-1) entered disabled state
[  398.589220] device wlan0-1 entered promiscuous mode
[  399.851239] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  402.088525] wlan0: authenticate with ac:c3:3a:67:11:68
[  402.135680] wlan0: send auth to ac:c3:(try 1/3)
[  402.150215] wlan0: authenticated
[  402.192946] wlan0: associate with ac:c3:3(try 1/3)
[  402.214557] wlan0: RX AssocResp from ac:c(capab=0x411 status=0 aid=2)
[  402.230289] wlan0: associated
[  402.293075] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by ac:c3:3a:
[  402.367679] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  404.309318] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[  404.323004] br-lan: port 2(wlan0-1) entered blocking state
[  404.334136] br-lan: port 2(wlan0-1) entered forwarding state
[  495.169188] kmodloader: loading kernel modules from /etc/modules.d/*
[  495.207814] SCSI subsystem initialized
[  495.238554] usbcore: registered new interface driver usb-storage
[  495.253511] kmodloader: done loading kernel modules from /etc/modules.d/*
[  495.412892] kmodloader: loading kernel modules from /etc/modules.d/*
[  495.431866] kmodloader: done loading kernel modules from /etc/modules.d/*
[  516.011603] kmodloader: loading kernel modules from /etc/modules.d/*
[  516.031774] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[  516.048974] ehci-platform: EHCI generic platform driver
[  516.065962] kmodloader: done loading kernel modules from /etc/modules.d/*
[  516.221744] kmodloader: loading kernel modules from /etc/modules.d/*
[  516.240055] kmodloader: done loading kernel modules from /etc/modules.d/*
[  592.120335] kmodloader: loading kernel modules from /etc/modules.d/*
[  592.152646] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 3547.899944] rt3050-esw 10110000.esw: link changed 0x08

try to use another usb drive and in dmesg you should see something like this :

[   14.447345] scsi 0:0:0:0: Direct-Access     ADATA    USB Flash Drive  1.00 PQ: 0 ANSI: 6
[   14.459119] sd 0:0:0:0: [sda] 15155200 512-byte logical blocks: (7.76 GB/7.23 GiB)
[   14.532921] sd 0:0:0:0: [sda] Write Protect is off
[   14.537935] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[   14.544956] sd 0:0:0:0: [sda] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[   14.568896]  sda: sda1

output of installed packages on my device :

base-files - 204.2-r10911-c155900f66
busybox - 1.30.1-5
cgi-io - 16
dnsmasq - 2.80-15
dropbear - 2019.78-2
firewall - 2019-11-22-8174814a-1
fstools - 2020-01-18-189b41b6-1
fwtool - 2
getrandom - 2019-06-16-4df34a4d-3
hostapd-common - 2019-08-08-ca8c2bd2-2
ip6tables - 1.8.3-1
iptables - 1.8.3-1
iw - 5.0.1-1
iwinfo - 2019-10-16-07315b6f-1
jshn - 2020-01-20-43a103ff-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.167-1-651f7843570c42ca364f86d3dd35773d
kmod-ath - 4.14.167+4.19.98-1-1
kmod-ath9k - 4.14.167+4.19.98-1-1
kmod-ath9k-common - 4.14.167+4.19.98-1-1
kmod-cfg80211 - 4.14.167+4.19.98-1-1
kmod-fs-vfat - 4.14.167-1
kmod-gpio-button-hotplug - 4.14.167-3
kmod-ip6tables - 4.14.167-1
kmod-ipt-conntrack - 4.14.167-1
kmod-ipt-core - 4.14.167-1
kmod-ipt-nat - 4.14.167-1
kmod-ipt-offload - 4.14.167-1
kmod-lib-crc-ccitt - 4.14.167-1
kmod-mac80211 - 4.14.167+4.19.98-1-1
kmod-nf-conntrack - 4.14.167-1
kmod-nf-conntrack6 - 4.14.167-1
kmod-nf-flow - 4.14.167-1
kmod-nf-ipt - 4.14.167-1
kmod-nf-ipt6 - 4.14.167-1
kmod-nf-nat - 4.14.167-1
kmod-nf-reject - 4.14.167-1
kmod-nf-reject6 - 4.14.167-1
kmod-nls-base - 4.14.167-1
kmod-nls-cp437 - 4.14.167-1
kmod-nls-iso8859-1 - 4.14.167-1
kmod-nls-utf8 - 4.14.167-1
kmod-ppp - 4.14.167-1
kmod-pppoe - 4.14.167-1
kmod-pppox - 4.14.167-1
kmod-scsi-core - 4.14.167-1
kmod-slhc - 4.14.167-1
kmod-usb-core - 4.14.167-1
kmod-usb-ehci - 4.14.167-1
kmod-usb-ledtrig-usbport - 4.14.167-1
kmod-usb-ohci - 4.14.167-1
kmod-usb-storage - 4.14.167-1
kmod-usb2 - 4.14.167-1
libblobmsg-json - 2020-01-20-43a103ff-1
libc - 1.1.24-2
libgcc1 - 7.5.0-2
libip4tc2 - 1.8.3-1
libip6tc2 - 1.8.3-1
libiwinfo-lua - 2019-10-16-07315b6f-1
libiwinfo20181126 - 2019-10-16-07315b6f-1
libjson-c2 - 0.12.1-3
libjson-script - 2020-01-20-43a103ff-1
liblua5.1.5 - 5.1.5-3
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
libmbedtls12 - 2.16.4-1
libnl-tiny - 0.1-5
libpthread - 1.1.24-2
libubox20191228 - 2020-01-20-43a103ff-1
libubus-lua - 2019-12-27-041c9d1c-1
libubus20191227 - 2019-12-27-041c9d1c-1
libuci20130104 - 2019-09-01-415f9e48-3
libuclient20160123 - 2019-05-30-3b3e368d-1
libuhttpd-mbedtls - 2.2.2-2
libustream-mbedtls20150806 - 2019-11-05-c9b66682-2
libxtables12 - 1.8.3-1
logd - 2019-06-16-4df34a4d-3
lua - 5.1.5-3
luci - git-20.029.45734-adbbd5c-1
luci-app-firewall - git-20.029.45734-adbbd5c-1
luci-app-opkg - git-20.029.45734-adbbd5c-1
luci-base - git-20.029.45734-adbbd5c-1
luci-lib-ip - git-20.029.45734-adbbd5c-1
luci-lib-jsonc - git-20.029.45734-adbbd5c-1
luci-lib-nixio - git-20.029.45734-adbbd5c-1
luci-mod-admin-full - git-20.029.45734-adbbd5c-1
luci-mod-network - git-20.029.45734-adbbd5c-1
luci-mod-status - git-20.029.45734-adbbd5c-1
luci-mod-system - git-20.029.45734-adbbd5c-1
luci-proto-ipv6 - git-20.029.45734-adbbd5c-1
luci-proto-ppp - git-20.029.45734-adbbd5c-1
luci-theme-bootstrap - git-20.029.45734-adbbd5c-1
mtd - 24
nand-utils - 2.1.1-1
netifd - 2019-08-05-5e02f944-1
odhcp6c - 2019-01-11-e199804b-16
odhcpd-ipv6only - 2019-12-16-e53fec89-3
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-01-25-c09fe209-1
ppp - 2.4.7.git-2019-05-25-2
ppp-mod-pppoe - 2.4.7.git-2019-05-25-2
procd - 2020-01-24-31e4b2df-1
rpcd - 2019-11-10-77ad0de0-1
rpcd-mod-file - 2019-11-10-77ad0de0-1
rpcd-mod-iwinfo - 2019-11-10-77ad0de0-1
rpcd-mod-luci - 20191114
rpcd-mod-rrdns - 20170710
swconfig - 12
ubi-utils - 2.1.1-1
uboot-envtools - 2018.03-3
ubox - 2019-06-16-4df34a4d-3
ubus - 2019-12-27-041c9d1c-1
ubusd - 2019-12-27-041c9d1c-1
uci - 2019-09-01-415f9e48-3
uclient-fetch - 2019-05-30-3b3e368d-1
uhttpd - 2019-12-22-5f9ae573-1
urandom-seed - 1.0-1
urngd - 2020-01-21-c7f7b6b6-1
usign - 2019-08-06-5a52b379-1
wireless-regdb - 2019.06.03
wpad-basic - 2019-08-08-ca8c2bd2-2

also try install kmod-usb-ohci
and install kmod-usb-ledtrig-usbport if your router have usb led

read this for more info
https://openwrt.org/docs/guide-user/storage/usb-installing

Thanks for your reply.
Thing is, there's nothing shows up in the logs, no matter whichever usb device i plug into it, there is simply no activity in there regarding USB.There's power in the usb port coz i can charge my mobile but that's about it. I did try to install kmod-usb-ohci but nothing changed.

output on mine

base-files - 204.2-r10911-c155900f66
busybox - 1.30.1-5
cgi-io - 16
chat - 2.4.7.git-2019-05-25-2
comgt - 0.32-32
dnsmasq - 2.80-15
dropbear - 2019.78-2
firewall - 2019-11-22-8174814a-1
fstools - 2020-01-18-189b41b6-1
fwtool - 2
getrandom - 2019-06-16-4df34a4d-3
hostapd-common - 2019-08-08-ca8c2bd2-2
hub-ctrl - 1.0-2
ip6tables - 1.8.3-1
iptables - 1.8.3-1
iw - 5.0.1-1
iwinfo - 2019-10-16-07315b6f-1
jshn - 2020-01-20-43a103ff-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.167-1-9a90d552f1e8ed4f201155596f60004e
kmod-cfg80211 - 4.14.167+4.19.98-1-1
kmod-gpio-button-hotplug - 4.14.167-3
kmod-ip6tables - 4.14.167-1
kmod-ipt-conntrack - 4.14.167-1
kmod-ipt-core - 4.14.167-1
kmod-ipt-nat - 4.14.167-1
kmod-ipt-offload - 4.14.167-1
kmod-leds-gpio - 4.14.167-1
kmod-lib-crc-ccitt - 4.14.167-1
kmod-mac80211 - 4.14.167+4.19.98-1-1
kmod-mii - 4.14.167-1
kmod-nf-conntrack - 4.14.167-1
kmod-nf-conntrack6 - 4.14.167-1
kmod-nf-flow - 4.14.167-1
kmod-nf-ipt - 4.14.167-1
kmod-nf-ipt6 - 4.14.167-1
kmod-nf-nat - 4.14.167-1
kmod-nf-reject - 4.14.167-1
kmod-nf-reject6 - 4.14.167-1
kmod-nls-base - 4.14.167-1
kmod-ppp - 4.14.167-1
kmod-pppoe - 4.14.167-1
kmod-pppox - 4.14.167-1
kmod-rt2800-lib - 4.14.167+4.19.98-1-1
kmod-rt2800-mmio - 4.14.167+4.19.98-1-1
kmod-rt2800-soc - 4.14.167+4.19.98-1-1
kmod-rt2x00-lib - 4.14.167+4.19.98-1-1
kmod-rt2x00-mmio - 4.14.167+4.19.98-1-1
kmod-scsi-core - 4.14.167-1
kmod-slhc - 4.14.167-1
kmod-usb-core - 4.14.167-1
kmod-usb-dwc2 - 4.14.167-1
kmod-usb-ehci - 4.14.167-1
kmod-usb-net - 4.14.167-1
kmod-usb-net-cdc-ether - 4.14.167-1
kmod-usb-net-cdc-ncm - 4.14.167-1
kmod-usb-net-huawei-cdc-ncm - 4.14.167-1
kmod-usb-ohci - 4.14.167-1
kmod-usb-serial - 4.14.167-1
kmod-usb-serial-option - 4.14.167-1
kmod-usb-serial-wwan - 4.14.167-1
kmod-usb-storage - 4.14.167-1
kmod-usb-wdm - 4.14.167-1
kmod-usb2 - 4.14.167-1
kmod-usb3 - 4.14.167-1
libblobmsg-json - 2020-01-20-43a103ff-1
libc - 1.1.24-2
libgcc1 - 7.5.0-2
libip4tc2 - 1.8.3-1
libip6tc2 - 1.8.3-1
libiwinfo-lua - 2019-10-16-07315b6f-1
libiwinfo20181126 - 2019-10-16-07315b6f-1
libjson-c2 - 0.12.1-3
libjson-script - 2020-01-20-43a103ff-1
liblua5.1.5 - 5.1.5-3
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
libnl-tiny - 0.1-5
libpthread - 1.1.24-2
librt - 1.1.24-2
libubox20191228 - 2020-01-20-43a103ff-1
libubus-lua - 2019-12-27-041c9d1c-1
libubus20191227 - 2019-12-27-041c9d1c-1
libuci20130104 - 2019-09-01-415f9e48-3
libuclient20160123 - 2019-05-30-3b3e368d-1
libusb-1.0-0 - 1.0.22-2
libusb-compat4 - 0.1.5-2
libxtables12 - 1.8.3-1
logd - 2019-06-16-4df34a4d-3
lua - 5.1.5-3
luci - git-20.029.45734-adbbd5c-1
luci-app-firewall - git-20.029.45734-adbbd5c-1
luci-app-opkg - git-20.029.45734-adbbd5c-1
luci-base - git-20.029.45734-adbbd5c-1
luci-lib-ip - git-20.029.45734-adbbd5c-1
luci-lib-jsonc - git-20.029.45734-adbbd5c-1
luci-lib-nixio - git-20.029.45734-adbbd5c-1
luci-mod-admin-full - git-20.029.45734-adbbd5c-1
luci-mod-network - git-20.029.45734-adbbd5c-1
luci-mod-status - git-20.029.45734-adbbd5c-1
luci-mod-system - git-20.029.45734-adbbd5c-1
luci-proto-ipv6 - git-20.029.45734-adbbd5c-1
luci-proto-ppp - git-20.029.45734-adbbd5c-1
luci-theme-bootstrap - git-20.029.45734-adbbd5c-1
mtd - 24
netifd - 2019-08-05-5e02f944-1
odhcp6c - 2019-01-11-e199804b-16
odhcpd-ipv6only - 2019-12-16-e53fec89-3
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-01-25-c09fe209-1
ppp - 2.4.7.git-2019-05-25-2
ppp-mod-pppoe - 2.4.7.git-2019-05-25-2
procd - 2020-01-24-31e4b2df-1
rpcd - 2019-11-10-77ad0de0-1
rpcd-mod-file - 2019-11-10-77ad0de0-1
rpcd-mod-iwinfo - 2019-11-10-77ad0de0-1
rpcd-mod-luci - 20191114
rpcd-mod-rrdns - 20170710
swconfig - 12
ubox - 2019-06-16-4df34a4d-3
ubus - 2019-12-27-041c9d1c-1
ubusd - 2019-12-27-041c9d1c-1
uci - 2019-09-01-415f9e48-3
uclient-fetch - 2019-05-30-3b3e368d-1
uhttpd - 2019-12-22-5f9ae573-1
urandom-seed - 1.0-1
urngd - 2020-01-21-c7f7b6b6-1
usb-modeswitch - 2017-12-19-f40f84c2-2
usbutils - 007-10
usign - 2019-08-06-5a52b379-1
wireless-regdb - 2019.06.03
wpad-mini - 2019-08-08-ca8c2bd2-2

I found commit that breaks USB enumeration on ramips platforms - it's upstream commits:


and probably

This was merged to Openwrt between 18.06.1 and 18.06.3

Is there any chance that it will be fixed finally?

With this patches in mainline to make USB woriking, we should revert 0032-USB-dwc2-add-device_reset.patch as described in [0] and tested at [1]
[0]: https://patchwork.ozlabs.org/project/openwrt/patch/20200410223709.1974-1-dobrovolskiy.alexey@gmail.com/
[1]: https://bugs.openwrt.org/index.php?do=details&task_id=2473

Hi,
So is this merged with main branch? Can i download latest stable release?