Mic isnt working on linux

the mic previously worked in chrome os and windows however whenever i switched the only bug was that the mic was dead or makes loud noises out of no where. i think this realtek card always bugs with linux





In your last screenshot is the microphone (Mic) chanel shown as MM=muted. Try to select this chanel and press the m key to unmute it. It should show 00.

3 Likes

edit: thanks for the reply:D
i turned the value 00 of Mic as you mentioned and the results are unchanged :,(


Please open a terminal and enter:

sudo lshw -C audio

and post back results please.

i entered the command it showed usb then nothing and i recorded again but the results are unchanged:(

OK, let's go the whole hog:

sudo lshw -short

pushed the command showed me the following:


" HP Spectre x360 internal microphone not working on Linux is a known issue, especially with newer models using Intel Smart Sound Technology (SST) and digital microphone arrays (DMIC). The problem often stems from the audio driver configuration and hardware detection.

Root Cause

The internal microphone is typically a digital mic array (DMIC) , which is not properly supported by the legacy snd-hda-intel driver used in older Linux kernels. The newer SOF (Sound Open Firmware) driver is required for full DMIC support, but it's not available in older distributions like Ubuntu 18.04 or Linux Mint 19.3.

Solutions

  • Use the SOF driver : The most reliable fix is to switch to the SOF audio driver . This requires:
    • A kernel version 5.4 or later (preferably 5.15+).
    • Installing sof-firmware and linux-firmware packages.
    • Adding snd_sof_pci and snd_sof_intel_hda_common to the kernel modules.
    • Ensuring the snd_hda_intel.dmic_detect=0 kernel parameter is set to disable legacy detection.
  • Kernel parameter fix : Add the following line to your GRUB configuration (/etc/default/grub ):
GRUB_CMDLINE_LINUX_DEFAULT="... snd_hda_intel.dmic_detect=0"

Then run sudo update-grub and reboot. This forces the use of the legacy driver, which may work for some models.

  • Pin configuration with hdajackretask : If the mic is detected but not working, use alsa-tools-gui (or hdajackretask ) to map pin 0x12 (or 0x13) to Internal Mic . This is a common workaround for ALC285/ALC295 codecs.
  • Custom kernel (if needed) : For newer HP Envy/Spectre models with AMD Renoir or Intel Tiger Lake chips, building a custom kernel with CONFIG_SND_SOC_AMD_RENOIR=m or equivalent may be required.

Distribution-Specific Notes

  • Linux Mint 19.3 : The legacy driver is used by default. Internal mic won't work until Mint 20+ with SOF support.
  • Ubuntu 20.04+ : SOF support is included, but may require firmware updates.
  • Arch Linux : SOF support is available via sof-firmware and linux kernel.

:white_check_mark: Recommended : Upgrade to a modern Linux distribution (e.g., Ubuntu 22.04+, Linux Mint 21+, or Arch) and ensure sof-firmware is installed. Use dmesg | grep -i dmic to verify DMIC detection after boot.

AI-generated answer. Please verify critical facts."