This ThinkCentre machine has a new realtek codec alc222, it is not
in the support list, we add it in the realtek.c then this machine
can apply FIXUPs for the realtek codec.
And this machine has two front mics which can't be handled
by PA so far, it uses the pin 0x18 and 0x19 as the front mics, as
a result the existing FIXUP ALC294_FIXUP_LENOVO_MIC_LOCATION doesn't
work on this machine. Fortunately another FIXUP
ALC283_FIXUP_HEADSET_MIC also can change the location for one of the
two mics on this machine.
On Fri, Sep 06, 2019 at 11:51:13AM +0800, Hui Wang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1842998 >
> This machine user a new realtek codec and has two
> front mics, the PA can't handle two front mics, then it
> can't record sound via these two mics.
> Apply an existing fixup to fix this issue.
> [Test Case]
> After applying the patch, plug an external mic or headset-mic
> to the mic jack or headset jack, system can detect them and can
> record the sound from it too.
> [Regression Risk]
> Low. just add an existing fixup to this new machine.
This commit is upstream in v5.3-rc8, so not needed for eoan. This
therefore does not need to be sauce and can be an upstream cherry pick.
With those changes: