我正在尝试将蓝牙键盘与我的联想 Ideapad Z70-50 配对。
$ hcitool scan
Scanning ...
但什么也没找到,尽管我的键盘处于发现模式。该设备可以正常工作,因为我可以将其与平板电脑配对。我尝试提供以下设置的详细信息。
有什么建议吗?谢谢!
$ uname -a
Linux zen 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ lspci | grep Net
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
$ lsmod | grep bt
btcoexist 50429 1 rtl8723be
btusb 32448 0
bluetooth 446190 22 bnep,btusb,rfcomm
$ rfkill list
0: ideapad_wlan: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
4: phy1: Wireless LAN
Soft blocked: yes
Hard blocked: no
$ sudo hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:71:CC:1B:13:3C ACL MTU: 820:8 SCO MTU: 255:16
UP RUNNING PSCAN ISCAN
RX bytes:1363 acl:0 sco:0 events:99 errors:0
TX bytes:1286 acl:0 sco:0 commands:92 errors:0
$ dmesg | grep -i blue
[ 3.012078] usb 2-7: Product: Bluetooth Radio
[ 26.753961] Bluetooth: Core ver 2.19
[ 26.753985] Bluetooth: HCI device and connection manager initialized
[ 26.753991] Bluetooth: HCI socket layer initialized
[ 26.753992] Bluetooth: L2CAP socket layer initialized
[ 26.753999] Bluetooth: SCO socket layer initialized
[ 27.540874] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 27.540878] Bluetooth: BNEP filters: protocol multicast
[ 27.540889] Bluetooth: BNEP socket layer initialized
[ 27.761547] Bluetooth: RFCOMM TTY layer initialized
[ 27.761558] Bluetooth: RFCOMM socket layer initialized
[ 27.761563] Bluetooth: RFCOMM ver 1.11
$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 0bda:b728 Realtek Semiconductor Corp.
Bus 002 Device 004: ID 5986:055e Acer, Inc
Bus 002 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 009: ID 0b95:772a ASIX Electronics Corp. AX88772A Fast Ethernet
Bus 002 Device 008: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 002 Device 007: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 002 Device 006: ID 2001:3c15 D-Link Corp. DWA-140 RangeBooster N Adapter(rev.B3) [Ralink RT5372]
Bus 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
答案1
问题出在 wifi 中的 realtek 设备,请参阅Bus 002 Device 005: ID 0bda:b728 Realtek Semiconductor Corp.
此设备无法工作,但在您尝试使用其他 USB 蓝牙适配器时会导致它们出现问题。今天晚些时候,我可以为您构建一个 btusb.ko 模块,它将像我一样忽略 Realtek禁用内部 RTL8723 蓝牙
但是请为您的内核进行修改,因为我在此处发布的版本仅适用于 3.13.0-44。重启后,此版本仍有很小的可能性可以正常工作。
echo "install btusb /sbin/modprobe --ignore-install btusb && echo '0bda b728' > /sys/bus/usb/drivers/btusb/remove_id" | sudo tee /etc/modprobe.d/bcmbtusb.conf