我刚买了一个Tp-link蓝牙5.0 USB适配器(UB500),我检查过它的芯片是Realtek RTL8761B。
在Windows 10上它工作得很好,但在Ubuntu上却遇到了问题。
我正在运行Ubuntu 21.10,并刚刚升级到最新的稳定内核版本:5.14.14。
在升级之前,我尝试了这个解决方案,但没有成功:https://linuxreviews.org/Realtek_RTL8761B
我几乎尝试了网上找到的所有方法,但大多数解决方案都不适用,因为没有明显的问题:适配器似乎已经正确安装并正常工作,但扫描却无法检测到任何蓝牙设备。我尝试了两个耳机(我知道它们是正常工作的)和我的手机,但都没有成功。当我在手机上进行扫描时,电脑没有显示出来,即使我将其设置为可见。
我无法弄清楚问题出在哪里。
我无法弄清楚问题出在哪里。
dmesg |grep -i bluetooth
[ 3.596913] Bluetooth: Core ver 2.22
[ 3.596935] NET: Registered PF_BLUETOOTH protocol family
[ 3.596936] Bluetooth: HCI device and connection manager initialized
[ 3.596939] Bluetooth: HCI socket layer initialized
[ 3.596941] Bluetooth: L2CAP socket layer initialized
[ 3.596945] Bluetooth: SCO socket layer initialized
[ 93.519895] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 93.519899] Bluetooth: BNEP filters: protocol multicast
[ 93.519903] Bluetooth: BNEP socket layer initialized
[ 144.060814] Bluetooth: RFCOMM TTY layer initialized
[ 144.060821] Bluetooth: RFCOMM socket layer initialized
[ 144.060825] Bluetooth: RFCOMM ver 1.11
hciconfig -a
hci0: Type: Primary Bus: USB
BD Address: E8:48:B8:C8:20:00 ACL MTU: 1021:6 SCO MTU: 255:12
UP RUNNING
RX bytes:4264 acl:0 sco:0 events:560 errors:0
TX bytes:9000 acl:0 sco:0 commands:490 errors:0
Features: 0xff 0xff 0xff 0xfe 0xdb 0xfd 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'gaia-ubuntu-desktop'
Class: 0x7c0104
Service Classes: Rendering, Capturing, Object Transfer, Audio, Telephony
Device Class: Computer, Desktop workstation
HCI Version: 5.1 (0xa) Revision: 0xb
LMP Version: 5.1 (0xa) Subversion: 0x8761
Manufacturer: Realtek Semiconductor Corporation (93)
rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 046d:0826 Logitech, Inc. HD Webcam C525
Bus 003 Device 003: ID 04b8:013d Seiko Epson Corp. Epson Perfection V39
Bus 003 Device 002: ID 0c76:2068 JMTek, LLC. USB MIC-SG01
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 2357:0604 TP-Link TP%Link UB500 Adapter
Bus 001 Device 002: ID 062a:3633 MosArt Semiconductor Corp. Full-Speed Mouse
Bus 001 Device 004: ID 145f:0176 Trust Isla Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
usb-devices | awk '/0604/' RS=
T: Bus=01 Lev=01 Prnt=01 Port=07 Cnt=03 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=2357 ProdID=0604 Rev=02.00
S: Manufacturer=
S: Product=TP%Link UB500 Adapter
S: SerialNumber=E848B8C82000
C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I: If#=0x1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
lsusb
显示了什么? - Pilot6usb-devices | awk '/0604/' RS=
的输出结果。 - Pilot6btusb.c
中。我建议在Launchpad上提交一个错误报告。但也可以创建一个带有代码的小型DKMS模块。 - Pilot6