Make your external mic to work through 3.5 mm jack on Acer Swift 5 SF514-52T ALC255

archerallstars

Archer Allstars

Posted on August 15, 2023

Make your external mic to work through 3.5 mm jack on Acer Swift 5 SF514-52T ALC255

If you're using Acer Swift 5 SF514-52T, your external mic will not work through 3.5 mm jack even on Linux kernel 6.4.11. But there's an easy fix by:

  1. Make sure you're using the HDA driver by putting options snd-intel-dspcfg dsp_driver=1 inside the snd-intel.conf file in the /etc/modprobe.d directory.

    Note: This driver will make your internal mic (DMIC) unusable, but your external mic, HDMI audio, speaker, etc. will work without any issue. If you want your internal mic to work, you'll need to use the SST driver options snd-intel-dspcfg dsp_driver=2, but it's very unstable, and HDMI audio will not work.

  2. Create a new text file called snd-hda-intel.conf.

  3. Put options snd-hda-intel model=1025:1330 inside the snd-hda-intel.conf file.

  4. Move the snd-hda-intel.conf file to the /etc/modprobe.d directory.

  5. Open a new terminal window, and run sudo dracut --force.

  6. Reboot.

Now, your external mic should work through 3.5 mm jack. My external mic (4 pole 3.5 mm jack) works flawlessly 🎙️

Note: If the mic doesn't work unless you replugged, please run these 2 commands below respectively:

sudo hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x45
sudo hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0xd489
Enter fullscreen mode Exit fullscreen mode

You can create a desktop file using MenuLibre instead, so you don't have to remember the lengthy command above. For example:

sh -c "sudo hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x45 && sudo hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0xd489"
Enter fullscreen mode Exit fullscreen mode

How is the upstream effort to make this works out of the box?

Engine Fixing

Effort in the HDA driver

I reported this issue on SUSE Bugzilla – Bug 1213187. I am still trying to test and report the info needed as per requested. Any help would be appreciated.

Effort in the AVS driver (options snd-intel-dspcfg dsp_driver=4)

I reported this issue on the avs-topology-xml repo, issue #20. I still need to learn how to build the topology files from sources. Any help would be appreciated.


I hope this helps.


Cover Photo by Jonathan Farber on Unsplash

Engine Fixing Photo by Sten Rademaker on Unsplash

💖 💪 🙅 🚩
archerallstars
Archer Allstars

Posted on August 15, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related