The USB ports on the HC5962 router do not work in OpenWRT 25.12.1 as they do in 25.12.0

Hi, all.
i used a HC5962 with openwrt 25.12.0 in it. it working as a NAS with OPENLIST as good.

when I UPDATE to openwrt 25.12.1, the USB -ssd didn't work.

SSH lsusb return -99 .

what’s the wrong?

login as: root
┌──────────────────────────────────────────────────────────────────────┐
│ ? MobaXterm Personal Edition v25.4 ? │
│ (SSH client, X server and network tools) │
│ │
│ ? SSH session to root@192.168.1.254
│ ? Direct SSH : ? │
│ ? SSH compression : ? (disabled or not supported by server) │
│ ? SSH-browser : ? │
│ ? X11-forwarding : ? (disabled or not supported by server) │
│ │
│ ? For more info, ctrl+click on help or visit our website. │
└──────────────────────────────────────────────────────────────────────┘

BusyBox v1.37.0 (2026-03-23 00:38:32 UTC) built-in shell (ash)

https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet

root@OpenWrt:~# apk add kmod-usb-core kmod-usb2 kmod-usb3 usbutils
(1/4) Installing kmod-usb2 (6.12.74-r1)
Executing kmod-usb2-6.12.74-r1.post-install
(2/4) Installing libusb-1.0-0 (1.0.29-r1)
Executing libusb-1.0-0-1.0.29-r1.post-install
(3/4) Installing usbids (0.387-r1)
Executing usbids-0.387-r1.post-install
(4/4) Installing usbutils (017-r1)
Executing usbutils-017-r1.post-install
OK: 188.7 MiB in 306 packages

root@OpenWrt:~# lsusb
unable to initialize libusb: -99
root@OpenWrt:~# apk update
[https://fantastic-packages.github.io/releases/25.12/packages/mipsel_24kc/luci/packages.adb\]
[https://fantastic-packages.github.io/releases/25.12/packages/mipsel_24kc/packages/packages.adb\]
[https://fantastic-packages.github.io/releases/25.12/packages/mipsel_24kc/special/packages.adb\]
[https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/targets/ramips/mt7621/packages/packages.adb\]
[https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/base/packages.adb\]
[https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/targets/ramips/mt7621/kmods/6.12.74-1-e907f034ad3de2d6a38bc36369b413fa/packages.adb\]
[https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/luci/packages.adb\]
[https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/packages/packages.adb\]
[https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/routing/packages.adb\]
[https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/telephony/packages.adb\]
[https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/video/packages.adb\]
OK: 10947 distinct packages available
root@OpenWrt:~# lsusb
unable to initialize libusb: -99
root@OpenWrt:~# apk add kmod-usb-core kmod-usb2 kmod-usb3
OK: 188.7 MiB in 306 packages
root@OpenWrt:~# sync
root@OpenWrt:~# reboot
root@OpenWrt:~#
Remote side unexpectedly closed network connection

────────────────────────────────────────────────────────────────────────────────────────────────

Session stopped

  • Press to exit tab
  • Press R to restart session
  • Press S to save terminal output to file
    login as: root
    ┌──────────────────────────────────────────────────────────────────────┐
    │ ? MobaXterm Personal Edition v25.4 ? │
    │ (SSH client, X server and network tools) │
    │ │
    │ ? SSH session to root@192.168.1.254
    │ ? Direct SSH : ? │
    │ ? SSH compression : ? (disabled or not supported by server) │
    │ ? SSH-browser : ? │
    │ ? X11-forwarding : ? (disabled or not supported by server) │
    │ │
    │ ? For more info, ctrl+click on help or visit our website. │
    └──────────────────────────────────────────────────────────────────────┘

root@OpenWrt:~# lsusb
unable to initialize libusb: -99

root@OpenWrt:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='25.12.1'
DISTRIB_REVISION='r32768-b21cfa8f8c'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 25.12.1 r32768-b21cfa8f8c'
DISTRIB_TAINTS=''

the fireware is updated by luci-app-attendedsysupgrade from 25.12.0.

is libusb installed ?

please use </> button when you post cli output.

SSH returns error, but LUCI can see it.

root@OpenWrt:~# apk add libusb
ERROR: unable to select packages:
  libusb (no such package):
    required by: world[libusb]
root@OpenWrt:~# apk update
 [https://fantastic-packages.github.io/releases/25.12/packages/mipsel_24kc/luci/packages.adb]
 [https://fantastic-packages.github.io/releases/25.12/packages/mipsel_24kc/packages/packages.adb]
 [https://fantastic-packages.github.io/releases/25.12/packages/mipsel_24kc/special/packages.adb]
 [https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/targets/ramips/mt7621/packages/packages.adb]
 [https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/base/packages.adb]
 [https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/targets/ramips/mt7621/kmods/6.12.74-1-e907f034ad3de2d6a38bc36369b413fa/packages.adb]
 [https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/luci/packages.adb]
 [https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/packages/packages.adb]
 [https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/routing/packages.adb]
 [https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/telephony/packages.adb]
 [https://mirrors.ustc.edu.cn/openwrt/releases/25.12.1/packages/mipsel_24kc/video/packages.adb]
OK: 10948 distinct packages available
root@OpenWrt:~# apk add libusb
ERROR: unable to select packages:
  libusb (no such package):
    required by: world[libusb]
root@OpenWrt:~#

it working OK with 25.12.0 AND i update fireware from attendedsysupgrade.

post the output of ldd /usr/bin/lsusb.

Have you rebooted the device since adding the kmods?

The sources for the repo look a bit odd. Where did this image come from?

What is the output of ubus call system board?

Have you tried flashing an image directly from OpenWrt.org? (you can customize using the firmware selector)

1 Like

Run

apk info -e kmod-usb-storage

If not installed, run

apk add kmod-usb-storage

root@OpenWrt:~# ldd /usr/bin/lsusb
ldd: cannot load /usr/bin/lsusb: No such file or directory
root@OpenWrt:~#

root@OpenWrt:~# ldd /usr/bin/lsusb
ldd: cannot load /usr/bin/lsusb: No such file or directory
root@OpenWrt:~# apk info -e kmod-usb-storage
kmod-usb-storage
root@OpenWrt:~# pm list packages | grep -i "usb"
-ash: pm: not found
root@OpenWrt:~# apk list-installed | grep -i usb
ERROR: 'list-installed' is not an apk command. See 'apk --help'.
root@OpenWrt:~# apk info -L | grep -i "usb"
kmod-usb-common
kmod-usb-core
kmod-usb-dwc2
kmod-usb-dwc3
kmod-usb-ehci
kmod-usb-ohci
kmod-usb-roles
kmod-usb-storage
kmod-usb-storage-extras
kmod-usb-storage-uas
kmod-usb-uhci
kmod-usb-xhci-hcd
kmod-usb-xhci-mtk
kmod-usb2
kmod-usb3
libusb-1.0-0
libusb-compat4
root@OpenWrt:~#

Yes , i Customize installed packages from 24.10, and it work good, then , i update to 25.12.0 it work good , but when i update to 25.12.1 the USB-SSD didn't work now.

That doesn't tell us where the firmware image came from and/or why you have unusual repos in the feeds.

Making custom images is fine, of course, as is building your own locally (i.e. compiling locally or using the image builder on your own computer)... but I'd recommend building your image using the firmware selector and then testing -- this way, we're working with a known quantity.

I apologize, but I need to connect to https://firmware-selector.openwrt.org/ via VPN. Therefore, I customized the firmware using https://firmware-selector.openwrt.org/ and then modified /etc/apk/repositories.d/distfeeds.list to upgrade plugin packages. This is essentially a mirror site, synced daily. Furthermore, the server list connected during firmware upgrades (attendedsysupgrade) is as follows:


root@OpenWrt:~# cat /etc/config/attendedsysupgrade

config server 'server'
        option url 'https://sysupgrade.openwrt.org'
        list rebuilder 'https://asu.aparcar.org'
        list rebuilder 'https://sysupgrade.kyarucloud.moe'
        list rebuilder 'https://sysupgrade.antennine.org/'

config client 'client'
        option upgrade_packages '1'
        option auto_search '0'
        option advanced_mode '1'
        option login_check_for_upgrades '0'

config owut 'owut'

root@OpenWrt:~#

Generally speaking, it is not recommended to upgrade packages except when there is a specific reason to do so (i.e. new features, bug fixes, security patches).

I would highly recommend trying with the default repos and not performing any package upgrades. This serves as the known-quantity baseline.

Okay, I hope my additional explanation wasn't misleading.

When customizing the firmware, I used a VPN to connect to https://firmware-selector.openwrt.org/ and flashed it onto the router. After that, I wanted to disconnect the VPN to see the plugin package's update information so I could upgrade the firmware again using the VPN.

Back to the previous issue, this 25.12.1 firmware was downloaded from sysupgrade.openwrt.org/ and used to upgrade the previously working 25.12.0 firmware. Then the problem arose. The obvious change is that the indicator light on the USB-SSD flashed with the 25.12.0 firmware, but with this non-functional 25.12.1 firmware, the indicator light remained constantly lit.

I'm a bit confused as to why you needed to disconnect the VPN to get the package information.

And this whole thing doesn't really make it clear if:

  1. you've tried with the completely default repos (i.e. make your custom 25.12.0 image on the firmware selector, install it and don't make any repo modifications, don't upgrade any packages)
  2. You've gone from the above state -- no upgraded packages, no custom repos -- to an OWUT/ASU upgraded 25.12.1

Please try the following:

  • Create your custom image that contains the necessary packages for 25.12.0 on the firmware selector.
  • Use exactly that same recipe to create a custom image on 25.12.1 (using the same firmware selector)

Test both to see if the USB connectivity is different between them. The idea here is that we ensure that the only variable is 25.12.0 vs 25.12.1, no other changes to the packages/repos/recipies/sources.

yes, " the only variable is 25.12.0 vs 25.12.1 " ,

I started using this router as a NAS about 3 years ago (Xhci-mtk USB3 problem on mt7621 - #5 by minisind), and it worked stably until a few days ago when I upgraded to version 25.12.1.

i backup the log of OWUT/ASU , list :


{
    "system_board": {
        "kernel": "6.12.71",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "HiWiFi HC5962",
        "board_name": "hiwifi,hc5962",
        "rootfs_type": "squashfs",
        "release": {
            "distribution": "OpenWrt",
            "version": "25.12.0",
            "firmware_url": "https://downloads.openwrt.org/",
            "revision": "r32713-f919e7899d",
            "target": "ramips/mt7621",
            "description": "OpenWrt 25.12.0 r32713-f919e7899d",
            "builddate": "1772496855"
        }
    },
    "advanced_mode": "1",
    "url": "https://sysupgrade.openwrt.org",
    "branch": "25.12",
    "revision": "r32713-f919e7899d",
    "efi": null,
    "rebuilder": [
        "https://asu.aparcar.org",
        "https://sysupgrade.kyarucloud.moe",
        "https://sysupgrade.antennine.org/"
    ],
    "request_hash": "80f97142fa1c90237812dc7d31b7abe3193b5ed1a29086ec512cebc6bdc16d5e",
    "sha256_unsigned": "",
    "client": "luci/26.075.80566~6efa8ae",
    "packages": {
        "apk-mbedtls": "3.0.5-r2",
        "attendedsysupgrade-common": "9",
        "base-files": "1693~f919e7899d",
        "block-mount": "2026.02.15~8d377aa6-r1",
        "blockd": "2026.02.15~8d377aa6-r1",
        "bridge": "1.7.1-r1",
        "bridger": "2025.10.23~9fc2bc3e",
        "busybox": "1.37.0-r6",
        "ca-bundle": "20250419-r2",
        "cgi-io": "2025.12.11~658b14bd-r1",
        "curl": "8.19.0-r1",
        "dnsmasq": "2.91-r2",
        "dropbear": "2025.89-r1",
        "exfat-mkfs": "1.2.9-r1",
        "fdisk": "2.41.3-r1",
        "firewall4": "2025.03.17~b6e51575-r1",
        "fstools": "2026.02.15~8d377aa6-r1",
        "fwtool": "2025.10.03~04cd252e-r1",
        "getrandom": "2025.10.30~6f78fa49-r1",
        "hostapd-common": "2025.08.26~ca266cc2-r1",
        "ip-bridge": "6.18.0-r2",
        "jansson": "2.14.1-r1",
        "jshn": "2026.03.13~81563384-r1",
        "jsonfilter": "2026.03.16~b9034210-r1",
        "kernel": "6.12.71~364f8debbcd4cddc1f038dea515bf8a5-r1",
        "kmod-ata-ahci": "6.12.71-r1",
        "kmod-crypto-aead": "6.12.71-r1",
        "kmod-crypto-authenc": "6.12.71-r1",
        "kmod-crypto-crc32c": "6.12.71-r1",
        "kmod-crypto-des": "6.12.71-r1",
        "kmod-crypto-hash": "6.12.71-r1",
        "kmod-crypto-hw-eip93": "6.12.71-r1",
        "kmod-crypto-manager": "6.12.71-r1",
        "kmod-crypto-md5": "6.12.71-r1",
        "kmod-crypto-null": "6.12.71-r1",
        "kmod-crypto-sha1": "6.12.71-r1",
        "kmod-crypto-sha256": "6.12.71-r1",
        "kmod-fs-btrfs": "6.12.71-r1",
        "kmod-fs-exfat": "6.12.71-r1",
        "kmod-fs-exportfs": "6.12.71-r1",
        "kmod-fs-ext4": "6.12.71-r1",
        "kmod-fs-f2fs": "6.12.71-r1",
        "kmod-fs-nfs-v4": "6.12.71-r1",
        "kmod-fs-ntfs3": "6.12.71-r1",
        "kmod-fs-vfat": "6.12.71-r1",
        "kmod-gpio-button-hotplug": "6.12.71-r5",
        "kmod-leds-gpio": "6.12.71-r1",
        "kmod-lib-crc-ccitt": "6.12.71-r1",
        "kmod-lib-crc32c": "6.12.71-r1",
        "kmod-mt7603": "6.12.71.2025.11.06~eb567bc7-r2",
        "kmod-mt76x2": "6.12.71.2025.11.06~eb567bc7-r2",
        "kmod-nf-conntrack": "6.12.71-r1",
        "kmod-nf-conntrack6": "6.12.71-r1",
        "kmod-nf-flow": "6.12.71-r1",
        "kmod-nf-log": "6.12.71-r1",
        "kmod-nf-log6": "6.12.71-r1",
        "kmod-nf-nat": "6.12.71-r1",
        "kmod-nf-reject": "6.12.71-r1",
        "kmod-nf-reject6": "6.12.71-r1",
        "kmod-nfnetlink": "6.12.71-r1",
        "kmod-nft-core": "6.12.71-r1",
        "kmod-nft-fib": "6.12.71-r1",
        "kmod-nft-nat": "6.12.71-r1",
        "kmod-nft-offload": "6.12.71-r1",
        "kmod-ppp": "6.12.71-r1",
        "kmod-pppoe": "6.12.71-r1",
        "kmod-pppox": "6.12.71-r1",
        "kmod-slhc": "6.12.71-r1",
        "kmod-usb-ehci": "6.12.71-r1",
        "kmod-usb-ohci": "6.12.71-r1",
        "kmod-usb-storage": "6.12.71-r1",
        "kmod-usb-storage-extras": "6.12.71-r1",
        "kmod-usb-storage-uas": "6.12.71-r1",
        "kmod-usb3": "6.12.71-r1",
        "kmod-zram": "6.12.71-r1",
        "libatasmart": "2012.05.21~de625894-r1",
        "libblobmsg-json": "2026.03.13~81563384-r2",
        "libc": "1.2.5-r5",
        "libgcc": "14.3.0-r5",
        "libiwinfo-data": "2026.01.14~f5dd57a8-r1",
        "libiwinfo": "2026.01.14~f5dd57a8-r1",
        "libjson-c": "0.18-r1",
        "libjson-script": "2026.03.13~81563384-r2",
        "liblucihttp-ucode": "2023.03.15~9b5b683f-r1",
        "liblucihttp": "2023.03.15~9b5b683f-r1",
        "libmbedtls": "3.6.5-r1",
        "libmnl": "1.0.5-r1",
        "libnftnl": "1.3.1-r1",
        "libnl-tiny": "2025.12.02~40493a65-r1",
        "libubox": "2026.03.13~81563384-r2",
        "libubus": "2025.12.02~3cc98db1-r1",
        "libuci": "2025.12.02~66127cd7-r1",
        "libuclient": "2026.02.20~7a0aa2e4-r1",
        "libucode": "2026.01.16~85922056-r1",
        "libudebug": "2026.01.16~875e1a7a",
        "libustream-mbedtls": "2026.03.01~99f1c0db-r1",
        "logd": "2025.10.30~6f78fa49-r1",
        "luci": "26.075.80566~6efa8ae",
        "luci-app-attendedsysupgrade": "26.075.80566~6efa8ae",
        "luci-app-firewall": "26.075.80566~6efa8ae",
        "luci-app-mini-diskmanager": "1.0.29-r20260215",
        "luci-app-package-manager": "26.075.80566~6efa8ae",
        "luci-base": "26.075.80566~6efa8ae",
        "luci-i18n-attendedsysupgrade-zh-cn": "26.075.80566~6efa8ae",
        "luci-i18n-base-zh-cn": "26.075.80566~6efa8ae",
        "luci-i18n-firewall-zh-cn": "26.075.80566~6efa8ae",
        "luci-i18n-openlist-zh-cn": "26.075.80566~6efa8ae",
        "luci-i18n-package-manager-zh-cn": "26.075.80566~6efa8ae",
        "luci-lib-uqr": "26.075.80566~6efa8ae",
        "luci-light": "26.075.80566~6efa8ae",
        "luci-mod-admin-full": "26.075.80566~6efa8ae",
        "luci-mod-network": "26.075.80566~6efa8ae",
        "luci-mod-status": "26.075.80566~6efa8ae",
        "luci-mod-system": "26.075.80566~6efa8ae",
        "luci-proto-ipv6": "26.075.80566~6efa8ae",
        "luci-proto-ppp": "26.075.80566~6efa8ae",
        "luci-proto-relay": "26.075.80566~6efa8ae",
        "luci-ssl": "26.075.80566~6efa8ae",
        "luci-theme-bootstrap": "26.075.80566~6efa8ae",
        "mount-utils": "2.41.3-r1",
        "netifd": "2026.02.26~cbb83a18-r1",
        "nftables-json": "1.1.6-r1",
        "odhcp6c": "2026.01.25~ee2949e3-r1",
        "odhcpd-ipv6only": "2026.03.16~edf2e523-r1",
        "openlist": "4.1.8-r1",
        "openwrt-keyring": "2025.12.10~f0670054-r1",
        "owut": "2026.01.13~2526d84b-r1",
        "php8-fastcgi": "8.4.16-r4",
        "php8-mod-curl": "8.4.16-r4",
        "php8-mod-gettext": "8.4.16-r4",
        "php8-mod-openssl": "8.4.16-r4",
        "php8-mod-pdo-sqlite": "8.4.16-r4",
        "php8-mod-simplexml": "8.4.16-r4",
        "php8-mod-soap": "8.4.16-r4",
        "php8-mod-sqlite3": "8.4.16-r4",
        "ppp": "2.5.2-r2",
        "ppp-mod-pppoe": "2.5.2-r2",
        "procd": "2026.03.13~58eb263d-r1",
        "procd-seccomp": "2026.03.13~58eb263d-r1",
        "procd-ujail": "2026.03.13~58eb263d-r1",
        "px5g-mbedtls": "11",
        "relayd": "2025.10.04~708a76fa-r1",
        "resize2fs": "1.47.3-r1",
        "rpcd": "2025.12.03~ffb9961c-r1",
        "rpcd-mod-file": "2025.12.03~ffb9961c-r1",
        "rpcd-mod-iwinfo": "2025.12.03~ffb9961c-r1",
        "rpcd-mod-luci": "20240305-r1",
        "rpcd-mod-rpcsys": "2025.12.03~ffb9961c-r1",
        "rpcd-mod-rrdns": "20170710",
        "rpcd-mod-ucode": "2025.12.03~ffb9961c-r1",
        "sfdisk": "2.41.3-r1",
        "smartd": "7.5-r1",
        "smartmontools": "7.5-r1",
        "smartmontools-drivedb": "7.5-r1",
        "ubi-utils": "2.3.0-r1",
        "ubox": "2025.10.30~6f78fa49-r1",
        "ubus": "2025.12.02~3cc98db1-r1",
        "ubusd": "2025.12.02~3cc98db1-r1",
        "uci": "2025.12.02~66127cd7-r1",
        "uclient-fetch": "2026.02.20~7a0aa2e4-r1",
        "ucode": "2026.01.16~85922056-r1",
        "ucode-mod-fs": "2026.01.16~85922056-r1",
        "ucode-mod-html": "1",
        "ucode-mod-log": "2026.01.16~85922056-r1",
        "ucode-mod-math": "2026.01.16~85922056-r1",
        "ucode-mod-nl80211": "2026.01.16~85922056-r1",
        "ucode-mod-rtnl": "2026.01.16~85922056-r1",
        "ucode-mod-ubus": "2026.01.16~85922056-r1",
        "ucode-mod-uci": "2026.01.16~85922056-r1",
        "ucode-mod-uclient": "2026.02.20~7a0aa2e4-r1",
        "ucode-mod-uloop": "2026.01.16~85922056-r1",
        "uhttpd": "2025.10.03~ebb92e6b-r1",
        "uhttpd-mod-ubus": "2025.10.03~ebb92e6b-r1",
        "urandom-seed": "3",
        "urngd": "2025.10.03~f17e33d9-r1",
        "usign": "2025.10.03~c4c72b1b-r1",
        "wget-ssl": "1.25.0-r2",
        "wpad-basic-mbedtls": "2025.08.26~ca266cc2-r1",
        "zlib": "1.3.1-r1",
        "zram-swap": "32"
    },
    "profile": "hiwifi,hc5962",
    "target": "ramips/mt7621",
    "version": "25.12.0",
    "diff_packages": true,
    "filesystem": "squashfs"
}

when i down to 25.12.0 ,
apk add usbutils ,
The USB-SSD is working as before, and lsusb no longer returns a -99 error.

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.12.71 xhci-hcd xHCI Host Controller
Bus 002 Device 001: ID 1d6b:0003 Linux 6.12.71 xhci-hcd xHCI Host Controller
Bus 002 Device 002: ID 152d:0578 XDISK  X1 XDISK  X1
root@OpenWrt:~#

i update to 25.12.2 all the function i needed are working good !
Thank you all, you brought me light.