Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Benjamin Berg <benjamin@sipsolutions.net>
Cc: linux-sound@vger.kernel.org, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>
Subject: Re: [PATCH] ALSA: hda/realtek: Enable speakers on further Samsung Galaxy Book2 Pro
Date: Thu, 27 Mar 2025 10:05:38 +0100	[thread overview]
Message-ID: <87jz8a9731.wl-tiwai@suse.de> (raw)
In-Reply-To: <20250326201953.131948-1-benjamin@sipsolutions.net>

On Wed, 26 Mar 2025 21:19:53 +0100,
Benjamin Berg wrote:
> Note that I didn't really manage to test this directly. Trying to do a
> reconfigure resulted in a hang and I didn't figure out how to use the
> patch= option with a firmware file.
> However, the machine does work fine when configuring the two speakers
> from userspace, so I am confident that this patch is correct.

FYI, the equivalent can be achieved with model option, too.
e.g. passing model=144d:c870 will apply the same existing quirk as
SSID 144d:c870.  If your target is the secondary codec, pass like
"model=,144d:c870" instead.

> ---
>  sound/pci/hda/patch_realtek.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index c735f630ecb5..e4ea5ea5bb27 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -10758,6 +10758,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
>  	SND_PCI_QUIRK(0x144d, 0xca06, "Samsung Galaxy Book3 360 (NP730QFG)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),
>  	SND_PCI_QUIRK(0x144d, 0xc868, "Samsung Galaxy Book2 Pro (NP930XED)", ALC298_FIXUP_SAMSUNG_AMP),
>  	SND_PCI_QUIRK(0x144d, 0xc870, "Samsung Galaxy Book2 Pro (NP950XED)", ALC298_FIXUP_SAMSUNG_AMP_V2_2_AMPS),
> +	SND_PCI_QUIRK(0x144d, 0xc01d, "Samsung Galaxy Book2 Pro (NP950QED)", ALC298_FIXUP_SAMSUNG_AMP_V2_2_AMPS),
>  	SND_PCI_QUIRK(0x144d, 0xc872, "Samsung Galaxy Book2 Pro (NP950XEE)", ALC298_FIXUP_SAMSUNG_AMP_V2_2_AMPS),
>  	SND_PCI_QUIRK(0x144d, 0xc886, "Samsung Galaxy Book3 Pro (NP964XFG)", ALC298_FIXUP_SAMSUNG_AMP_V2_4_AMPS),
>  	SND_PCI_QUIRK(0x144d, 0xc1ca, "Samsung Galaxy Book3 Pro 360 (NP960QFG)", ALC298_FIXUP_SAMSUNG_AMP_V2_4_AMPS),

The table is sorted in PCI SSID order.  Could you try to put at the
right position?


thanks,

Takashi

  reply	other threads:[~2025-03-27  9:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-26 20:19 [PATCH] ALSA: hda/realtek: Enable speakers on further Samsung Galaxy Book2 Pro Benjamin Berg
2025-03-27  9:05 ` Takashi Iwai [this message]
2025-03-27  9:55   ` Benjamin Berg
2025-03-27 10:09     ` Takashi Iwai
2025-03-27 10:26       ` Benjamin Berg
2025-03-27 15:58         ` Takashi Iwai

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=87jz8a9731.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=benjamin@sipsolutions.net \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox