有点类似于这我在 Ubuntu 中配对了我的蓝牙耳机 (Turtle Beach Ear Force PX5),配对后它首先出现在“声音设置”中。它最初不起作用,所以我开始调整一些设置。我调整了麦克风上的设置,突然间输出/输入设备都消失了。该设备适用于 Windows,但为了使其同时与我的手机配合使用(耳机是 2ch),我通常会禁用麦克风,只在需要时启用它。
我捕获了来自 bluetoothd 的调试输出:
bluetoothd[31789]: audio/headset.c:headset_connect_cb() /org/bluez/31789/hci0/dev_00_13_8A_4E_64_03: Connected to 00:13:8A:4E:64:03
bluetoothd[31789]: audio/headset.c:handle_event() Received AT+BRSF=9
bluetoothd[31789]: audio/headset.c:print_hf_features() HFP HF features: "EC and/or NR function" "Voice recognition activation"
bluetoothd[31789]: audio/headset.c:handle_event() Received AT+CIND=?
bluetoothd[31789]: audio/headset.c:handle_event() Received AT+CIND?
bluetoothd[31789]: audio/headset.c:handle_event() Received AT+CMER=3, 0, 0, 1
bluetoothd[31789]: audio/headset.c:event_reporting() Event reporting (CMER): mode=3, ind=1
bluetoothd[31789]: audio/headset.c:hfp_slc_complete() HFP Service Level Connection established
bluetoothd[31789]: audio/telephony.c:telephony_device_connected() telephony-dummy: device 0x7fa1944b6f10 connected
bluetoothd[31789]: audio/headset.c:headset_set_state() State changed /org/bluez/31789/hci0/dev_00_13_8A_4E_64_03: HEADSET_STATE_CONNECTING -> HEADSET_STATE_CONNECTED
bluetoothd[31789]: audio/media.c:headset_state_changed()
bluetoothd[31789]: audio/avdtp.c:avdtp_ref() 0x7fa1944b9e00: ref=2
bluetoothd[31789]: audio/avdtp.c:avdtp_ref() 0x7fa1944b9e00: ref=3
bluetoothd[31789]: audio/sink.c:sink_set_state() State changed /org/bluez/31789/hci0/dev_00_13_8A_4E_64_03: SINK_STATE_DISCONNECTED -> SINK_STATE_CONNECTING
bluetoothd[31789]: audio/avdtp.c:avdtp_unref() 0x7fa1944b9e00: ref=2
bluetoothd[31789]: Connection refused (111)
bluetoothd[31789]: audio/avdtp.c:connection_lost() Disconnected from 00:13:8A:4E:64:03
bluetoothd[31789]: audio/avdtp.c:avdtp_unref() 0x7fa1944b9e00: ref=1
bluetoothd[31789]: audio/sink.c:sink_set_state() State changed /org/bluez/31789/hci0/dev_00_13_8A_4E_64_03: SINK_STATE_CONNECTING -> SINK_STATE_DISCONNECTED
bluetoothd[31789]: audio/sink.c:discovery_complete() connect:connect XCASE detected
bluetoothd[31789]: audio/sink.c:sink_set_state() State changed /org/bluez/31789/hci0/dev_00_13_8A_4E_64_03: SINK_STATE_DISCONNECTED -> SINK_STATE_DISCONNECTED
bluetoothd[31789]: audio/avdtp.c:avdtp_unref() 0x7fa1944b9e00: ref=0
bluetoothd[31789]: audio/avdtp.c:avdtp_unref() 0x7fa1944b9e00: freeing session and removing from list
bluetoothd[31789]: audio/unix.c:server_cb() Accepted new client connection on unix socket (fd=30)
bluetoothd[31789]: audio/sink.c:stream_setup_retry() Stream setup failed, after XCASE connect:connect
我尝试删除并修复该设备,但似乎我意外地在深处设置了一些持久的设备设置,并且该设备不再显示在“声音设置”中,无法让我更改它。有人能指点一下吗?我正在运行 Ubuntu 12.04。
答案1
在这里找到了我的答案:
blt@aurora:/$ pactl list cards short
0 alsa_card.pci-0000_01_00.1 module-alsa-card.c
1 alsa_card.usb-Generic_Turtle_Beach_USB_Headset_0000000001-00-Headset module-alsa-card.c
2 alsa_card.pci-0000_00_14.2 module-alsa-card.c
8 bluez_card.C8_84_47_04_21_6F module-bluetooth-device.c
blt@aurora:/$ pactl set-card-profile bluez_card.C8_84_47_04_21_6F a2dp
并且再次运行
答案2
我遇到了同样的问题,当我调整声音设置时,我的蓝牙耳机突然从输出列表中消失了。
我关注了 Brett 的回答中的链接,并部分关注了 Roelf 的回答:
- 安装 pavucontrol:
sudo apt install pavucontrol
pavucontrol
从菜单运行- 转到“配置”
- 我的蓝牙耳机也有麦克风,所以我将配置文件设置更改为“输出 + 模拟单声道输入”
我改变此项后,耳机和麦克风重新出现在声音设置中。