![X670 Elite AX WiFi/BT (RZ616) 在 22.04 上不可用](https://linux22.com/image/1195846/X670%20Elite%20AX%20WiFi%2FBT%20(RZ616)%20%E5%9C%A8%2022.04%20%E4%B8%8A%E4%B8%8D%E5%8F%AF%E7%94%A8.png)
问题
无法使我的 X670 Elite AX 上的 RZ616 (MT7922A22M) WiFi + BT 控制器出现在 Ubuntu 中。
nmcli d
enp14s0 ethernet connected ASUS 10G NIC
br-487453fc8154 bridge connected (externally) br-487453fc8154
br-65946a0e6f0b bridge connected (externally) br-65946a0e6f0b
br-b483ca36a405 bridge connected (externally) br-b483ca36a405
docker0 bridge connected (externally) docker0
enp16s0 ethernet unavailable --
lo loopback unmanaged --
- enp14s0是安装在 PCIE 插槽的 10G 网卡。
- enp16s0X670 Elite AX 上的 Realtek 2.5GbE LAN 是什么
- 未列出 WiFi 控制器。
lshw -C network
:
*-network
description: Ethernet interface
product: Aquantia Corp.
vendor: Aquantia Corp.
physical id: 0
bus info: pci@0000:0e:00.0
logical name: enp14s0
version: 03
serial: 58:11:22:52:f1:ca
size: 1Gbit/s
capacity: 10Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list rom ethernet physical tp 10bt-fd 100bt-fd 1000bt-fd 10000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=atlantic driverversion=5.19.0-46-generic duplex=full firmware=1.3.18 ip=10.4.0.105 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:24 memory:fb800000-fb87ffff memory:fb8a0000-fb8a0fff memory:fb400000-fb7fffff memory:fb880000-fb89ffff
*-network
description: Ethernet interface
product: RTL8125 2.5GbE Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:10:00.0
logical name: enp16s0
version: 05
serial: 74:56:3c:47:46:7d
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.19.0-46-generic firmware=rtl8125b-2_0.0.2 07/13/20 latency=0 link=no multicast=yes port=twisted pair
resources: irq:40 ioport:e000(size=256) memory:fbf00000-fbf0ffff memory:fbf10000-fbf13fff
*-network
description: Network controller
product: MEDIATEK Corp.
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:11:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm bus_master cap_list
configuration: driver=mt7921e latency=0
resources: irq:171 memory:fbc00000-fbcfffff memory:fbd00000-fbd07fff
最后一项是 WiFi 设备。
lspci -k -vv
(适用于 WiFi 设备):
11:00.0 Network controller: MEDIATEK Corp. Device 0616
Subsystem: MEDIATEK Corp. Device 0616
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 171
Region 0: Memory at fbc00000 (64-bit, prefetchable) [size=1M]
Region 2: Memory at fbd00000 (64-bit, non-prefetchable) [size=32K]
Capabilities: [80] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 26.000W
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
LnkCap: Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <8us
ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- TPHComp- ExtTPHComp-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled,
AtomicOpsCtl: ReqEn-
LnkCap2: Supported Link Speeds: 2.5-5GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+
Address: 00000000fee03000 Data: 0025
Masking: fffffffe Pending: 00000000
Capabilities: [f8] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100 v1] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?>
Capabilities: [108 v1] Latency Tolerance Reporting
Max snoop latency: 0ns
Max no snoop latency: 0ns
Capabilities: [110 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=3us PortTPowerOnTime=52us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=262144ns
L1SubCtl2: T_PwrOn=150us
Capabilities: [200 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Kernel driver in use: mt7921e
Kernel modules: mt7921e
其他信息
- Ubuntu 22.04运行
5.19.0-46-generic
版本linux-generic-hwe-22.04
5.19.0.46.47~22.04.21
- 根据我的研究,我认为 RZ616 得到了支持
mt7922
(尽管lspci
显示使用mt7921e
?) /lib/firmware/mediatek
包含相关补丁:BT_RAM_CODE_MT7922_1_1_hdr.bin
,,WIFI_MT7922_patch_mcu_1_1_hdr.bin
WIFI_RAM_CODE_MT7922_1.bin
背景
一周前用 AORUS X670 Elite AX 设置了一个新系统,安装了 22.04 LTS。WiFi 似乎运行了一段时间(可能有点慢)。关机一夜,第二天早上,系统无法启动。也许是安装了内核更新?
设法从 Live USB 恢复,启动到 Ubuntu。在此过程中,我尝试了很多不同的事情……
- ...安装最新的主流 Linux 内核 6.4,
update-initramfs
由于 amdgpu-dkms 无法构建,导致安装失败。我最终清除了这个内核,因为上述故障导致我的系统无法启动:删除它允许成功update-initramfs
。 - ...
amdgpu
尝试让 6.4 内核工作时重新安装驱动程序。但显然它们没有使用 6.x 内核进行构建/安装。
最后终于成功重启到 Ubuntu(现在启动速度慢了很多,USB 错误等),但 WiFI 断了。我怀疑是启动配置/模块/驱动程序/更新的内核出了问题,但不能完全确定。
答案1
好吧,这看起来有点荒谬,但解决方案是关机,断开计算机电源几分钟,重新连接电源线,然后重新启动。
令人惊讶的是,我遇到的很多问题(缺少 WiFi、启动缓慢、USB 错误等)似乎都得到了解决(可能相关)。
我能提供的最佳解释是...
USB 2/3 device descriptor read64, error -110
我查看了在非常缓慢的启动过程中出现的一组看似不相关的 USB 错误( ),并遇到了这些线程:
- https://stackoverflow.com/questions/13653692/device-descriptor-read-64-error-110
- https://ubuntuforums.org/showthread.php?t=1610142
在最后一个链接上:
在查看了其他一些帖子后,我发现了一些问题。其中一个帖子提到了电源问题。我断开了机器,而不是关机 -P,然后重新连接了电源线。
我不仅能够像 9100 那样用 LVM 进行格式化,而且重新安装后,没有关于 USB 端口的错误消息,键盘可以完美运行。
因此遵循这个建议是有效的。之后,情况看起来不错nmcli d
:
wlp17s0 wifi connected Home
br-487453fc8154 bridge connected (externally) br-487453fc8154
br-65946a0e6f0b bridge connected (externally) br-65946a0e6f0b
br-b483ca36a405 bridge connected (externally) br-b483ca36a405
docker0 bridge connected (externally) docker0
enp16s0 ethernet disconnected --
enp14s0 ethernet unavailable --
lo loopback unmanaged --
解决方案表明这是电源管理问题。也许是它让 WiFi 设备处于不稳定、不可用的状态?这让我有点担心主板。但至少我有一个临时解决方案。