蓝牙音频跳过wifi激活

时间:2017-08-29 01:53:14

标签: ubuntu audio bluetooth

我有一个蓝牙音箱,并让它工作。但音频很糟糕,很多次都会跳过:

Aug 28 21:02:25 test pulseaudio[2537]: [bluetooth] module-bluez5-device.c: Skipping 309976 us (= 54676 bytes) in audio stream
Aug 28 21:02:25 test pulseaudio[2537]: [bluetooth] module-bluez5-device.c: Skipping 84982 us (= 14988 bytes) in audio stream
Aug 28 21:02:26 test pulseaudio[2537]: [bluetooth] module-bluez5-device.c: Skipping 208448 us (= 36768 bytes) in audio stream

由于wifi和BT完全结合,想到关闭wifi连接一段时间: bingo!无线网络禁用BT音频听起来很完美。

lucas@test:~$ sudo lshw -c Network 
  *-network               
   description: Wireless interface
   product: BCM43142 802.11b/g/n
   vendor: Broadcom Corporation
   physical id: 0
   bus info: pci@0000:08:00.0
   logical name: wlo1
   version: 01
   serial: d8:5d:e2:cc:38:5d
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) ip=192.168.0.2 latency=0 multicast=yes wireless=IEEE 802.11
   resources: irq:18 memory:b5500000-b5507fff

lucas@test:~$ sudo lsusb -v | grep Blue
Bus 001 Device 005: ID 0a5c:216c Broadcom Corp. BCM43142A0 Bluetooth    Device
  idProduct          0x216c BCM43142A0 Bluetooth Device

我正在使用......

lucas@test:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:    16.04
Codename:   xenial

lucas@test:~$ uname -a
Linux test 4.10.0-32-generic #36~16.04.1-Ubuntu SMP Wed Aug 9 09:19:02 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

有没有任何可能的方法让BT + wifi激活而不会收到这个不稳定的音频?可能是由于信道干扰?

谢谢!

1 个答案:

答案 0 :(得分:1)

我相信这可以通过设置wifi上的选项来纠正: 尝试编辑/etc/modprobe.d/iwlwifi.conf 并添加: options iwlwifi bt_coex_active = 0 swcrypto = 1 11n_disable = 8 要么 选项iwlwifi bt_coex_active = 0

我在ubuntu 17.10和第二个选项中取得了很好的成绩。

您也可以尝试将内核更新到4.14.1(最新的稳定版)。 确保先进行备份...

该脚本是:

!/斌/庆典

cd / tmp wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14.1/linux-headers-4.14.1-041401_4.14.1-041401.201711210430_all.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14.1/linux-headers-4.14.1-041401-generic_4.14.1-041401.201711210430_amd64.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14.1/linux-image-4.14.1-041401-generic_4.14.1-041401.201711210430_amd64.deb echo Everything已下载。是时候安装了。 sudo dpkg -i linux-headers-4.14.1- .deb linux-image-4.14.1 - .deb echo键入sudo reboot以使用新内核重新启动系统。