Bug 211853 - Realtek ALC295 external headset microphone not working on Acer Spin 5 - SP513-54N
Summary: Realtek ALC295 external headset microphone not working on Acer Spin 5 - SP513...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
Depends on:
Reported: 2021-02-19 18:10 UTC by crysman
Modified: 2021-03-01 17:48 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.8.0-43-generic
Tree: Mainline
Regression: No

alsa-info-0.4.65_output (37.13 KB, text/plain)
2021-02-19 18:10 UTC, crysman

Description crysman 2021-02-19 18:10:45 UTC
Created attachment 295367 [details]

Simply put, external microphone (classic cable jack input) does not work.

I've already described thoroughly the whole issue on various places, choose your favorite:

- https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1912052
- https://askubuntu.com/questions/1305942/external-headset-microphone-not-working-in-ubuntu-20-10-not-even-wired-cable-h

Might be related?:
- https://bugzilla.kernel.org/show_bug.cgi?id=195457#c29

I'm attaching the output of this ( https://git.alsa-project.org/?p=alsa-utils.git;a=blob_plain;f=alsa-info/alsa-info.sh;hb=HEAD )
Comment 1 Takashi Iwai 2021-02-22 10:11:54 UTC
First off, please try the latest kernel, at best 5.11.  It makes further debugging easier.

After confirming the latest kernel still doesn't work, let's try to switch to the legacy HD-audio snd-hda-intel driver; we're checking only about the external mic, and it makes easier to debug, too.  Boot with snd_intel_dspcfg.dsp_driver=1 boot option, and it'll forcibly use the legacy driver.  Note that, with this, the built-in mic won't work with this.

Once after that, you can try to pass a different model option to snd-hda-intel module.
Comment 2 crysman 2021-02-23 19:38:51 UTC
OK, I wait until Ubuntu ships 5.11 natively and then let you know.
5.10 will be not enough in 21.04?

Sad is that it used to work before - until some upgrade along the way...

Meanwhile, just tested "snd_intel_dspcfg.dsp_driver=1" boot option and... nope, has not fixed the problem. There is a change it the name of the device - something like "...Analog input..." instead of something like "...SmartSound Technology..." but external cable mic is not working nevertheless.

Regarding "passing different option to snd-..." I am not sure what you exacly mean? You mean try this "sudo hda-verb /dev/snd/hwC0D0 ...." kinda' hacking?

Thank you!
Comment 3 Takashi Iwai 2021-02-24 09:01:15 UTC
The debug will be based on 5.11.x, so it's better to move it at first.

About the different option to snd-hda-intel: no, you can pass "model" option to snd-hda-intel module to apply some device-specific quirk.  For example,
boot option will apply some Acer-specific workaround.  Or try

There are quite many model options for the Realtek codecs.  A part of available values are found in Documentation/sound/hd-audio/models.rst, the section for ALC269.
Comment 4 Paul Menzel 2021-03-01 17:48:05 UTC
crysman, with Ubuntu you can easily test Linux kernel releases using their builds [1]. Download the package and install with `sudo dpkg -i …`.

[1]: https://kernel.ubuntu.com/~kernel-ppa/mainline/

Note You need to log in before you can comment on or make changes to this bug.