wifischedule - Unload Modules option doesn't work on ax3000t
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:
- go to: Services→ WiFI Schedule → Enable Wifi Schedule → Enable logging → Check Unload Modules (experimental; saves more power)
- Enable all days → Start wifi 04:00 → Stop wifi 00:00 → Enable Force disabling wifi even if stations associated
- Save & Apply
Actual behavior:
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
and also one vote for https://github.com/openwrt/luci/issues/7603
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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