蓝牙耳机一段时间后停止播放声音

蓝牙耳机一段时间后停止播放声音

我有一台 Sennheiser HD 4.4,我可以将它连接到我的 14.04 Ubuntu。我还使用 A2DP 设置了配置pavucontrol,它工作了一段时间。但大约两分钟后,播放任何声音的所有内容都会冻结,耳机本身会从输出接收器中移除,并且蓝牙设置中的连接栏也会关闭,如发布的图片所示!一旦我断开耳机,YouTube 就会开始正常工作

在此处输入图片描述

如果我重启电脑并从头开始进行配对过程,这个问题就会解决。但几分钟后它又会变得很疯狂。

lspci -knn | grep Net -A3; lsusb根据要求,这是问题发生后的输出:

04:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
Subsystem: Dell Device [1028:0209]
Kernel driver in use: ath9k
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:0184 Realtek Semiconductor Corp. RTS5182 Card Reader
Bus 003 Device 004: ID 045e:07a5 Microsoft Corp. Wireless Receiver 1461C
Bus 003 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 003 Device 005: ID 0cf3:e004 Atheros Communications, Inc. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

答案1

有些用户报告称,当蓝牙连接未发送任何数据时,会出现巨大的延迟,甚至没有声音。这是由于模块空闲时挂起模块导致的,该模块会在空闲时自动挂起接收器/源。由于这会导致耳机出现问题,因此可以停用负责的模块。

要禁用 module-suspend-on-idle 模块的加载,请在正在使用的配置文件中注释掉以下行 (~/.config/pulse/default.pa/etc/pulse/default.pa):

### Automatically suspend sinks/sources that become idle for too long
#load-module module-suspend-on-idle

最后重新启动 PulseAudio 以应用更改。

来源:https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Bluetooth_headset_replay_problems

答案2

这是同时使用 Wi-Fi 和蓝牙时出现的问题。它们共享 2.4 GHz 的相同无线电频率。您可以通过打开蓝牙共存功能来解决这个问题。

在终端中运行

sudo tee /etc/modprobe.d/ath9k.conf <<< "options ath9k btcoex_enable=1"

然后重新启动。

相关内容