Skip to contentSkip to conversation

Add quirk for Lenovo X1 Yoga

alsa-devel Kailang 3 participants 5 messages Jan 8, 2020 Sound

lore
Share & tools
lore

Kailang

author
#0 lore raw

Hi Takashi,

Attach patch was for Lenovo X1 Yoga.

BR,
Kailang

From 1b86a9969efc59bf5535b22ae633942c872f4732 Mon Sep 17 00:00:00 2001
From: Kailang Yang <[email protected]>
Date: Wed, 8 Jan 2020 16:47:56 +0800
Subject: [PATCH] ALSA: hda/realtek - Add quirk for the bass speaker on Lenovo Yoga
X1 7th gen

Add quirk to ALC285_FIXUP_SPEAKER2_TO_DAC1.

Fixes d2cd795c4ece ("ALSA: hda - fixup for the bass speaker on Lenovo Carbon X1 7th gen")
sound/pci/hda/patch_realtek.c +1 -0
index 73407b25a777..a008d85a4ea9 100644
@@ -7267,6 +7267,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x17aa, 0x224c, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
 	SND_PCI_QUIRK(0x17aa, 0x224d, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
 	SND_PCI_QUIRK(0x17aa, 0x225d, "Thinkpad T480", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
+	SND_PCI_QUIRK(0x17aa, 0x2292, "Thinkpad X1 Yoga 7th", ALC285_FIXUP_SPEAKER2_TO_DAC1),
 	SND_PCI_QUIRK(0x17aa, 0x2293, "Thinkpad X1 Carbon 7th", ALC285_FIXUP_SPEAKER2_TO_DAC1),
 	SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
 	SND_PCI_QUIRK(0x17aa, 0x30e2, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

maintainer Reviewed-by
#1 lore raw

Dne 08. 01. 20 v 10:19 Kailang napsal(a):

Quoted 3 lines

Hi Takashi,

Attach patch was for Lenovo X1 Yoga.

Remove the 'Fixes:' line. It's the different device. Otherwise:

Quoted 10 lines

BR,
Kailang

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Signature · 6 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#2 lore raw

Hi Jaroslav,

Had Your Redhat kernel implement the Intel SOF driver? PCH Dmic need to enable by SOF driver.
If it had SOF driver, it doesn't need to apply this patch. SOF could via UCM to control bass speaker volume.

BR,
Kailang

Quoted 29 lines

-----Original Message-----
From: Jaroslav Kysela <[email protected]>
Sent: Wednesday, January 8, 2020 5:30 PM
To: Kailang <[email protected]>; Takashi Iwai ([email protected]) <[email protected]>
Cc: ([email protected]) <[email protected]>
Subject: Re: [alsa-devel] Add quirk for Lenovo X1 Yoga

Dne 08. 01. 20 v 10:19 Kailang napsal(a):

Quoted 3 lines

Hi Takashi,

Attach patch was for Lenovo X1 Yoga.

Remove the 'Fixes:' line. It's the different device. Otherwise:

Quoted 10 lines

BR,
Kailang

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Quoted 5 lines

--
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

------Please consider the environment before printing this e-mail.

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

maintainer
#3 lore raw

Dne 08. 01. 20 v 10:37 Kailang napsal(a):

Quoted 6 lines

Hi Jaroslav,

Had Your Redhat kernel implement the Intel SOF driver? PCH Dmic need to enable by SOF driver.
If it had SOF driver, it doesn't need to apply this patch. SOF could via UCM to control bass speaker volume.

Hi,

It's not correct. Those platforms have 4 speakers and we need to route the stereo stream to all of them. The SOF driver uses the same HDA codec driver as the HDA legacy driver (snd-hda-intel), so the situation is similar. UCM just controls, if the second pair speakers is activated or not.

So, we need this for both legacy and SOF, otherwise the "bass" speakers will be routed from another HDA DAC.

Jaroslav

Quoted 38 lines

BR,
Kailang

Quoted 34 lines

-----Original Message-----
From: Jaroslav Kysela <[email protected]>
Sent: Wednesday, January 8, 2020 5:30 PM
To: Kailang <[email protected]>; Takashi Iwai ([email protected]) <[email protected]>
Cc: ([email protected]) <[email protected]>
Subject: Re: [alsa-devel] Add quirk for Lenovo X1 Yoga

Dne 08. 01. 20 v 10:19 Kailang napsal(a):

Quoted 3 lines

Hi Takashi,

Attach patch was for Lenovo X1 Yoga.

Remove the 'Fixes:' line. It's the different device. Otherwise:

Quoted 10 lines

BR,
Kailang

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

--
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

------Please consider the environment before printing this e-mail.

Signature · 6 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#4 lore raw
In reply to Jaroslav Kysela
Quoted 9 lines · Jaroslav Kysela

Dne 08. 01. 20 v 10:19 Kailang napsal(a):

Quoted 3 lines

Hi Takashi,

Attach patch was for Lenovo X1 Yoga.

Remove the 'Fixes:' line. It's the different device. Otherwise:

OK, I updated the description and removed the fixes tag. Now applied.

thanks,

Takashi

Quoted 6 lines
Quoted 6 lines

BR,
Kailang

Quoted 11 lines
Quoted 5 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel