Dyl*_*lan 10 bluetooth broadcom drivers a2dp bluetooth-speaker
我有一个 Broadcom 内置蓝牙适配器。它是模型BCM20702A0
( Vendor=0a5c ProdID=21e1 Rev=01.12
) 我能够运行 A2DP 功能,但不能运行 HSP/HFP 模式。我尝试了不同的固件和不同的配置,/etc/bluetooth/audio.conf
但没有运气。有谁知道我能做什么?我搜索并搜索了谷歌并尝试了两个小时的各种事情。以为我会给你大师一试。以下是我的系统详细信息,如果您需要其他任何信息,请告诉我。
dylan@laptop:~$ uname -a
Linux laptop 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:10:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
dylan@laptop:~$ dmesg | grep Bluetooth
[ 4.179038] Bluetooth: Core ver 2.20
[ 4.179051] Bluetooth: HCI device and connection manager initialized
[ 4.179054] Bluetooth: HCI socket layer initialized
[ 4.179056] Bluetooth: L2CAP socket layer initialized
[ 4.179060] Bluetooth: SCO socket layer initialized
[ 5.501272] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 5.501275] Bluetooth: BNEP filters: protocol multicast
[ 5.501281] Bluetooth: BNEP socket layer initialized
[ 5.508181] Bluetooth: RFCOMM TTY layer initialized
[ 5.508188] Bluetooth: RFCOMM socket layer initialized
[ 5.508193] Bluetooth: RFCOMM ver 1.11
USB-DEVICES...
T: Bus=04 Lev=02 Prnt=02 Port=05 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=0a5c ProdID=21e1 Rev=01.12
S: Manufacturer=Broadcom Corp
S: Product=BCM20702A0
S: SerialNumber=083E8E9B280C
C: #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb
I: If#= 1 Alt= 2 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb
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)
dylan@laptop:~$ dkms status; uname -a
bcmwl, 6.30.223.248+bdcom, 3.19.0-16-generic, x86_64: installed
bcmwl, 6.30.223.248+bdcom, 3.19.0-18-generic, x86_64: installed
bcmwl, 6.30.223.248+bdcom, 3.19.0-20-generic, x86_64: installed
bcmwl, 6.30.223.248+bdcom, 3.19.0-21-generic, x86_64: installed
vboxhost, 4.3.28, 3.19.0-16-generic, x86_64: installed
vboxhost, 4.3.28, 3.19.0-18-generic, x86_64: installed
vboxhost, 4.3.28, 3.19.0-20-generic, x86_64: installed
vboxhost, 4.3.28, 3.19.0-21-generic, x86_64: installed
Linux laptop 3.19.0-21-generic #21-Ubuntu SMP Sun Jun 14 18:31:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
dylan@laptop:~$ dmesg | grep -i bluetooth; dmesg | grep firmware
[ 4.085160] Bluetooth: Core ver 2.20
[ 4.085171] Bluetooth: HCI device and connection manager initialized
[ 4.085175] Bluetooth: HCI socket layer initialized
[ 4.085176] Bluetooth: L2CAP socket layer initialized
[ 4.085181] Bluetooth: SCO socket layer initialized
[ 4.109764] bluetooth hci0: Direct firmware load for brcm/BCM20702A0-0a5c-21e1.hcd failed with error -2
[ 4.109773] Bluetooth: hci0: BCM: patch brcm/BCM20702A0-0a5c-21e1.hcd not found
[ 5.332794] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 5.332797] Bluetooth: BNEP filters: protocol multicast
[ 5.332803] Bluetooth: BNEP socket layer initialized
[ 5.346411] Bluetooth: RFCOMM TTY layer initialized
[ 5.346419] Bluetooth: RFCOMM socket layer initialized
[ 5.346425] Bluetooth: RFCOMM ver 1.11
[ 4.109764] bluetooth hci0: Direct firmware load for brcm/BCM20702A0-0a5c-21e1.hcd failed with error -2
Run Code Online (Sandbox Code Playgroud)
我会试试这个:
wget https://www.dropbox.com/s/owropuric6iz898/BCM20702A0-05ac-21e1.hcd
sudo cp BCM20702A0-05ac-21e1.hcd /lib/firmware/brcm/BCM20702A0-0a5c-21e1.hcd
sudo modprobe -r btusb
sudo modprobe btusb
Run Code Online (Sandbox Code Playgroud)
然后检查dmesg | tail
任何信息:
sudo apt-get install linux-headers-$(uname -r) build-essential
wget https://www.dropbox.com/s/xu80svavlazttaf/bluetooth-3.19.tar.gz
tar xpvf bluetooth-3.19.tar.gz
cd bluetooth
cp /boot/config-$(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 modprobe -r btusb
sudo modprobe btusb
Run Code Online (Sandbox Code Playgroud)
看看它是否有效
内核更新后,您将丢失 HSP/HFP。发生这种情况时,您应该这样做:
cd bluetooth
make -C /lib/modules/$(uname -r)/build M=$PWD clean
cp /boot/config-$(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 modprobe -r btusb
sudo modprobe btusb
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
12742 次 |
最近记录: |