[SRU][Cosmic/Bionic/OEM-B][PATCH 0/1] The front MIC can't work on the Lenovo M715

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[SRU][Cosmic/Bionic/OEM-B][PATCH 0/1] The front MIC can't work on the Lenovo M715

Hui Wang
BugLink: https://bugs.launchpad.net/bugs/1797292

[Impact]
On the machine of Lenovo M715, there are 2 audio jacks on the front panel,
one of them is microphone jack. When we plug a micrphone into it, the system
can't detect this microphone and can't record sound via this microphone too.


[Fix]
Apply the quirk of ALC294_FIXUP_LENOVO_MIC_LOCATION, the alsa driver will
assign a different name to this audio jack, then pulseaudio can handle this
jack and everything works well.


[Test Case]
plug a microphone to this jack and record sound, system can detect the
microphone and can record sound.

[Regression Potential]
Very low, this pin configuration is specific to the machine of
M715 so far, will not affect other machines.

Hui Wang (1):
  ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo
    M715

 sound/pci/hda/patch_realtek.c | 6 ++++++
 1 file changed, 6 insertions(+)

--
2.7.4


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[SRU][Cosmic/Bionic/OEM-B][PATCH 1/1] ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715

Hui Wang
BugLink: https://bugs.launchpad.net/bugs/1797292

The front MIC on the Lenovo M715 can't record sound, after applying
the ALC294_FIXUP_LENOVO_MIC_LOCATION, the problem is fixed. So add
the pin configuration of this machine to the pin quirk table.

Cc: <[hidden email]>
Signed-off-by: Hui Wang <[hidden email]>
Signed-off-by: Takashi Iwai <[hidden email]>
(cherry picked from commit d06fb562bff5d14defdacbd92449bacbaedd5cdf
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git)
Signed-off-by: Hui Wang <[hidden email]>
---
 sound/pci/hda/patch_realtek.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index d2668ed..f2a6092 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6780,6 +6780,12 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
  {0x21, 0x0221101f}),
  SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
  {0x14, 0x90170110},
+ {0x19, 0x02a11030},
+ {0x1a, 0x02a11040},
+ {0x1b, 0x01011020},
+ {0x21, 0x0221101f}),
+ SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
+ {0x14, 0x90170110},
  {0x19, 0x02a11020},
  {0x1a, 0x02a11030},
  {0x21, 0x0221101f}),
--
2.7.4


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

ACK/Cmnt: [SRU][Cosmic/Bionic/OEM-B][PATCH 1/1] ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715

Stefan Bader-2
On 11.10.2018 05:29, Hui Wang wrote:

> BugLink: https://bugs.launchpad.net/bugs/1797292
>
> The front MIC on the Lenovo M715 can't record sound, after applying
> the ALC294_FIXUP_LENOVO_MIC_LOCATION, the problem is fixed. So add
> the pin configuration of this machine to the pin quirk table.
>
> Cc: <[hidden email]>
> Signed-off-by: Hui Wang <[hidden email]>
> Signed-off-by: Takashi Iwai <[hidden email]>
> (cherry picked from commit d06fb562bff5d14defdacbd92449bacbaedd5cdf
> git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git)
> Signed-off-by: Hui Wang <[hidden email]>
Acked-by: Stefan Bader <[hidden email]>
> ---

Maybe we should at least start to tag things not picked from the upstream linux
tree as "UBUNTU: SAUCE: "

-Stefan

>  sound/pci/hda/patch_realtek.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index d2668ed..f2a6092 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -6780,6 +6780,12 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
>   {0x21, 0x0221101f}),
>   SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
>   {0x14, 0x90170110},
> + {0x19, 0x02a11030},
> + {0x1a, 0x02a11040},
> + {0x1b, 0x01011020},
> + {0x21, 0x0221101f}),
> + SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
> + {0x14, 0x90170110},
>   {0x19, 0x02a11020},
>   {0x1a, 0x02a11030},
>   {0x21, 0x0221101f}),
>


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

ACK: [SRU][Cosmic/Bionic/OEM-B][PATCH 0/1] The front MIC can't work on the Lenovo M715

Khaled Elmously
In reply to this post by Hui Wang
On 2018-10-11 11:29:44 , Hui Wang wrote:

> BugLink: https://bugs.launchpad.net/bugs/1797292
>
> [Impact]
> On the machine of Lenovo M715, there are 2 audio jacks on the front panel,
> one of them is microphone jack. When we plug a micrphone into it, the system
> can't detect this microphone and can't record sound via this microphone too.
>
>
> [Fix]
> Apply the quirk of ALC294_FIXUP_LENOVO_MIC_LOCATION, the alsa driver will
> assign a different name to this audio jack, then pulseaudio can handle this
> jack and everything works well.
>
>
> [Test Case]
> plug a microphone to this jack and record sound, system can detect the
> microphone and can record sound.
>
> [Regression Potential]
> Very low, this pin configuration is specific to the machine of
> M715 so far, will not affect other machines.
>
> Hui Wang (1):
>   ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo
>     M715
>
>  sound/pci/hda/patch_realtek.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>

Acked-by: Khalid Elmously <[hidden email]>
 

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

APPLIED[Unstable]: [SRU][Cosmic/Bionic/OEM-B][PATCH 0/1] The front MIC can't work on the Lenovo M715

Seth Forshee
In reply to this post by Hui Wang
On Thu, Oct 11, 2018 at 11:29:44AM +0800, Hui Wang wrote:

> BugLink: https://bugs.launchpad.net/bugs/1797292
>
> [Impact]
> On the machine of Lenovo M715, there are 2 audio jacks on the front panel,
> one of them is microphone jack. When we plug a micrphone into it, the system
> can't detect this microphone and can't record sound via this microphone too.
>
>
> [Fix]
> Apply the quirk of ALC294_FIXUP_LENOVO_MIC_LOCATION, the alsa driver will
> assign a different name to this audio jack, then pulseaudio can handle this
> jack and everything works well.
>
>
> [Test Case]
> plug a microphone to this jack and record sound, system can detect the
> microphone and can record sound.
>
> [Regression Potential]
> Very low, this pin configuration is specific to the machine of
> M715 so far, will not affect other machines.

Applied to unstable/master, thanks!

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

APPLIED(B/C): [SRU][Cosmic/Bionic/OEM-B][PATCH 0/1] The front MIC can't work on the Lenovo M715

Khaled Elmously
In reply to this post by Hui Wang
On 2018-10-11 11:29:44 , Hui Wang wrote:

> BugLink: https://bugs.launchpad.net/bugs/1797292
>
> [Impact]
> On the machine of Lenovo M715, there are 2 audio jacks on the front panel,
> one of them is microphone jack. When we plug a micrphone into it, the system
> can't detect this microphone and can't record sound via this microphone too.
>
>
> [Fix]
> Apply the quirk of ALC294_FIXUP_LENOVO_MIC_LOCATION, the alsa driver will
> assign a different name to this audio jack, then pulseaudio can handle this
> jack and everything works well.
>
>
> [Test Case]
> plug a microphone to this jack and record sound, system can detect the
> microphone and can record sound.
>
> [Regression Potential]
> Very low, this pin configuration is specific to the machine of
> M715 so far, will not affect other machines.
>
> Hui Wang (1):
>   ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo
>     M715
>
>  sound/pci/hda/patch_realtek.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> --
> 2.7.4
>
>
> --
> kernel-team mailing list
> [hidden email]
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team