public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Ngon <ngon36201@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [REPORT] ALSA: hda/realtek: Fix silent/extremely quiet audio on HP Pavilion x360 (ALC295) with uninitialized SSID 103c:0000
Date: Thu, 05 Mar 2026 16:04:40 +0100	[thread overview]
Message-ID: <87seaewc53.wl-tiwai@suse.de> (raw)
In-Reply-To: <CAF2ktaXHsCKthq4nLWCXPzSdAtyopSrBrG3peQQ5cnxgfJS3XA@mail.gmail.com>

On Wed, 04 Mar 2026 06:33:18 +0100,
Ngon wrote:
> 
> Hi Takashi,
> 
> Thank you for your quick response! I have checked the Codec Subsystem
> ID as you suggested.
> 
> Good news: While the PCI SSID is indeed 103c:0000, the Codec SSID is valid:
> Codec: Realtek ALC295, Subsystem Id: 0x103c8486
> 
> I have attached the full output of alsa-info.sh --no-upload to this
> email for your review.
> 
> Regarding the fix, manually applying these verbs restores audio perfectly:
> 1. 0x20 SET_COEF_INDEX 0x07 - 0x7770
> 2. 0x20 SET_COEF_INDEX 0x0d - 0x3000
> 
> I would be very happy to test a patch using HDA_CODEC_QUIRK(0x103c,
> 0x8486, ...) if you can provide one.
> 
> Best regards,
> kemzsitink

Thanks.  I see now that your have set up model=alc295-hp-x360, so this
might be needed to be chained.

Below is a test fix patch.  Let me know whether this works.
When you test it, please drop extra options from your setup.


Takashi

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index 4c49f1195e1b..2f30d4ffeec6 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -3897,6 +3897,7 @@ enum {
 	ALC256_FIXUP_HUAWEI_MACH_WX9_PINS,
 	ALC298_FIXUP_HUAWEI_MBX_STEREO,
 	ALC295_FIXUP_HP_X360,
+	ALC295_FIXUP_HP_PAVILION_X360,
 	ALC221_FIXUP_HP_HEADSET_MIC,
 	ALC285_FIXUP_LENOVO_HEADPHONE_NOISE,
 	ALC295_FIXUP_HP_AUTO_MUTE,
@@ -5201,6 +5202,19 @@ static const struct hda_fixup alc269_fixups[] = {
 		.chained = true,
 		.chain_id = ALC269_FIXUP_HP_MUTE_LED_MIC3
 	},
+	[ALC295_FIXUP_HP_PAVILION_X360] = {
+		.type = HDA_FIXUP_VERBS,
+		.v.verbs = (const struct hda_verb[]) {
+			/* force amp gain and processing state */
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x07},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x7770},
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x0d},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x3000},
+			{}
+		},
+		.chained = true,
+		.chain_id = ALC295_FIXUP_HP_X360
+	},
 	[ALC221_FIXUP_HP_HEADSET_MIC] = {
 		.type = HDA_FIXUP_PINS,
 		.v.pins = (const struct hda_pintbl[]) {
@@ -6823,6 +6837,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x82c0, "HP G3 mini premium", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x103c, 0x83b9, "HP Spectre x360", ALC269_FIXUP_HP_MUTE_LED_MIC3),
 	SND_PCI_QUIRK(0x103c, 0x841c, "HP Pavilion 15-CK0xx", ALC269_FIXUP_HP_MUTE_LED_MIC3),
+	HDA_CODEC_QUIRK(0x103c, 0x8486, "HP Pavilion x360", ALC295_FIXUP_HP_PAVILION_X360),
 	SND_PCI_QUIRK(0x103c, 0x8497, "HP Envy x360", ALC269_FIXUP_HP_MUTE_LED_MIC3),
 	SND_PCI_QUIRK(0x103c, 0x84a6, "HP 250 G7 Notebook PC", ALC269_FIXUP_HP_LINE1_MIC1_LED),
 	SND_PCI_QUIRK(0x103c, 0x84ae, "HP 15-db0403ng", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),

      reply	other threads:[~2026-03-05 15:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-01  5:57 [REPORT] ALSA: hda/realtek: Fix silent/extremely quiet audio on HP Pavilion x360 (ALC295) with uninitialized SSID 103c:0000 Ngon
2026-03-03  9:38 ` Takashi Iwai
2026-03-04  5:33   ` Ngon
2026-03-05 15:04     ` 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=87seaewc53.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=ngon36201@gmail.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