You are not logged in.

#1 2025-04-18 13:58:44

sphere101
Member
Registered: 2017-08-04
Posts: 42

MEDIATEK Corp. MT7922 802.11ax not working [SOLVED]

Hello ,
I have been trying to get this on-board wifi card working on my system for a few days. Oddly its available with the Arch live usb , but fails during normal boot process. I have applied the patch per a previous post but that didnt seem to work. Also tried reloading the module and restarting NetworkManager

root@figaro ~]# modprobe -r mt7921e
[root@figaro ~]# modprobe mt7921e
[root@figaro ~]#  systemctl restart NetworkManager bluetooth

61684.574109] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_RAM_CODE_MT7922_1.bin failed with error -2
[61684.576072] mt7921e 0000:05:00.0: ASIC revision: 79220010
[61684.652536] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[61684.728624] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[61684.802019] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[61684.875325] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[61684.948906] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[61685.021611] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[61685.095229] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[61685.169980] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[61685.245477] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[61685.311934] mt7921e 0000:05:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[61685.383333] mt7921e 0000:05:00.0: hardware init failed
[61686.980556] userif-2: sent link up event.
[61687.187234] userif-2: sent link up event.

[root@figaro ~]# dmidecode -t 2
# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
	Manufacturer: ASUSTeK COMPUTER INC.
	Product Name: ROG STRIX B550-F GAMING WIFI II
	Version: Rev X.0x
	Serial Number: 240944172002204
	Asset Tag: Default string
	Features:
		Board is a hosting board
		Board is replaceable
	Location In Chassis: Default string
	Chassis Handle: 0x0003
	Type: Motherboard
	Contained Object Handles: 0

root@figaro ~]# modinfo mt7921e
filename:       /lib/modules/6.12.23-1-lts/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921e.ko.zst
license:        Dual BSD/GPL
description:    MediaTek MT7921E (PCIe) wireless driver
author:         Lorenzo Bianconi <lorenzo@kernel.org>
author:         Sean Wang <sean.wang@mediatek.com>
firmware:       mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin
firmware:       mediatek/WIFI_RAM_CODE_MT7922_1.bin
firmware:       mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
firmware:       mediatek/WIFI_RAM_CODE_MT7961_1.bin
firmware:       mediatek/WIFI_MT7961_patch_mcu_1a_2_hdr.bin
firmware:       mediatek/WIFI_RAM_CODE_MT7961_1a.bin
srcversion:     93982B35D48C1773A3B1E68
alias:          pci:v000014C3d00007920sv*sd*bc*sc*i*
alias:          pci:v000014C3d00000616sv*sd*bc*sc*i*
alias:          pci:v000014C3d00000608sv*sd*bc*sc*i*
alias:          pci:v00000B48d00007922sv*sd*bc*sc*i*
alias:          pci:v000014C3d00007922sv*sd*bc*sc*i*
alias:          pci:v000014C3d00007961sv*sd*bc*sc*i*
depends:        mt76-connac-lib,mt7921-common,mt792x-lib,mt76
intree:         Y
name:           mt7921e
retpoline:      Y
vermagic:       6.12.23-1-lts SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        21:78:AC:06:7F:60:0A:CC:82:A6:44:AA:E3:C2:2E:9C:01:4E:39:36
sig_hashalgo:   sha512
signature:      30:66:02:31:00:9F:74:E2:60:4B:7D:4E:81:9F:55:96:A8:E5:6F:3C:
		46:AA:9B:CC:2E:0F:36:D5:33:EA:8F:18:9F:28:6F:8D:78:19:B7:D6:
		EE:04:7A:93:D5:F3:57:65:4B:46:3D:BF:2B:02:31:00:8C:E4:F5:D1:
		D4:F3:07:4D:2D:6A:9E:D9:FA:25:24:1E:D4:B6:81:8C:86:B6:B0:85:
		B7:66:12:9D:4A:18:23:11:F1:A0:2D:D4:46:EB:1C:96:E7:EE:E8:63:
		3B:08:E0:3A
parm:           disable_aspm:disable PCI ASPM support (bool)

This may be wrong...
[root@figaro ~]# ls -la /lib/firmware/mediatek/mt7925
total 1848
drwxr-xr-x 2 root root    4096 Apr 16 18:20 .
drwxr-xr-x 3 root root    4096 Apr 16 18:20 ..
-rw-r--r-- 1 root root  458799 Apr 16 18:20 BT_RAM_CODE_MT7925_1_1_hdr.bin
-rw-r--r-- 1 root root  212192 Apr 16 18:20 WIFI_MT7925_PATCH_MCU_1_1_hdr.bin
-rw-r--r-- 1 root root 1204648 Apr 16 18:20 WIFI_RAM_CODE_MT7925_1_1.bin

Last edited by sphere101 (2025-04-21 17:40:06)

Offline

#2 2025-04-21 01:37:13

sphere101
Member
Registered: 2017-08-04
Posts: 42

Re: MEDIATEK Corp. MT7922 802.11ax not working [SOLVED]

I was able to resolve this issue with the correct patches , using the following url for instructions
https://github.com/morrownr/USB-WiFi/bl … dapters.md

[akrahn@figaro ~]$ ls -la /usr/lib/firmware/mediatek/
total 1644
drwxr-xr-x 2 root root    4096 Apr 20 18:45 .
drwxr-xr-x 4 root root    4096 Apr 16 18:20 ..
-rw-r--r-- 1 root root  515030 Apr 20 18:44 BT_RAM_CODE_MT7922_1_1_hdr.bin
-rw-r--r-- 1 root root  137632 Apr 20 18:44 WIFI_MT7922_patch_mcu_1_1_hdr.bin
-rw-r--r-- 1 root root 1018436 Apr 20 18:44 WIFI_RAM_CODE_MT7922_1.bin

After reboot, wifi and bluetooth are functioning correctly..

Last edited by sphere101 (2025-04-21 01:37:36)

Offline

#3 2025-04-21 06:02:54

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,145

Re: MEDIATEK Corp. MT7922 802.11ax not working [SOLVED]

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

You might want to reference this in https://wiki.archlinux.org/title/Networ … k/Mediatek

Online

#4 2025-08-16 09:24:14

asbachb
Member
Registered: 2016-07-04
Posts: 5

Re: MEDIATEK Corp. MT7922 802.11ax not working [SOLVED]

I had the same problem stumbled on this topic. Before messing around with these drivers manually first give the official firmware package a try: linux-firmware-mediatek.

(That missing firmware also prevented suspend in my case)

Offline

#5 2025-09-19 17:58:06

sigbjorn
Member
Registered: 2016-09-18
Posts: 2

Re: MEDIATEK Corp. MT7922 802.11ax not working [SOLVED]

The firmware linux-firmware-mediatek-20250917-1-any fails with same symptoms (timeout during firmware load), for system76 pangolin 15.

Resolution is to pacman install the previous working 'linux-firmware-mediatek-20250808-1-any'.

Offline

#6 2025-09-20 18:05:23

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,145

Re: MEDIATEK Corp. MT7922 802.11ax not working [SOLVED]

This thread is from April (predating even your linux-firmware-mediatek-20250808 resort)
As for recent mediatek-related issues, see https://gitlab.archlinux.org/archlinux/ … /issues/29

Online

Board footer

Powered by FluxBB