MT7921K Card not recognized, x86

Hi all.

I bought a mini PC with x86 N5105 CPU which I tried to install WiFi card into.
I have read that MT7921 is supported by OpenWRT in x86 so I bought MT7921K.

This card has M.2 NGFF interface so I used M.2 NGFF to Mini PCI-E adapter.
Now everything is booting fine but I cannot see the card in OpenWRT.

I have installed "kmod-mt7921-common" and "kmod-mt7921-firmware" packages which I assume were needed but can not see any "radio0" device.

ls -l /sys/class/net returns this:

lrwxrwxrwx    1 root     root             0 May  5 16:20 eth0 -> ../../devices/pci0000:00/0000:00:1c                                              .4/0000:03:00.0/net/eth0
lrwxrwxrwx    1 root     root             0 May  5 16:20 eth1 -> ../../devices/pci0000:00/0000:00:1c                                              .5/0000:04:00.0/net/eth1
lrwxrwxrwx    1 root     root             0 May  5 16:22 eth2 -> ../../devices/pci0000:00/0000:00:1c                                              .6/0000:05:00.0/net/eth2
lrwxrwxrwx    1 root     root             0 May  5 16:22 eth3 -> ../../devices/pci0000:00/0000:00:1c                                              .7/0000:06:00.0/net/eth3
lrwxrwxrwx    1 root     root             0 May  5 16:20 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx    1 root     root             0 May  5 16:20 wg_lan -> ../../devices/virtual/net/wg_lan
root@OpenWrt:~#

Does this mean that physical PCI device is not recognized? Is there anything more I can do before I tear into hardware?

Update. I downloaded pciutils package which allowed me to run "lspci".

Apparently, I do have WiFi card attached on PCI bus. But I am not able to initialize it.
It says 02:00.0 Network controller: MEDIATEK Corp. RZ608 Wi-Fi 6E 80MHz

root@OpenWrt:~# lspci
00:00.0 Host bridge: Intel Corporation Device 4e24
00:02.0 VGA compatible controller: Intel Corporation JasperLake [UHD Graphics] (rev 01)
00:04.0 Signal processing controller: Intel Corporation Dynamic Tuning service
00:14.0 USB controller: Intel Corporation Device 4ded (rev 01)
00:14.2 RAM memory: Intel Corporation Device 4def (rev 01)
00:16.0 Communication controller: Intel Corporation Management Engine Interface (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 4db8 (rev 01)
00:1c.3 PCI bridge: Intel Corporation Device 4dbb (rev 01)
00:1c.4 PCI bridge: Intel Corporation Device 4dbc (rev 01)
00:1c.5 PCI bridge: Intel Corporation Device 4dbd (rev 01)
00:1c.6 PCI bridge: Intel Corporation Device 4dbe (rev 01)
00:1c.7 PCI bridge: Intel Corporation Device 4dbf (rev 01)
00:1f.0 ISA bridge: Intel Corporation Device 4d87 (rev 01)
00:1f.3 Audio device: Intel Corporation Jasper Lake HD Audio (rev 01)
00:1f.4 SMBus: Intel Corporation Jasper Lake SMBus (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Jasper Lake SPI Controller (rev 01)
01:00.0 Non-Volatile memory controller: Silicon Motion, Inc. SM2263EN/SM2263XT SSD Controller (rev 03)
02:00.0 Network controller: MEDIATEK Corp. RZ608 Wi-Fi 6E 80MHz
03:00.0 Ethernet controller: Intel Corporation Device 125c (rev 04)
04:00.0 Ethernet controller: Intel Corporation Device 125c (rev 04)
05:00.0 Ethernet controller: Intel Corporation Device 125c (rev 04)
06:00.0 Ethernet controller: Intel Corporation Device 125c (rev 04)

I installed "kmod-mt7921e" and I can now see the card in iw list. To be continued.

2 Likes

Hmm, I got the card recognized but it seems that there are no MT7921K drivers available for OpenWRT.
The nearest I could come to is installing MT7921E driver. It would turn on radio but clients will not connect.

I will continue in hardware forum.