You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 22.04蓝牙耳机连接后立即断开且麦克风配置无效求助

Ubuntu 22.04蓝牙耳机连接后立即断开且麦克风配置无效求助

Hey there, sorry to hear you're stuck with this Bluetooth mic and connection hassle on Ubuntu 22.04—let’s dig into this step by step!

First, let’s recap what you’ve shared: you dual-booted Ubuntu 22.04 which worked fine initially, but when trying to set up your Bluetooth earphones for a call, the hdajackretask + pavucontrol fix that worked on another machine didn’t help here. Now your Bluetooth connection fails immediately, and your syslog throws this error:

Nov 9 20:26:54 kungf bluetoothd[527]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for 04:CB:88:D0:F4:9A: Protocol not available

Let’s start with the Bluetooth connection issue first, since that error points directly to a protocol problem:

  • Check and restart the Bluetooth service
    Run this command to see if the service is running properly:

    sudo systemctl status bluetooth
    

    If you see any errors or it’s inactive, restart it with:

    sudo systemctl restart bluetooth
    
  • Re-pair your earphones properly
    Go to Ubuntu’s Bluetooth settings, find your earphone (04:CB:88:D0:F4:9A), click "Remove Device", then re-search and pair it. When pairing, make sure to select the Headset (HFP/HSP) mode instead of just "Speaker (A2DP)"—HFP/HSP is the profile that supports microphone input, while A2DP is only for audio output.

  • Install missing Bluetooth audio modules
    Sometimes the PulseAudio Bluetooth module is missing or not loaded. Install it with:

    sudo apt install pulseaudio-module-bluetooth
    

    Then restart PulseAudio to apply changes:

    pulseaudio -k && pulseaudio --start
    

Now let’s tackle the microphone configuration issue, since the hdajackretask method didn’t work this time:

  • Confirm your exact sound card model
    Different HDA Intel cards have different pin layouts. Run this command to get your card details:

    lspci | grep -i audio
    

    This will help you find more specific pin override guides for your card if needed.

  • Adjust other pins in hdajackretask
    Open hdajackretask again (either via the app menu or hdajackretask in terminal), make sure you’ve selected the correct sound card (if you have multiple). If 0x18/19/16/12 didn’t work, look for other unconnected pins (check "Show unconnected pins") and try setting them to "Microphone" via override. Click "Apply now" to test immediately before setting the boot override.

  • Check ALSA mixer settings
    Sometimes the microphone is muted at the ALSA level. Open the mixer with:

    alsamixer
    

    Press F6 to select your sound card, then look for any channels labeled "Mic" or "Internal Mic". Ensure they’re not muted (look for "OO" instead of "MM") and turn up the volume to a reasonable level.

For dual-boot systems, don’t forget this critical step:

  • Disable Fast Startup in Windows
    Fast Startup keeps hardware in a semi-hibernated state, which can cause Ubuntu to misdetect devices. In Windows:
    1. Open Control Panel → Power Options
    2. Click "Choose what the power buttons do"
    3. Click "Change settings that are currently unavailable"
    4. Uncheck "Turn on fast startup (recommended)"
    5. Save changes, shut down Windows completely, then boot into Ubuntu.

If none of the above works, let’s gather more info to troubleshoot further:

  • Run bluetoothctl in terminal, then enter scan on to find your earphone. Next, run connect 04:CB:88:D0:F4:9A and share the full error output—this will give more clues about why the connection fails.
  • Run pacmd list-sources and check if your Bluetooth microphone appears as an input source.

备注:内容来源于stack exchange,提问作者TheMaroonKnight

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 09:20:30