Ubuntu 20.04 中的蓝牙 5.0

Ubuntu 20.04 中的蓝牙 5.0

我刚买了一个新的 USB 蓝牙 5.0。但是,我无法在 Ubuntu 设置中打开蓝牙。但是旧的蓝牙 4.0 USB 可以正常工作。制造商声称它是即插即用的,并且与 Linux 兼容。我的操作系统是 Ubuntu 20.04。有人可以帮忙吗?

没有蓝牙 USB 的 lsusb 输出:

   Bus 002 Device 010: ID 2109:0812 VIA Labs, Inc. VL812 Hub
   Bus 002 Device 016: ID 0781:558c SanDisk Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 008: ID 2109:0812 VIA Labs, Inc. VL812 Hub
   Bus 002 Device 015: ID 0781:5583 SanDisk Corp. Ultra Fit
   Bus 002 Device 006: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 003: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 007: ID 0bc2:5031 Seagate RSS LLC FreeAgent GoFlex USB 3.0
   Bus 002 Device 004: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 009: ID 24ae:2010 RAPOO Rapoo 2.4G Wireless Device
   Bus 001 Device 010: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 007: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 018: ID 2357:0115 TP-Link 802.11ac NIC
   Bus 001 Device 006: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 003: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 021: ID 1058:25a1 Western Digital Technologies, Inc. Elements
   Bus 001 Device 020: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 019: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 004: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

使用蓝牙 5.0 USB 的 lsusb 输出(不起作用):

   Bus 002 Device 010: ID 2109:0812 VIA Labs, Inc. VL812 Hub
   Bus 002 Device 016: ID 0781:558c SanDisk Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 008: ID 2109:0812 VIA Labs, Inc. VL812 Hub
   Bus 002 Device 015: ID 0781:5583 SanDisk Corp. Ultra Fit
   Bus 002 Device 006: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 003: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 007: ID 0bc2:5031 Seagate RSS LLC FreeAgent GoFlex USB 3.0
   Bus 002 Device 004: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 009: ID 24ae:2010 RAPOO Rapoo 2.4G Wireless Device
   Bus 001 Device 010: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 007: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 018: ID 2357:0115 TP-Link 802.11ac NIC
   Bus 001 Device 030: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
   Bus 001 Device 006: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 003: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 021: ID 1058:25a1 Western Digital Technologies, Inc. Elements
   Bus 001 Device 020: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 019: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 004: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

使用蓝牙 4.0 USB 的 lsusb 输出(有效):

   Bus 002 Device 010: ID 2109:0812 VIA Labs, Inc. VL812 Hub
   Bus 002 Device 016: ID 0781:558c SanDisk Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 008: ID 2109:0812 VIA Labs, Inc. VL812 Hub
   Bus 002 Device 015: ID 0781:5583 SanDisk Corp. Ultra Fit
   Bus 002 Device 006: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 003: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 007: ID 0bc2:5031 Seagate RSS LLC FreeAgent GoFlex USB 3.0
   Bus 002 Device 004: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 009: ID 24ae:2010 RAPOO Rapoo 2.4G Wireless Device
   Bus 001 Device 010: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 007: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 018: ID 2357:0115 TP-Link 802.11ac NIC
   Bus 001 Device 031: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
   Bus 001 Device 006: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 003: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 021: ID 1058:25a1 Western Digital Technologies, Inc. Elements
   Bus 001 Device 020: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 019: ID 2109:2812 VIA Labs, Inc. VL812 Hub
   Bus 001 Device 004: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

答案1

我的蓝牙 5.0 加密狗也遇到了同样的问题,在 Ubuntu 20.04 上将内核更新到内核版本 5.15 后,它突然无法工作了。

由于某种原因,Linux 内核 5.15 现在正在寻找 rtl8761bu_fw.bin 和 rtl8761bu_config.bin。

  1. 如果您还没有,请从 GitHub 下载 rtl8761b 配置和蓝牙驱动程序文件:
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
  1. 将文件移动到 /lib/firmware/rtl_bt 目录:
sudo mv rtl8761b_config /lib/firmware/rtl_bt/rtl8761b_config.bin
sudo mv rtl8761b_fw /lib/firmware/rtl_bt/rtl8761b_fw.bin
  1. 将rtl8761b驱动程序重命名为rtl8761bu:
sudo cp /lib/firmware/rtl_bt/rtl8761b_config.bin /lib/firmware/rtl_bt/rtl8761bu_config.bin
sudo cp /lib/firmware/rtl_bt/rtl8761b_fw.bin /lib/firmware/rtl_bt/rtl8761bu_fw.bin
  1. 重启

相关内容