Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #93990 > unrolled thread

Bug#1143500: Lenovo Legion Y9000X 2021 has no sound output through external speakers

Started byTj <tj.iam.tj@proton.me>
First post2026-09-03 10:20 +0200
Last post2026-09-22 23:00 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1143500: Lenovo Legion Y9000X 2021 has no sound output through external speakers Tj <tj.iam.tj@proton.me> - 2026-09-03 10:20 +0200
    Bug#1143500: Subject: Re: [PATCH] ALSA: hda/realtek: Add quirk for Legion Y9000X 2021 Tj <tj.iam.tj@proton.me> - 2026-09-06 23:10 +0200
      Bug#1143500: Subject: Re: [PATCH] ALSA: hda/realtek: Add quirk for Legion Y9000X 2021 Salvatore Bonaccorso <carnil@debian.org> - 2026-09-22 23:00 +0200

#93990 — Bug#1143500: Lenovo Legion Y9000X 2021 has no sound output through external speakers

FromTj <tj.iam.tj@proton.me>
Date2026-09-03 10:20 +0200
SubjectBug#1143500: Lenovo Legion Y9000X 2021 has no sound output through external speakers
Message-ID<NzaPT-eUHu-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

There are several very similar quirks for what look to be closely 
related models:

$ git grep -n ALC285_FIXUP_LEGION_Y9000X_SPEAKERS sound/hda/codecs
sound/hda/codecs/realtek/alc269.c:4148: ALC285_FIXUP_LEGION_Y9000X_SPEAKERS,
sound/hda/codecs/realtek/alc269.c:6238: 
[ALC285_FIXUP_LEGION_Y9000X_SPEAKERS] = {
sound/hda/codecs/realtek/alc269.c:7907: SND_PCI_QUIRK(0x17aa, 0x3824, 
"Legion Y9000X 2020", ALC285_FIXUP_LEGION_Y9000X_SPEAKERS),
sound/hda/codecs/realtek/alc269.c:7910: SND_PCI_QUIRK(0x17aa, 0x383d, 
"Legion Y9000X 2019", ALC285_FIXUP_LEGION_Y9000X_SPEAKERS),

The 2020 quirk originated in commit 8f4c90427a8f0ca0fcdd "ALSA: 
hda/realtek: Add quirk for Legion Y9000X 2020" that was introduced via 
the mailing-list

https://lore.kernel.org/all/20220105140856.4855-1-fbl718@163.com/

SND_PCI_QUIRK() macro needs the audio device sub-system ID. Although 
your bug report does not include that it is in the linked ALSA script 
report as "Subsystem: Lenovo Device [17aa:3811]":

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1f.3 Audio device [0403]: Intel Corporation Comet Lake PCH cAVS 
[8086:06c8] (prog-if 80 [HDA compatible with vendor specific extensions])
     Subsystem: Lenovo Device [17aa:3811]
01:00.1 Audio device [0403]: NVIDIA Corporation TU106 High Definition 
Audio Controller [10de:10f9] (rev a1) (prog-if 00 [HDA compatible])
     Subsystem: Lenovo Device [17aa:3801]


Unfortunately there is already a PCI quirk for that sub-system ID:

$ git grep -n '0x17aa, 0x3811' sound/hda/codecs/
sound/hda/codecs/realtek/alc269.c:8109: SND_PCI_QUIRK(0x17aa, 0x3811, 
"Legion S7 15IMH05", ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS),

Fortunately this issue is dealt with by using the HDA_CODEC_QUIRK() 
macro instead, that matches on the codec's sub-system ID instead. Your 
ALSA report shows it is "0x17aa3822":

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC287
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0287
Subsystem Id: 0x17aa3822
Revision Id: 0x100002


We should begin by hoping the quirk ALC285_FIXUP_LEGION_Y9000X_SPEAKERS 
will work for this device too.

If you are able to build a mainline kernel to test the attached patch, 
and it resolves the issue, the patch needs forwarding to the sub-system 
maintainers and mailing-list:

$ scripts/get_maintainer.pl sound/hda/codecs/realtek
Jaroslav Kysela <perex@perex.cz> (maintainer:SOUND)
Takashi Iwai <tiwai@suse.com> 
(maintainer:SOUND,commit_signer:165/167=99%,authored:10/167=6%)
Zhang Heng <zhangheng@kylinos.cn> 
(commit_signer:20/167=12%,authored:20/167=12%)
linux-sound@vger.kernel.org (open list:SOUND)
linux-kernel@vger.kernel.org (open list)

[toc] | [next] | [standalone]


#94020 — Bug#1143500: Subject: Re: [PATCH] ALSA: hda/realtek: Add quirk for Legion Y9000X 2021

FromTj <tj.iam.tj@proton.me>
Date2026-09-06 23:10 +0200
SubjectBug#1143500: Subject: Re: [PATCH] ALSA: hda/realtek: Add quirk for Legion Y9000X 2021
Message-ID<NAshH-fDBA-1@gated-at.bofh.it>
In reply to#93990
On 05/09/2026 18:57, Salvatore Bonaccorso wrote:
> Hi Kaspar, hi Tj,
>
> On Sat, Sep 05, 2026 at 05:14:23PM +0000, Kaspar Choo wrote:
>> Hi,
>>
>> I have tested this patch on my Lenovo Legion Y9000X 2021 (ALC287, subsystem 0x17aa3822) and can confirm that it fixes the internal speaker issue.
>>
>> For reference:
>> - Kernel version: 6.12.107 (self-built with this patch)
>> - Codec: Realtek ALC287
>> - Subsystem ID: 0x17aa3822
>> - dmesg shows the quirk is successfully applied.
>>
>> Tested playback and the speakers work as expected.
>>
>> Therefore, please feel free to add my:
>> Tested-by: kaspar_choo@outlook.com
>>
>> If there are any other tests needed, let me know.
>>
>> Thanks for the patch!
> Thanks for testing it. Tj, are you going to forward the patch properly
> to upstream? If so can you please add as well a Closes:
> https://bugs.debian.org/1143500 reference please so that we notice
> once it lands in mainline and stable series (ideally), and we can pick
> it up and close this bug?
Yes, I'll get to it at some point in the coming week.

[toc] | [prev] | [next] | [standalone]


#94175 — Bug#1143500: Subject: Re: [PATCH] ALSA: hda/realtek: Add quirk for Legion Y9000X 2021

FromSalvatore Bonaccorso <carnil@debian.org>
Date2026-09-22 23:00 +0200
SubjectBug#1143500: Subject: Re: [PATCH] ALSA: hda/realtek: Add quirk for Legion Y9000X 2021
Message-ID<NGfKN-1cww-3@gated-at.bofh.it>
In reply to#94020
Hi Tj,

On Sun, Sep 06, 2026 at 09:03:03PM +0000, Tj wrote:
> On 05/09/2026 18:57, Salvatore Bonaccorso wrote:
> > Hi Kaspar, hi Tj,
> >
> > On Sat, Sep 05, 2026 at 05:14:23PM +0000, Kaspar Choo wrote:
> >> Hi,
> >>
> >> I have tested this patch on my Lenovo Legion Y9000X 2021 (ALC287, subsystem 0x17aa3822) and can confirm that it fixes the internal speaker issue.
> >>
> >> For reference:
> >> - Kernel version: 6.12.107 (self-built with this patch)
> >> - Codec: Realtek ALC287
> >> - Subsystem ID: 0x17aa3822
> >> - dmesg shows the quirk is successfully applied.
> >>
> >> Tested playback and the speakers work as expected.
> >>
> >> Therefore, please feel free to add my:
> >> Tested-by: kaspar_choo@outlook.com
> >>
> >> If there are any other tests needed, let me know.
> >>
> >> Thanks for the patch!
> > Thanks for testing it. Tj, are you going to forward the patch properly
> > to upstream? If so can you please add as well a Closes:
> > https://bugs.debian.org/1143500 reference please so that we notice
> > once it lands in mainline and stable series (ideally), and we can pick
> > it up and close this bug?
> Yes, I'll get to it at some point in the coming week.

Have you already posted your patch? If so can you report back the
reference?

Regards,
Salvatore

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web