我有 Sennheiser pxc550-ii 蓝牙耳机,我想将其与我的 Ubuntu 20.04 桌面配对,并让 aptx-hd 和 aptx-ll 编解码器正常工作。值得注意的是,我已经安装了后者这ppa。还值得注意的是,我可以使用 bt 与我的 bt 扬声器完美配对。
我尝试使用默认的 bloothtooth 工具以及 blueman-manager。在这两个工具中,我都可以在可用蓝牙设备列表中看到耳机,但都无法配对。
然后我转向关注这指南,他们建议的命令的输出是:
第一个命令:
jam@jam-ncase:~$ lsmod | grep bluetooth
bluetooth 454656 49 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic 16384 2 bluetooth
rfkill 28672 11 asus_wmi,bluetooth,cfg80211
crc16 16384 2 bluetooth,ext4
第二条命令:
jam@jam-ncase:~$ dmesg | grep Bluetooth
[ 2.285152] Bluetooth: Core ver 2.22
[ 2.285162] Bluetooth: HCI device and connection manager initialized
[ 2.285165] Bluetooth: HCI socket layer initialized
[ 2.285166] Bluetooth: L2CAP socket layer initialized
[ 2.285168] Bluetooth: SCO socket layer initialized
[ 2.302897] Bluetooth: hci0: read Intel version: 3707100180012d0d2a
[ 2.302898] Bluetooth: hci0: Intel device is already patched. patch num: 2a
[ 2.354229] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.354230] Bluetooth: BNEP filters: protocol multicast
[ 2.354232] Bluetooth: BNEP socket layer initialized
[ 6.314639] Bluetooth: RFCOMM TTY layer initialized
[ 6.314643] Bluetooth: RFCOMM socket layer initialized
[ 6.314646] Bluetooth: RFCOMM ver 1.11
第三条命令:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-08-26 09:01:38 BST; 5min ago
Docs: man:bluetoothd(8)
Main PID: 6075 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 19076)
Memory: 1.9M
CGroup: /system.slice/bluetooth.service
└─6075 /usr/lib/bluetooth/bluetoothd
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Bluetooth management interface 1.16 initialized
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSource/VENDOR/LDAC
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSource/VENDOR/APTXHD
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSource/VENDOR/APTX
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSource/AAC
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSource/SBC
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSink/VENDOR/APTXHD
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSink/VENDOR/APTX
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSink/AAC
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSink/SBC
第四:
jam@jam-ncase:~$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
我也注意到了这个错误信息:
jam@jam-ncase:~$ pactl load-module module-bluetooth-discover
Failure: Module initialisation failed
当我尝试配对/连接时,可以找到终端输出这里该文件中最引人注目的一行是:
> HCI Event: Disconnect Complete (0x05) plen 4 #56 [hci0] 25.099314
Status: Success (0x00)
Handle: 256
Reason: Remote Device Terminated due to Power Off (0x15)
不过我的耳机确实开机了。有人能建议我该如何解决这个问题吗?
答案1
我发现这很好用为什么我会收到“连接 PulseAudio 失败”错误?.看一眼吧(:
快速注释:
sudo apt-get--purge--reinstall 安装 pulseaudio
sudo nano /etc/pulse/client.conf [将变量 autospawn = now/yes 更改为 autospawn = no]
重启
帕武控制
现在您可以选择可用的蓝牙设备进行声音输出