与此类似,我在 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 …Run Code Online (Sandbox Code Playgroud)