Ubuntu 21.04 - 蓝牙 5.0 适配器无法工作并提示没有固件

Dan*_*zew 5 usb bluetooth drivers 21.04

我尝试让我的 USB 蓝牙适配器工作,但它确实说没有固件

lsusb 输出:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 004: ID 413c:2113 Dell Computer Corp. KB216 Wired Keyboard
Bus 001 Device 003: ID 413c:301a Dell Computer Corp. Dell MS116 Optical Mouse
Bus 001 Device 007: ID 2717:ff80 Xiaomi Inc. Mi/Redmi series (RNDIS)
Bus 001 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Run Code Online (Sandbox Code Playgroud)

命令的 dmesg 输出sudo dmesg | grep -i bluetooth

[    2.146047] usb 1-8: Product: Bluetooth Radio
[    3.386019] Bluetooth: Core ver 2.22
[    3.386031] Bluetooth: HCI device and connection manager initialized
[    3.386034] Bluetooth: HCI socket layer initialized
[    3.386035] Bluetooth: L2CAP socket layer initialized
[    3.386038] Bluetooth: SCO socket layer initialized
[    3.443247] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[    3.444088] Bluetooth: hci0: RTL: rom_version status=0 version=1
[    3.444089] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761b_fw.bin
[    3.445239] bluetooth hci0: Direct firmware load for rtl_bt/rtl8761b_fw.bin failed with error -2
[    3.445242] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8761b_fw.bin not found
[    8.604909] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.604912] Bluetooth: BNEP filters: protocol multicast
[    8.604915] Bluetooth: BNEP socket layer initialized
Run Code Online (Sandbox Code Playgroud)

我试图找到适用于 Ubuntu 21.04 的固件,但只有适用于 Ubuntu 20.04 的固件(https://gist.github.com/rometsch/dfd24fb09c85c1ad2f25223dc1481aaa)。因此我想询问一个可能的解决方案。

Nas*_*ari 10

如果您看到以下错误,则您的 Linux 发行版中缺少固件rtl8761b

Direct firmware load for rtl_bt/rtl8761b_fw.bin failed with error -2
firmware file rtl_bt/rtl8761b_fw.bin not found
Run Code Online (Sandbox Code Playgroud)

执行以下命令来安装缺少的固件:

cd /tmp
# Fetch rtl8761b_config and rtl8761b_fw from https://github.com/Realtek-OpenSource/android_hardware_realtek
wget https://raw.githubusercontent.com/Realtek-OpenSource/android_hardware_realtek/rtk1395/bt/rtkbt/Firmware/BT/rtl8761b_config
wget https://raw.githubusercontent.com/Realtek-OpenSource/android_hardware_realtek/rtk1395/bt/rtkbt/Firmware/BT/rtl8761b_fw
mv rtl8761b_config /lib/firmware/rtl_bt/rtl8761b_config.bin
mv rtl8761b_fw /lib/firmware/rtl_bt/rtl8761b_fw.bin
sudo modprobe btusb
sudo systemctl start bluetooth.service
hciconfig -a # will show that the bluetooth-device is up
Run Code Online (Sandbox Code Playgroud)

如果您正在寻找更舒适的解决方案,这里有一个类似的基于脚本的解决方案,可以自动安装缺少的蓝牙固件,包括rtl8761b: https: //unix.stackexchange.com/a/643707/88252

  • 感谢您的回答。我必须将 rtl8761b* 重命名为 rtl8761bu 才能使其与 Armbian 22.08 Jammy 一起使用。 (2认同)