Gra*_*ite 7 sound pulseaudio bluetooth
我有一台运行 Ubuntu 的联想笔记本电脑。我有一副蓝牙耳机,我在笔记本电脑上使用了一段时间,没有问题。现在我已经更新到 20.04,耳机不工作:我已经检查过 i) 蓝牙工作正常,ii) 安装了pulseaudio 和pulseaudio-module-blutooth 模块,iii) 蓝牙看到耳机,以及 iv) 电脑认为它正在向蓝牙发送音频,但声音实际上是通过笔记本电脑扬声器发出的。
systemctl status bluetooth says this:
? bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-04-25 13:18:52 BST; 22min ago
Docs: man:bluetoothd(8)
Main PID: 11368 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 9341)
Memory: 1.8M
CGroup: /system.slice/bluetooth.service
??11368 /usr/lib/bluetooth/bluetoothd
Apr 25 13:18:52 malebranche bluetoothd[11368]: Bluetooth daemon 5.53
Apr 25 13:18:52 malebranche systemd[1]: Started Bluetooth service.
Apr 25 13:18:52 malebranche bluetoothd[11368]: Starting SDP server
Apr 25 13:18:52 malebranche bluetoothd[11368]: Bluetooth management interface 1.14 initialized
Apr 25 13:18:52 malebranche bluetoothd[11368]: Endpoint registered: sender=:1.173 path=/MediaEndpoint/A2DPSink/sbc
Apr 25 13:18:52 malebranche bluetoothd[11368]: Endpoint registered: sender=:1.173 path=/MediaEndpoint/A2DPSource/sbc
Apr 25 13:19:45 malebranche bluetoothd[11368]: /org/bluez/hci0/dev_E8_07_BF_04_1B_D0/sep1/fd0: fd(38) ready
Apr 25 13:21:35 malebranche bluetoothd[11368]: /org/bluez/hci0/dev_E8_07_BF_04_1B_D0/sep1/fd1: fd(53) ready
Apr 25 13:30:53 malebranche bluetoothd[11368]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Apr 25 13:31:09 malebranche bluetoothd[11368]: /org/bluez/hci0/dev_E8_07_BF_04_1B_D0/sep1/fd2: fd(53) ready
Run Code Online (Sandbox Code Playgroud)
但是,声音设置面板说声音是通过耳机输出的,但是当我按下“测试”按钮时,声音是通过笔记本电脑的扬声器发出的。这在配置为 A2DP 或 HSP/HFP 时都会发生。因此,GUI 表示一切正常,而 systemctl status 表示出现问题。
我使用 HP 笔记本电脑和 Skullcandy 蓝牙耳机从 19.10 升级到 20.04 时遇到了完全相同的情况:使用声音面板并将输出更改为耳机不起作用。然而,使用脉冲音频音量控制并将输出切换到耳机将声音重定向到它们。
应该安装脉冲音频,但如果不是:
sudo apt install pulseaudio pulseaudio-module-bluetooth
Run Code Online (Sandbox Code Playgroud)
对于 Ubuntu 团队:这是一个需要修复的错误。
欢呼!
| 归档时间: |
|
| 查看次数: |
8118 次 |
| 最近记录: |