蓝牙 BCM20702A1 不工作 - Ubuntu 16.04

蓝牙 BCM20702A1 不工作 - Ubuntu 16.04

蓝牙服务正在运行,但无法正常工作。我尝试过这些步骤适用于 BCM20702A1 (ID 105b:e066),但不起作用。我注意到我的usb-devices产品上列出的是 Broadcom BCM20702A0,但上面lsusb显示的是 105b:e066 Foxconn International, Inc.

服务蓝牙状态

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: active (running) since Tue 2017-07-04 12:38:10 ACST; 3min 21s ago
     Docs: man:bluetoothd(8)
 Main PID: 6373 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─6373 /usr/lib/bluetooth/bluetoothd

Jul 04 12:38:10 robson-vb systemd[1]: Starting Bluetooth service...
Jul 04 12:38:10 robson-vb bluetoothd[6373]: Bluetooth daemon 5.37
Jul 04 12:38:10 robson-vb systemd[1]: Started Bluetooth service.
Jul 04 12:38:10 robson-vb bluetoothd[6373]: Starting SDP server
Jul 04 12:38:10 robson-vb bluetoothd[6373]: Bluetooth management interface 1.13

系统盘

Bus 001 Device 003: ID 105b:e066 Foxconn International, Inc. 

usb 设备

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=105b ProdID=e066 Rev=01.12
S:  Manufacturer=Broadcom Corp
S:  Product=BCM20702A0
S:  SerialNumber=342387DAE35E
C:  #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)

dmesg | grep -i blue

[  140.529665] Bluetooth: Core ver 2.21
[  140.529689] Bluetooth: HCI device and connection manager initialized
[  140.529692] Bluetooth: HCI socket layer initialized
[  140.529695] Bluetooth: L2CAP socket layer initialized
[  140.529702] Bluetooth: SCO socket layer initialized
[  140.875501] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  140.875502] Bluetooth: BNEP filters: protocol multicast
[  140.875506] Bluetooth: BNEP socket layer initialized

dmesg | grep -i BCM

[    3.063962] usb 1-1.1: Product: BCM20702A0
[    8.099294] wlan0: Broadcom BCM4359 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)

uname -a

Linux robson-vb 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

有任何想法吗?

答案1

这应该有效

sudo apt-get install build-essential git
git clone https://github.com/jeremyb31/bluetooth-4.8.git
cd bluetooth-4.8
cp /usr/src/linux-headers-$(uname -r)/.config ./
cp /usr/src/linux-headers-$(uname -r)/Module.symvers Module.symvers
make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
sudo cp btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/
sudo depmod -a

重新启动并查看是否有效

内核更新后,需要再次执行上述步骤

cd bluetooth-4.8
make -C /lib/modules/$(uname -r)/build M=$(pwd) clean
cp /usr/src/linux-headers-$(uname -r)/.config ./
cp /usr/src/linux-headers-$(uname -r)/Module.symvers Module.symvers
make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
sudo cp btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/
sudo depmod -a
重启

相关内容