openwrt / openwrt/packages

wifischedule - Unload Modules option doesn't work on ax3000t

Open
#25,904 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

@rindeal

Steps to reproduce:

  1. go to: Services→ WiFI Schedule → Enable Wifi Schedule → Enable logging → Check Unload Modules (experimental; saves more power)
  2. Enable all days → Start wifi 04:00 → Stop wifi 00:00 → Enable Force disabling wifi even if stations associated
  3. Save & Apply

Actual behavior:

Image

Expected behavior:

I should see no error in the logs and wifi modules should be unloaded from kernel...

Additional Information:

when I do lsmod from cli I see these relevant modules mt7915e,mt76_connac_lib,mt76

on openwrt firmware selector webpage I see these relevant modules kmod-mt7915e kmod-mt7981-firmware mt7981-wo-firmware so something should be changed in the script...

OpenWrt version information from system /etc/openwrt_release

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r28744-fb566abab9'
DISTRIB_TARGET='mediatek/filogic'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r28744-fb566abab9'
DISTRIB_TAINTS=''
ROUTER_MODEL='Xiaomi Mi Router AX3000T (OpenWrt U-Boot layout)'

Also wifischedule script should be changed to print loglevel 5 because loglevel 7 gives kernel error... this is changed whileago on busybox

Image

and also one vote for https://github.com/openwrt/luci/issues/7603

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the wifischedule script and reproduce the Unload Modules flow on the Xiaomi Mi Router AX3000T using the listed OpenWrt snapshot. Compare the modules reported by lsmod with the firmware selector names, and inspect the logs around Save & Apply. Done means the relevant WiFi modules unload without errors and logging uses the requested level.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
embedded-iot, networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.