我有 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)
不过我的耳机肯定是开机的。有人可以建议我应该如何尝试解决这个问题吗?
我发现这工作得很好为什么我会收到“与 PulseAudio 的连接失败”的错误?.看看它一次(:
速记:
sudo apt-get --purge --reinstall install pulseaudio
sudo nano /etc/pulse/client.conf [将变量 autospawn = now/yes 更改为 autospawn = no]
重启
帕武控制
现在您可以选择可用的蓝牙设备进行声音输出