![16.04 版蓝牙耳机问题](https://linux22.com/image/1136189/16.04%20%E7%89%88%E8%93%9D%E7%89%99%E8%80%B3%E6%9C%BA%E9%97%AE%E9%A2%98.png)
我最近从 14.04 升级到了 16.04。我的蓝牙耳机不再工作了。我花了几个小时试图诊断问题,但没有成功。我的蓝牙鼠标仍然可以正常连接。
Headset: Plantronics backbeat pro
USB Dongle: Asus - Broadcom BCM20702A0
我在 14.04 中遇到了一个小问题,我必须在其中包含“Disable=headset”,/etc/bluetooth/audio.conf
但是似乎在最新的 bluez/pulse 音频安排中不再可以访问此文件。
我尝试过清除蓝牙、pulseaudio 和 bluez 并重新安装,但没有成功。任何帮助都将不胜感激
journalctl 记录 USB 加密狗的连接情况:
May 04 19:09:31 kernel: usb 3-4: new full-speed USB device number 4 using xhci_hcd
May 04 19:09:31 kernel: usb 3-4: New USB device found, idVendor=0b05, idProduct=17cb
May 04 19:09:31 kernel: usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 04 19:09:31 kernel: usb 3-4: Product: BCM20702A0
May 04 19:09:31 kernel: usb 3-4: Manufacturer: Broadcom Corp
May 04 19:09:31 kernel: usb 3-4: SerialNumber: 5CF3706C6DB1
May 04 19:09:31 URfkill[924]: adding killswitch type 2 idx 1 soft 0 hard 0
May 04 19:09:31 URfkill[924]: Setting device 1 (BLUETOOTH) to unblocked
May 04 19:09:31 URfkill[924]: set_soft: Setting BLUETOOTH to unblocked
May 04 19:09:31 mtp-probe[5353]: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:1c.0/0000:05:00.0/usb3/3-4"
May 04 19:09:31 kernel: Bluetooth: hci0: BCM: chip id 63
May 04 19:09:31 mtp-probe[5353]: bus: 3, device: 4 was not an MTP device
May 04 19:09:31 kernel: Bluetooth: hci0: BCM20702A
May 04 19:09:31 kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
May 04 19:09:31 kernel: bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0b05-17cb.hcd failed with error -2
May 04 19:09:31 kernel: Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0b05-17cb.hcd not found
May 04 19:09:31 bluetoothd[4595]: Failed to obtain handles for "Service Changed" characteristic
May 04 19:09:31 bluetoothd[4595]: Not enough free handles to register service
May 04 19:09:31 bluetoothd[4595]: Error adding Link Loss service
May 04 19:09:31 bluetoothd[4595]: Not enough free handles to register service
May 04 19:09:31 bluetoothd[4595]: Not enough free handles to register service
May 04 19:09:31 bluetoothd[4595]: Not enough free handles to register service
May 04 19:09:31 bluetoothd[4595]: Current Time Service could not be registered
May 04 19:09:31 bluetoothd[4595]: gatt-time-server: Input/output error (5)
May 04 19:09:31 bluetoothd[4595]: Not enough free handles to register service
May 04 19:09:31 bluetoothd[4595]: Not enough free handles to register service
May 04 19:09:31 bluetoothd[4595]: Sap driver initialization failed.
May 04 19:09:31 bluetoothd[4595]: sap-server: Operation not permitted (1)
*****如果我尝试连接耳机,我会收到以下错误:
May 04 19:01:14 bluetoothd[1180]: Unable to get connect data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
May 04 19:01:14 bluetoothd[1180]: connect error: Too many levels of symbolic links (40)
May 04 19:01:14 bluetoothd[1180]: GLib: Source ID 212 was not found when attempting to remove it
May 04 19:01:16 bluetoothd[1180]: connect error: Too many levels of symbolic links (40)
答案1
您可以从下载所需文件这里。
找到brcm/BCM20702A1-0b05-17cb.hcd
并放入/lib/firmware/brcm/BCM20702A1-0b05-17cb.hcd
。之后只需重新插入蓝牙设备即可。dmesg
将显示固件已正确加载,因此您可以使用 Bluez 软件配置蓝牙。
答案2
问题的关键在于:
May 04 19:09:31 kernel: bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0b05-17cb.hcd failed with error -2
您的配置不适合此蓝牙适配器,因此它所需的固件将无法运行。没有固件,它只是硅片,需要代码才能正常运行,这就是固件。
此链接/lib/firmware/brcm/
应该有正确的固件,但它没有为 Oneiric 以外的 ubuntus 打包,所以你需要自己安装