I am not getting sound on the speakers on my Thinkpad X1 Carbon Gen 12 with kernel 6.11.2 The sound is working in kernel 6.8
Dean Menezes
On Tue, Oct 15, 2024 at 07:47:22PM -0500, Dean Matthew Menezes wrote:
I am not getting sound on the speakers on my Thinkpad X1 Carbon Gen 12 with kernel 6.11.2 The sound is working in kernel 6.8
Can you use 'git bisect' to track down the offending change?
thanks,
greg k-h
On 16.10.24 07:42, Greg KH wrote:
On Tue, Oct 15, 2024 at 07:47:22PM -0500, Dean Matthew Menezes wrote:
I am not getting sound on the speakers on my Thinkpad X1 Carbon Gen 12 with kernel 6.11.2 The sound is working in kernel 6.8
Can you use 'git bisect' to track down the offending change?
Yeah, that would help a lot.
But FWIW, I CCed the audio maintainers and the sound mailing list, with a bit of luck they might have an idea.
You might also want to publish your dmesg files from the latest working and the first broken kernel, that gives people a chance to spot obvious problems. Ohh, and runing alsa-info.sh and publishing the output could help, too.
Ciao, Thorsten
On Wed, 16 Oct 2024 07:56:09 +0200, Linux regression tracking (Thorsten Leemhuis) wrote:
On 16.10.24 07:42, Greg KH wrote:
On Tue, Oct 15, 2024 at 07:47:22PM -0500, Dean Matthew Menezes wrote:
I am not getting sound on the speakers on my Thinkpad X1 Carbon Gen 12 with kernel 6.11.2 The sound is working in kernel 6.8
Can you use 'git bisect' to track down the offending change?
Yeah, that would help a lot.
But FWIW, I CCed the audio maintainers and the sound mailing list, with a bit of luck they might have an idea.
You might also want to publish your dmesg files from the latest working and the first broken kernel, that gives people a chance to spot obvious problems. Ohh, and runing alsa-info.sh and publishing the output could help, too.
Yes, alsa-info.sh outputs are really needed for debugging, especially because Lenovo has (literally) hundreds of different models.
Please run the script with --no-upload option and attach the outputs from both working and non-working cases.
thanks,
Takashi
OK I have run the script and have attached the outputs.
On Wed, 16 Oct 2024 at 04:20, Takashi Iwai tiwai@suse.de wrote:
On Wed, 16 Oct 2024 07:56:09 +0200, Linux regression tracking (Thorsten Leemhuis) wrote:
On 16.10.24 07:42, Greg KH wrote:
On Tue, Oct 15, 2024 at 07:47:22PM -0500, Dean Matthew Menezes wrote:
I am not getting sound on the speakers on my Thinkpad X1 Carbon Gen 12 with kernel 6.11.2 The sound is working in kernel 6.8
Can you use 'git bisect' to track down the offending change?
Yeah, that would help a lot.
But FWIW, I CCed the audio maintainers and the sound mailing list, with a bit of luck they might have an idea.
You might also want to publish your dmesg files from the latest working and the first broken kernel, that gives people a chance to spot obvious problems. Ohh, and runing alsa-info.sh and publishing the output could help, too.
Yes, alsa-info.sh outputs are really needed for debugging, especially because Lenovo has (literally) hundreds of different models.
Please run the script with --no-upload option and attach the outputs from both working and non-working cases.
thanks,
Takashi
On Wed, 16 Oct 2024 23:18:02 +0200, Dean Matthew Menezes wrote:
OK I have run the script and have attached the outputs.
Please avoid top-posting.
On Wed, 16 Oct 2024 at 04:20, Takashi Iwai tiwai@suse.de wrote:
On Wed, 16 Oct 2024 07:56:09 +0200, Linux regression tracking (Thorsten Leemhuis) wrote:
On 16.10.24 07:42, Greg KH wrote:
On Tue, Oct 15, 2024 at 07:47:22PM -0500, Dean Matthew Menezes wrote:
I am not getting sound on the speakers on my Thinkpad X1 Carbon Gen 12 with kernel 6.11.2 The sound is working in kernel 6.8
Can you use 'git bisect' to track down the offending change?
Yeah, that would help a lot.
But FWIW, I CCed the audio maintainers and the sound mailing list, with a bit of luck they might have an idea.
You might also want to publish your dmesg files from the latest working and the first broken kernel, that gives people a chance to spot obvious problems. Ohh, and runing alsa-info.sh and publishing the output could help, too.
Yes, alsa-info.sh outputs are really needed for debugging, especially because Lenovo has (literally) hundreds of different models.
Please run the script with --no-upload option and attach the outputs from both working and non-working cases.
So the problem seems to be the newly added quirk for fixing S4 issue forgot the existing quirk for the speaker. The patch below should address the problem. Please give it a try.
thanks,
Takashi
-- 8< -- From: Takashi Iwai tiwai@suse.de Subject: [PATCH] ALSA: hda/realtek: Fix speaker output on Thinkpad X1 Carbon Gen 12
The fix for S4 issue on some Thinkpad models in commit 1e707769df07 ("ALSA: hda/realtek - Set GPIO3 to default at S4 state for Thinkpad with ALC1318") caused a regression of the missing speaker output, as the newly added quirk entry forgot that there was an implicitly applied quirk matching with the pincfg, which determines the speaker DAC connection and the I2S setup.
Correct the chained quirk entry to point to the right one, ALC287_FIXUP_THINKPAD_I2S_SPK, to address the regression.
Fixes: 1e707769df07 ("ALSA: hda/realtek - Set GPIO3 to default at S4 state for Thinkpad with ALC1318") Reported-by: Dean Matthew Menezes dean.menezes@utexas.edu Closes: https://lore.kernel.org/all/CAEkK70Tke7UxMEEKgRLMntSYeMqiv0PC8st72VYnBVQD-Kc... Signed-off-by: Takashi Iwai tiwai@suse.de --- sound/pci/hda/patch_realtek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 3bbf5fab2881..cc77b4967400 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10097,7 +10097,7 @@ static const struct hda_fixup alc269_fixups[] = { .type = HDA_FIXUP_FUNC, .v.func = alc287_fixup_lenovo_thinkpad_with_alc1318, .chained = true, - .chain_id = ALC269_FIXUP_THINKPAD_ACPI + .chain_id = ALC287_FIXUP_THINKPAD_I2S_SPK }, [ALC256_FIXUP_CHROME_BOOK] = { .type = HDA_FIXUP_FUNC,
I tried the patch on the Thinkpad X1 Carbon Gen 12 but it didn't work. There is still no sound from the speakers.
On Sun, 20 Oct 2024 01:11:39 +0200, Dean Matthew Menezes wrote:
With the patch I get this alsa-info.sh
The status looks OK; at least the DAC assignment is identical with the working case with 6.8 kernel. But I noticed that your device doesn't seem needing the I2S amp, judging from the module list. Please give the dmesg outputs from both working and non-working cases, as requested earlier, for further analysis, too.
Then check the following change instead of the previous one:
-- 8< -- --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10754,8 +10754,8 @@ static const struct hda_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x17aa, 0x2318, "Thinkpad Z13 Gen2", ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD), SND_PCI_QUIRK(0x17aa, 0x2319, "Thinkpad Z16 Gen2", ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD), SND_PCI_QUIRK(0x17aa, 0x231a, "Thinkpad Z16 Gen2", ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD), - SND_PCI_QUIRK(0x17aa, 0x231e, "Thinkpad", ALC287_FIXUP_LENOVO_THKPAD_WH_ALC1318), - SND_PCI_QUIRK(0x17aa, 0x231f, "Thinkpad", ALC287_FIXUP_LENOVO_THKPAD_WH_ALC1318), + SND_PCI_QUIRK(0x17aa, 0x231e, "Thinkpad", ALC287_FIXUP_THINKPAD_I2S_SPK), + SND_PCI_QUIRK(0x17aa, 0x231f, "Thinkpad", ALC287_FIXUP_THINKPAD_I2S_SPK), SND_PCI_QUIRK(0x17aa, 0x2326, "Hera2", ALC287_FIXUP_TAS2781_I2C), 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), -- 8< --
If this doesn't work, let's try to get rid of those entries, instead:
-- 8< -- --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10754,8 +10754,8 @@ static const struct hda_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x17aa, 0x2318, "Thinkpad Z13 Gen2", ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD), SND_PCI_QUIRK(0x17aa, 0x2319, "Thinkpad Z16 Gen2", ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD), SND_PCI_QUIRK(0x17aa, 0x231a, "Thinkpad Z16 Gen2", ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD), - SND_PCI_QUIRK(0x17aa, 0x231e, "Thinkpad", ALC287_FIXUP_LENOVO_THKPAD_WH_ALC1318), - SND_PCI_QUIRK(0x17aa, 0x231f, "Thinkpad", ALC287_FIXUP_LENOVO_THKPAD_WH_ALC1318), +// SND_PCI_QUIRK(0x17aa, 0x231e, "Thinkpad", ALC287_FIXUP_LENOVO_THKPAD_WH_ALC1318), +// SND_PCI_QUIRK(0x17aa, 0x231f, "Thinkpad", ALC287_FIXUP_LENOVO_THKPAD_WH_ALC1318), SND_PCI_QUIRK(0x17aa, 0x2326, "Hera2", ALC287_FIXUP_TAS2781_I2C), 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), -- 8< --
If neither of the above brings back the sound, I must have looked at a wrong place.
thanks,
Takashi
linux-stable-mirror@lists.linaro.org