From: Takashi Iwai <tiwai@suse.de>
To: Matej Sochan <matej.sochan@gmail.com>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Eric Naim <dnaim@cachyos.org>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/realtek: Fix silent speakers on Lenovo Legion S7 15IMH05
Date: Thu, 08 Oct 2026 09:01:24 +0200 [thread overview]
Message-ID: <87v77c65h7.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261007-legion-s7-v1-1-8ea7fb7ee766@gmail.com>
On Wed, 07 Oct 2026 22:37:46 +0200,
Matej Sochan wrote:
>
> The speakers on the Legion S7 15IMH05 (PCI SSID 17aa:3811, ALC287) stay
> silent after a cold boot with the current quirk, which applies
> ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS. They only start working after a
> suspend/resume cycle.
>
> The amplifier setup is sent through COEF 0x24/0x26 on NID 0x20. On this
> machine the first pass of that sequence appears to only wake the
> amplifiers. Sending the identical sequence a second time makes both
> speakers work, provided the second write comes a few milliseconds after
> the first: back-to-back writes leave the speakers silent, a 7 ms gap
> makes only the right speaker work, and 8 ms or more is reliable. A dump
> of all COEF registers of NID 0x20 taken before and after the second
> write shows no difference.
>
> Add a dedicated fixup that writes the sequence, waits 20 ms to keep a
> margin over the measured minimum, and writes it again on every codec
> init. It chains to the same AUTOMUTE fixup as before. To share the
> sequence, move the verbs of ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS into a
> named array; this has no functional change for the other users of that
> fixup.
>
> Fixes: 67f4c61a73e9 ("ALSA: hda/realtek: Add quirk for Legion S7 15IMH")
> Cc: stable@vger.kernel.org
> Link: https://github.com/CachyOS/linux-cachyos/issues/792
> Signed-off-by: Matej Sochan <matej.sochan@gmail.com>
Applied to for-next branch now. Thanks.
Takashi
prev parent reply other threads:[~2026-10-08 7:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 20:37 [PATCH] ALSA: hda/realtek: Fix silent speakers on Lenovo Legion S7 15IMH05 Matej Sochan
2026-10-08 7:01 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v77c65h7.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=dnaim@cachyos.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=matej.sochan@gmail.com \
--cc=perex@perex.cz \
--cc=stable@vger.kernel.org \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.