在 Ubuntu 22.04, 5.15.0-40-generic 上,Wi-Fi 可以工作,但是蓝牙不工作。
瘦身
$ sudo lshw -class network -short
H/W path Device Class Description
===================================================================
/0/100/1d/0 eno1 network RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1d.1/0 wlo1 network RTL8723DE 802.11b/g/n PCIe Adapter
消息
$ sudo dmesg | grep Bluetooth
没有返回任何输出。
修改
$ sudo lsmod | grep bt
没有返回任何输出。
蓝牙服务状态
$ sudo systemctl status bluetooth
○ bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
Jun 27 14:28:16 beast systemd[1]: Condition check resulted in Bluetooth service being skipped.
Jun 27 14:28:41 beast systemd[1]: Condition check resulted in Bluetooth service being skipped.
Jun 27 14:29:09 beast systemd[1]: Condition check resulted in Bluetooth service being skipped.
Jun 27 14:38:14 beast systemd[1]: Condition check resulted in Bluetooth service being skipped.
Jun 27 14:41:51 beast systemd[1]: Condition check resulted in Bluetooth service being skipped.
Jun 27 14:46:53 beast systemd[1]: Condition check resulted in Bluetooth service being skipped.
我尝试在 BIOS 中切换安全启动和传统启动,但没有结果。我的 BIOS 是最新的。
内容/lib/固件/{rtlwifi,rtl_bt,rtw88,rtw89}
$ ls /lib/firmware/{rtlwifi,rtl_bt,rtw88,rtw89} | grep 8723
rtl8723a_fw.bin
rtl8723b_fw.bin
rtl8723bs_config-OBDA0623.bin
rtl8723bs_config-OBDA8723.bin
rtl8723bs_fw.bin
rtl8723d_config.bin
rtl8723d_fw.bin
rtl8723aufw_A.bin
rtl8723aufw_B.bin
rtl8723aufw_B_NoBT.bin
rtl8723befw_36.bin
rtl8723befw.bin
rtl8723bs_ap_wowlan.bin
rtl8723bs_bt.bin
rtl8723bs_nic.bin
rtl8723bs_wowlan.bin
rtl8723bu_ap_wowlan.bin
rtl8723bu_nic.bin
rtl8723bu_wowlan.bin
rtl8723defw.bin
rtl8723fw_B.bin
rtl8723fw.bin
rtw8723d_fw.bin
我不使用双启动。
蓝牙硬件良好,可以与 Windows 10 配合使用。
我已经安装了 BlueZ 和蓝牙包。
使用modeprobe btusb
添加模块,允许启动服务。但bluetoothctl devices
没有返回任何输出。
编辑:
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 05c8:03d2 Cheng Uei Precision Industry Co., Ltd (Foxlink) HP TrueVision HD Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg 没有输出,如前所述。但在 之后modprobe btusb
,返回
$ sudo dmesg | grep -i blue
[ 2449.651756] Bluetooth: Core ver 2.22
[ 2449.651796] NET: Registered PF_BLUETOOTH protocol family
[ 2449.651797] Bluetooth: HCI device and connection manager initialized
[ 2449.651802] Bluetooth: HCI socket layer initialized
[ 2449.651804] Bluetooth: L2CAP socket layer initialized
[ 2449.651808] Bluetooth: SCO socket layer initialized
[ 2475.797043] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2475.797046] Bluetooth: BNEP filters: protocol multicast
[ 2475.797049] Bluetooth: BNEP socket layer initialized
答案1
在非 CSM 模式下重新安装 Ubuntu 解决了该问题。