购买了蓝牙适配器(TP-LINK UB500),但系统无法运行蓝牙。我有 Windows 10 的双机位,在 Windows 系统上,适配器运行正常。
问题:加密狗已成功连接,但在设置窗口中显示:
未找到蓝牙
插入适配器即可使用蓝牙
更多细节:
lusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. USB3.2 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 003: ID 0b05:1939 ASUSTek Computer, Inc. AURA LED Controller
Bus 001 Device 007: ID 20d6:2016
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 2357:0604 TP-Link
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. USB2.1 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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)
rugp. 15 21:04:13 devpc systemd[1]: Condition check resulted in Bluetooth service being skipped.
rugp. 15 19:07:49 devpc systemd[1]: Condition check resulted in Bluetooth service being skipped.
系统提示btusb模块未安装
modprobe btusb
modprobe: FATAL: Module btusb not found in directory /lib/modules/5.15.0-46-generic
但是当尝试找到它时,它返回:
locate btusb
/home/viktoras/linux-5.15/Documentation/devicetree/bindings/net/btusb.txt
/home/viktoras/linux-5.15/drivers/bluetooth/.btusb.c.swp
/home/viktoras/linux-5.15/drivers/bluetooth/.btusb.ko.cmd
/home/viktoras/linux-5.15/drivers/bluetooth/.btusb.mod.cmd
/home/viktoras/linux-5.15/drivers/bluetooth/.btusb.mod.o.cmd
/home/viktoras/linux-5.15/drivers/bluetooth/.btusb.o.cmd
/home/viktoras/linux-5.15/drivers/bluetooth/btusb.c
/home/viktoras/linux-5.15/drivers/bluetooth/btusb.ko
/home/viktoras/linux-5.15/drivers/bluetooth/btusb.mod
/home/viktoras/linux-5.15/drivers/bluetooth/btusb.mod.c
/home/viktoras/linux-5.15/drivers/bluetooth/btusb.mod.o
/home/viktoras/linux-5.15/drivers/bluetooth/btusb.o
/usr/lib/modules/5.15.0-43-generic/kernel/drivers/bluetooth/btusb.ko
/usr/lib/modules/5.15.0-46-generic/kernel/drivers/bluetooth/btusb.ko
/usr/lib/modules/5.15.0-46-generic/kernel/drivers/bluetooth/btusb.ko.bak
/usr/lib/modules/5.15.0-46-generic/kernel/drivers/bluetooth/btusb_bak
/usr/lib/modules/5.15.0-46-generic/kernel/drivers/bluetooth/rtk_btusb.ko
有人能帮我解决这个问题吗?有什么建议吗?
答案1
我能够在 Ubuntu 20.04 上连接我的 UB500。
运行后sudo dmesg | grep -i bluetooth
我发现缺少以下固件文件:
Bluetooth RTL: firmware file rtl_bt/rtl8761bu_fw.bin not found
我的解决方案:
复制rtl8761b_fw固件:
cp /usr/lib/firmware/rtl_bt/rtl8761b_fw.bin /usr/lib/firmware/rtl_bt/rtl8761bu_fw.bin
cp /usr/lib/firmware/rtl_bt/rtl8761b_config.bin /usr/lib/firmware/rtl_bt/rtl8761bu_config.bin
运行 modprobe:
sudo modprobe btusb
重启蓝牙服务:
sudo systemctl restart bluetooth.service
然后重新插入蓝牙适配器。
答案2
就我而言,我在这个论坛找到了解决方案。
唯一的区别是要重命名的文件的名称:
rtl8761bu_fw.bin, rtl8761bu_config.bin
sudo cp rtl8761b_config /usr/lib/firmware/rtl_bt/rtl8761bu_config.bin
sudo cp rtl8761b_fw /usr/lib/firmware/rtl_bt/rtl8761bu_fw.bin
答案3
我一直在寻找 TP-Link Ubuntu TP-Link UB500 是否可以在 Ubuntu 上运行。我买了一个来亲自测试,可以说它在 Ubuntu 22.04 上开箱即用。
答案4
我的台式机上没有安装蓝牙。
我按照以下步骤操作,最后蓝牙工作正常:
sudo apt install bluetooth
sudo modprobe btusb
sudo systemctl restart bluetooth.service
服务重启后,请拔下并重新插入蓝牙适配器(TP-LINK UB500)
笔记:
我正在使用 Ubuntu 23.10 和内核 Linux 6.5.0-10-generic #10-Ubuntu