未找到蓝牙设备 | Ubuntu 20.04.5

未找到蓝牙设备 | Ubuntu 20.04.5

开机后找不到蓝牙设备。要连接的设备与我的手机和旧机器配合良好。我使用的是 Ubuntu 20.04.5 LTS。

$ lspci -knn | grep Net -A3; lsusb
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
    DeviceName: Realtek Wireless LAN + BT
    Subsystem: Hewlett-Packard Company Device [103c:88e3]
    Kernel driver in use: rtl8852be
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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 0bda:b85c Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 002: ID 05c8:0b04 Cheng Uei Precision Industry Co., Ltd (Foxlink) HP Wide Vision HD Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ systemctl | grep -i blue
  sys-devices-pci0000:00-0000:00:08.1-0000:03:00.3-usb1-1\x2d4-1\x2d4:1.0-bluetooth-hci0.device loaded active     plugged   /sys/devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-4/1-4:1.0/bluetooth/hci0
  sys-subsystem-bluetooth-devices-hci0.device                                                   loaded active     plugged   /sys/subsystem/bluetooth/devices/hci0                                            
  bluetooth.service                                                                             loaded active     running   Bluetooth service                                                                
  bluetooth.target                                                                              loaded active     active    Bluetooth
$ dmesg | grep -i blue
[    1.930607] usb 1-4: Product: Bluetooth Radio
[    2.692372] Bluetooth: Core ver 2.22
[    2.692618] NET: Registered PF_BLUETOOTH protocol family
[    2.692620] Bluetooth: HCI device and connection manager initialized
[    2.692625] Bluetooth: HCI socket layer initialized
[    2.692628] Bluetooth: L2CAP socket layer initialized
[    2.692632] Bluetooth: SCO socket layer initialized
[    2.836399] Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000b lmp_ver=0b lmp_subver=8852
[    2.836404] Bluetooth: hci0: RTL: unknown IC info, lmp subver 8852, hci rev 000b, hci ver 000b
[    2.836408] Bluetooth: hci0: RTL: assuming no firmware upload needed
[    4.131674] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.131680] Bluetooth: BNEP filters: protocol multicast
[    4.131687] Bluetooth: BNEP socket layer initialized
[   12.760766] Bluetooth: RFCOMM TTY layer initialized
[   12.760777] Bluetooth: RFCOMM socket layer initialized
[   12.760783] Bluetooth: RFCOMM ver 1.11
[  184.779533] Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000b lmp_ver=0b lmp_subver=8852
[  184.779543] Bluetooth: hci0: RTL: unknown IC info, lmp subver 8852, hci rev 000b, hci ver 000b
[  184.779546] Bluetooth: hci0: RTL: assuming no firmware upload needed
[  477.986714] Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000b lmp_ver=0b lmp_subver=8852
[  477.986725] Bluetooth: hci0: RTL: unknown IC info, lmp subver 8852, hci rev 000b, hci ver 000b
[  477.986729] Bluetooth: hci0: RTL: assuming no firmware upload needed
[ 1729.638529] Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000b lmp_ver=0b lmp_subver=8852
[ 1729.638541] Bluetooth: hci0: RTL: unknown IC info, lmp subver 8852, hci rev 000b, hci ver 000b
[ 1729.638546] Bluetooth: hci0: RTL: assuming no firmware upload needed
$ rfkill list all
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
4: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
$ sudo apt list | grep "bluez\|blueman"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

blueman/focal-updates 2.1.2-1ubuntu0.3 amd64
bluez-btsco/focal 1:0.50-0ubuntu7 amd64
bluez-cups/focal-updates,focal-security,now 5.53-0ubuntu3.6 amd64 [installed,automatic]
bluez-dbg/focal-updates,focal-security 5.53-0ubuntu3.6 amd64
bluez-dbg/focal-updates,focal-security 5.53-0ubuntu3.6 i386
bluez-hcidump/focal-updates,focal-security 5.53-0ubuntu3.6 amd64
bluez-hcidump/focal-updates,focal-security 5.53-0ubuntu3.6 i386
bluez-obexd/focal-updates,focal-security,now 5.53-0ubuntu3.6 amd64 [installed,automatic]
bluez-obexd/focal-updates,focal-security 5.53-0ubuntu3.6 i386
bluez-tests/focal-updates,focal-security 5.53-0ubuntu3.6 amd64
bluez-tests/focal-updates,focal-security 5.53-0ubuntu3.6 i386
bluez-tools/focal 2.0~20170911.0.7cb788c-2build1 amd64
bluez/focal-updates,focal-security,now 5.53-0ubuntu3.6 amd64 [installed,automatic]
bluez/focal-updates,focal-security 5.53-0ubuntu3.6 i386
libkf5bluezqt-data/focal,focal 5.68.0-0ubuntu1 all
libkf5bluezqt-dev/focal 5.68.0-0ubuntu1 amd64
libkf5bluezqt-doc/focal,focal 5.68.0-0ubuntu1 all
libkf5bluezqt6/focal 5.68.0-0ubuntu1 amd64
python-bluez/focal 0.22+really0.22-1build2 amd64
python3-bluez/focal 0.22+really0.22-1build2 amd64
qml-module-org-kde-bluezqt/focal 5.68.0-0ubuntu1 amd64

尝试 1

我尝试删除并加载btusb模块(如此处建议:https://askubuntu.com/a/1267032/1384407),但问题仍然存在。

第二次尝试

我也尝试安装bluemanrtbth-dkms按照这里的建议https://askubuntu.com/a/1238076/1384407。重启后,启动时出现以下错误blueman-manager

$ sudo blueman-manager
blueman-manager version 2.1.2 starting
Failed to enable bluetooth

Open dev fail: No such device or address此外,运行时我也会出现错误sudo modprobe rtbth

笔记

不知道这是否相关,但我的 WiFi 无法正常工作,并且我按照这个答案让它正常工作:https://askubuntu.com/a/1415950/1384407

答案1

我通过安装此驱动程序解决了这个问题:https://github.com/HRex39/rtl8852be_bt。我按照这里建议的安装步骤进行操作:https://github.com/HRex39/rtl8852be_bt#usage重启后蓝牙可以正常工作(禁用安全启动)。

相关内容