Ubuntu 18.04 lts 设置中看不到耳机麦克风

Ubuntu 18.04 lts 设置中看不到耳机麦克风

我有联想 T420 ThinkPad、Ubuntu 18.04 lts 和蓝牙耳机飞利浦 tah4205。当我使用命令显示设备时:

pcmd list-cards
    index: 1
name: <bluez_card.98_D3_31_05_B8_33>
driver: <module-bluez5-device.c>
owner module: 28
properties:
    device.description = "Philips TAH4205"
    device.string = "98:D3:31:05:B8:33"
    device.api = "bluez"
    device.class = "sound"
    device.bus = "bluetooth"
    device.form_factor = "headset"
    bluez.path = "/org/bluez/hci0/dev_98_D3_31_05_B8_33"
    bluez.class = "0x240404"
    bluez.alias = "Philips TAH4205"
    device.icon_name = "audio-headset-bluetooth"
    device.intended_roles = "phone"
profiles:
    a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: yes)
    headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: no)
    off: Off (priority 0, available: yes)
active profile: <a2dp_sink>
sinks:
    bluez_sink.98_D3_31_05_B8_33.a2dp_sink/#1: Philips TAH4205
sources:
    bluez_sink.98_D3_31_05_B8_33.a2dp_sink.monitor/#2: Monitor of Philips TAH4205
ports:
    headset-output: Headset (priority 0, latency offset 0 usec, available: yes)
        properties:
            
    headset-input: Headset (priority 0, latency offset 0 usec, available: no)
        properties:

最后一行显示不可用

headset-input: Headset (priority 0, latency offset 0 usec, available: no)
            properties:

我尝试了像 PulseAudio 和 PulseAudio 这样的东西,但是选择它们却什么也没有发生,或者像以下命令:

pacmd set-source-port 1 analog-input-headset-mic

但得到

No source found by this name or index.

我能否让耳机麦克风在 Ubuntu 上工作?输出工作正常

当我去的时候https://www.onlinemictest.com/我收到:麦克风未获授权。请检查您的媒体权限设置。

 pacmd list | grep "active port"
    active port: <analog-output-speaker>
    active port: <headset-output>
    active port: <analog-input-internal-mic>

因此耳机输入不是活动端口

答案1

这是 ubuntu18 中 PulseAudio 的一个众所周知的限制(与 logitech H800 的行为相同):

https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1181 https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/94

一种解决方法称为“oFono”。

相关内容