MediaTek Inc. MT7612U 802.11a/b/g/n/ac 无线适配器在 Kubuntu 22.10 上运行缓慢

MediaTek Inc. MT7612U 802.11a/b/g/n/ac 无线适配器在 Kubuntu 22.10 上运行缓慢

更新:当它变慢并且 USB 停止工作时,如果我尝试重新启动,我会收到此消息:

mt76x2u 3-4:1.0: vendor request req:07 off:0430 failed:-71

操作系统:Kubuntu 22.10 KDE Plasma 版本:5.25.5 KDE Frameworks 版本:5.98.0 Qt 版本:5.15.6 内核版本:5.19.0-29-generic(64 位) 图形平台:X11 处理器:6 × AMD Ryzen 5 3500X 6 核处理器 内存:15.6 GiB RAM 图形处理器:AMD Radeon RX 560 系列

>> sudo dmesg | grep mt76

[   13.991544] mt76x2u 2-1:1.0: ASIC revision: 76120044
[   14.187531] mt76x2u 2-1:1.0: ROM patch build: 20141115060606a
[   14.432237] mt76x2u 2-1:1.0: Firmware Version: 0.0.00
[   14.432242] mt76x2u 2-1:1.0: Build: 1
[   14.432244] mt76x2u 2-1:1.0: Build Time: 201507311614____
[   15.729352] usbcore: registered new interface driver mt76x2u
[   15.784584] mt76x2u 2-1:1.0 wlx0013ef8f123e: renamed from wlan0
[   63.773161] Workqueue: mt76 mt76u_tx_status_data [mt76_usb]
[   63.773366]  mt76x02_send_tx_status+0x25f/0x480 [mt76x02_lib]
[   63.773377]  mt76x02_tx_status_data+0x52/0x80 [mt76x02_lib]
[   63.773386]  mt76u_tx_status_data+0x67/0xd0 [mt76_usb]
[  299.700710] mt76x2u 2-1:1.0: MAC error detected
[  300.028658] mt76x2u 2-1:1.0: MAC error detected
[  300.140629] mt76x2u 2-1:1.0: timed out waiting for pending tx
[  353.066515] mt76x2u 3-4:1.0: ASIC revision: 76120044
[  353.138936] mt76x2u 3-4:1.0: ROM patch build: 20141115060606a
[  353.304685] mt76x2u 3-4:1.0: Firmware Version: 0.0.00
[  353.304689] mt76x2u 3-4:1.0: Build: 1
[  353.304690] mt76x2u 3-4:1.0: Build Time: 201507311614____
[  354.332978] mt76x2u 3-4:1.0 wlx0013ef8f123e: renamed from wlan0

>> sudo dmesg | grep 80211

[27596.696402] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'
[27598.696295] ieee80211 phy4: Selected rate control algorithm 'minstrel_ht'
[28037.256384] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[28039.262674] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
[54462.015374] ieee80211 phy7: Selected rate control algorithm 'minstrel_ht'

我买了一个联发科的 wifi 适配器。MT7612U 内置内核,因此应该不会有任何问题,但互联网速度比应有的速度慢得多。最终速度恢复正常,但经常变得非常慢。那些时候,如果我尝试检查 lsusb,它会永远挂起,如果我重新启动,它会不断循环显示有关供应商问题的消息(我忘了如何在命令行中检查此消息,因为当这种情况发生时我被迫进行硬重置)

>> sudo dmesg -w

https://pastebin.com/p9G6xuAx

关于如何调试它,有什么建议吗?

答案1

我在安装 22.10 后将补丁添加到内核源代码中。我的类似 wifi 适配器似乎没有同样的问题,添加补丁也没有导致问题,因此在终端中执行

sudo mv /lib/modules/5.19.0-29-generic/kernel/net/mac80211/mac80211.ko /lib/modules/5.19.0-29-generic/kernel/net/mac80211/mac80211.ko.bak
cd /lib/modules/5.19.0-29-generic/kernel/net/mac80211/
sudo wget https://gitlab.com/jeremy.bomkamp/mac80211/-/raw/main/mac80211.ko

重新启动并查看是否能修复

相关内容