我知道联发科 MT7922 应该能够处理蓝牙,但我无法打开它。我尝试了所有方法,包括重新安装 bluez、btusb 等...
刚才我发现系统似乎认为我的蓝牙是 USB 类型的富士康,即使 MT7922 是 PCIe。
kepler-22b@Horizon-A082:/etc/modprobe.d$ lsusb
Bus 009 Device 002: ID 145f:01e5 Trust Keyboard [GXT 830]
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 1ea7:0064 SHARKOON Technologies GmbH 2.4GHz Wireless rechargeable vertical mouse [More&Better]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0489:e0e0 Foxconn / Hon Hai Wireless_Device
Bus 001 Device 002: ID 0408:5477 Quanta Computer, Inc. HP Wide Vision HD Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
如您所见,没有结果:
kepler-22b@Horizon-A082:~$ sudo dmesg | egrep -i 'blue|firm'
kepler-22b@Horizon-A082:~$
kepler-22b@Horizon-A082:~$ sudo dmesg
[10897.716096] pcieport 0000:00:01.1: AER: Corrected error received: 0000:01:00.0
[10897.716147] nvidia 0000:01:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Receiver ID)
[10897.716152] nvidia 0000:01:00.0: device [10de:25a2] error status/mask=00000040/0000a000
[10897.716159] nvidia 0000:01:00.0: [ 6] BadTLP
[10897.747266] pcieport 0000:00:01.1: AER: Corrected error received: 0000:01:00.0
[10897.747317] nvidia 0000:01:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Receiver ID)
[10897.747326] nvidia 0000:01:00.0: device [10de:25a2] error status/mask=00000040/0000a000
[10897.747331] nvidia 0000:01:00.0: [ 6] BadTLP
...
我重新启动了电脑并再次尝试:
kepler-22b@Horizon-A082:~$ sudo dmesg | egrep -i 'blue|firm'
[sudo] password for kepler-22b:
[ 0.096311] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.278550] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 2.731282] Bluetooth: Core ver 2.22
[ 2.731303] NET: Registered PF_BLUETOOTH protocol family
[ 2.731304] Bluetooth: HCI device and connection manager initialized
[ 2.731306] Bluetooth: HCI socket layer initialized
[ 2.731308] Bluetooth: L2CAP socket layer initialized
[ 2.731312] Bluetooth: SCO socket layer initialized
[ 2.997148] mt7921e 0000:04:00.0: WM Firmware Version: ____000000, Build Time: 20220523103447
[ 3.978585] [drm] Loading DMUB firmware via PSP: version=0x0400002A
[ 3.981232] [drm] Found VCN firmware Version ENC: 1.23 DEC: 2 VEP: 0 Revision: 5
[ 3.981237] amdgpu 0000:06:00.0: amdgpu: Will use PSP to load VCN firmware
[ 4.402662] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4.402666] Bluetooth: BNEP filters: protocol multicast
[ 4.402670] Bluetooth: BNEP socket layer initialized
[ 4.898529] Bluetooth: hci0: Opcode 0x c03 failed: -110
答案1
通过内核升级修复。
我的系统现在运行在 22.04 LTS 上,因为 22.10 使 Nvidia 驱动程序变得复杂,它不但没有解决问题,反而增加了更多问题。
Xanmod 稳定内核 https://www.linuxcapable.com/install-xanmod-kernel-on-ubuntu-linux/
我没有足够的知识来理解上面链接中每条指令的作用,但它解决了问题,直到新的发行版修复这些问题。如果有人解释或指出指令中是否存在问题,我将不胜感激。