Had a similar problem with Lenovo S740 (Ubuntu 18.04, 19.10 and 20.04). Tried different combinations in alsa-base.conf, hda-jack-retask - nothing worked.
What I've done is I appended next two lines to /etc/pulse/default.pa:
# /etc/pulse/default.pa
load-module module-alsa-sink device=hw:0,0 channels=2 # note that I used 2 here
load-module module-alsa-source device=hw:0,6 channels=2
```
For those of you having problems in Ubuntu 20.04 with Realtek ALC285 this could be a solution.
❯ uname -a
Linux anton-Lenovo-Yoga-S740-14IIL 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Now internal microphone records audio, please try to see if it helps you
Had a similar problem with Lenovo S740 (Ubuntu 18.04, 19.10 and 20.04). Tried different combinations in alsa-base.conf, hda-jack-retask - nothing worked.
And then surprisingly this thread helped (see https:/ /gist.github. com/hamidzr/ dd81e429dc86f43 27ded7a2030e7d7 d9#gistcomment- 3315737 ).
What I've done is I appended next two lines to /etc/pulse/ default. pa:
# /etc/pulse/ default. pa
load-module module-alsa-sink device=hw:0,0 channels=2 # note that I used 2 here
load-module module-alsa-source device=hw:0,6 channels=2
```
For those of you having problems in Ubuntu 20.04 with Realtek ALC285 this could be a solution.
❯ uname -a Yoga-S740- 14IIL 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Linux anton-Lenovo-
Now internal microphone records audio, please try to see if it helps you